invercargill-sql-inversion.vapi 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. /* invercargill-sql-inversion.vapi generated by valac 0.56.19, do not modify. */
  2. [CCode (gir_namespace = "invercargill_sql_inversion", gir_version = "0.1")]
  3. namespace InvercargillSqlInversion {
  4. [CCode (cheader_filename = "invercargill-sql-inversion.h")]
  5. public class DatabaseConfigurator : GLib.Object {
  6. public DatabaseConfigurator ();
  7. public void add_entity<T> (owned InvercargillSqlInversion.EntityMapperFactoryFunc<T> configuration_func) throws GLib.Error;
  8. public void add_migration<T> (Inversion.TypedFactoryDelegate<T>? factory_func = null);
  9. public void add_projection<T> (owned InvercargillSqlInversion.ProjectionFactoryFunc<T> configuration_func) throws GLib.Error;
  10. public void migrate_on_startup ();
  11. public void register_connection (string connection_string, Inversion.Lifecycle? lifecycle = null) throws GLib.Error;
  12. }
  13. [CCode (cheader_filename = "invercargill-sql-inversion.h")]
  14. public class InversionTypeProvider : GLib.Object, InvercargillSql.Orm.TypeProvider {
  15. public InversionTypeProvider ();
  16. }
  17. [CCode (cheader_filename = "invercargill-sql-inversion.h")]
  18. public class MapperTypeInfo : GLib.Object {
  19. public MapperTypeInfo (GLib.Type type);
  20. public GLib.Type mapper_type { get; set; }
  21. }
  22. [CCode (cheader_filename = "invercargill-sql-inversion.h")]
  23. public class MigrationStartupService : GLib.Object {
  24. public MigrationStartupService ();
  25. }
  26. [CCode (cheader_filename = "invercargill-sql-inversion.h")]
  27. public delegate void EntityMapperFactoryFunc<T> (InvercargillSql.Orm.EntityMapperBuilder<T> cfg);
  28. [CCode (cheader_filename = "invercargill-sql-inversion.h")]
  29. public delegate void ProjectionFactoryFunc<T> (InvercargillSql.Orm.Projections.ProjectionBuilder<T> cfg) throws GLib.Error;
  30. }