@constructive-sdk/cli 0.25.9 → 0.25.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/admin/cli/commands/app-admin-grant.js +3 -1
  2. package/admin/cli/commands/app-grant.js +3 -1
  3. package/admin/cli/commands/app-invite.js +44 -0
  4. package/admin/cli/commands/app-owner-grant.js +3 -1
  5. package/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
  6. package/admin/cli/commands/app-permission-default-grant.js +286 -0
  7. package/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
  8. package/admin/cli/commands/app-permission-default-permission.js +242 -0
  9. package/admin/cli/commands/org-admin-grant.js +3 -1
  10. package/admin/cli/commands/org-grant.js +3 -1
  11. package/admin/cli/commands/org-invite.js +44 -0
  12. package/admin/cli/commands/org-owner-grant.js +3 -1
  13. package/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
  14. package/admin/cli/commands/org-permission-default-grant.js +306 -0
  15. package/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
  16. package/admin/cli/commands/org-permission-default-permission.js +262 -0
  17. package/admin/cli/commands.js +11 -3
  18. package/admin/cli/executor.d.ts +5 -1
  19. package/admin/orm/index.d.ts +10 -2
  20. package/admin/orm/index.js +10 -2
  21. package/admin/orm/input-types.d.ts +1611 -230
  22. package/admin/orm/input-types.js +9 -1
  23. package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  24. package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
  25. package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  26. package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
  27. package/admin/orm/models/index.d.ts +5 -1
  28. package/admin/orm/models/index.js +11 -3
  29. package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  30. package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
  31. package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  32. package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
  33. package/agent/cli/commands/agent-message.js +34 -12
  34. package/agent/cli/commands/agent-task.js +12 -12
  35. package/agent/cli/embedder.d.ts +5 -0
  36. package/agent/cli/embedder.js +46 -9
  37. package/agent/orm/input-types.d.ts +289 -47
  38. package/agent/orm/input-types.js +1 -0
  39. package/api/cli/commands/check-constraint.js +0 -22
  40. package/api/cli/commands/composite-type.d.ts +8 -0
  41. package/api/cli/commands/composite-type.js +424 -0
  42. package/api/cli/commands/enum.js +0 -22
  43. package/api/cli/commands/field.js +0 -22
  44. package/api/cli/commands/foreign-key-constraint.js +0 -22
  45. package/api/cli/commands/index.js +0 -22
  46. package/api/cli/commands/policy.js +0 -22
  47. package/api/cli/commands/primary-key-constraint.js +0 -22
  48. package/api/cli/commands/schema.js +0 -22
  49. package/api/cli/commands/spatial-relation.js +0 -22
  50. package/api/cli/commands/table.js +6 -28
  51. package/api/cli/commands/trigger.js +0 -22
  52. package/api/cli/commands/unique-constraint.js +0 -22
  53. package/api/cli/commands/view-table.js +22 -0
  54. package/api/cli/commands/view.js +0 -22
  55. package/api/cli/commands.js +3 -1
  56. package/api/cli/executor.d.ts +1 -0
  57. package/api/orm/index.d.ts +2 -0
  58. package/api/orm/index.js +2 -0
  59. package/api/orm/input-types.d.ts +1064 -125
  60. package/api/orm/input-types.js +3 -0
  61. package/api/orm/models/compositeType.d.ts +54 -0
  62. package/api/orm/models/compositeType.js +104 -0
  63. package/api/orm/models/index.d.ts +1 -0
  64. package/api/orm/models/index.js +3 -1
  65. package/auth/cli/commands/link-identity.d.ts +8 -0
  66. package/auth/cli/commands/link-identity.js +36 -0
  67. package/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
  68. package/auth/cli/commands/sign-in-sms-otp.js +36 -0
  69. package/auth/cli/commands/sign-up-sms.d.ts +8 -0
  70. package/auth/cli/commands/sign-up-sms.js +36 -0
  71. package/auth/cli/commands.js +7 -1
  72. package/auth/cli/executor.d.ts +15 -0
  73. package/auth/orm/index.d.ts +15 -0
  74. package/auth/orm/input-types.d.ts +197 -1
  75. package/auth/orm/mutation/index.d.ts +25 -1
  76. package/auth/orm/mutation/index.js +36 -0
  77. package/esm/admin/cli/commands/app-admin-grant.js +3 -1
  78. package/esm/admin/cli/commands/app-grant.js +3 -1
  79. package/esm/admin/cli/commands/app-invite.js +44 -0
  80. package/esm/admin/cli/commands/app-owner-grant.js +3 -1
  81. package/esm/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
  82. package/esm/admin/cli/commands/app-permission-default-grant.js +284 -0
  83. package/esm/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
  84. package/esm/admin/cli/commands/app-permission-default-permission.js +240 -0
  85. package/esm/admin/cli/commands/org-admin-grant.js +3 -1
  86. package/esm/admin/cli/commands/org-grant.js +3 -1
  87. package/esm/admin/cli/commands/org-invite.js +44 -0
  88. package/esm/admin/cli/commands/org-owner-grant.js +3 -1
  89. package/esm/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
  90. package/esm/admin/cli/commands/org-permission-default-grant.js +304 -0
  91. package/esm/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
  92. package/esm/admin/cli/commands/org-permission-default-permission.js +260 -0
  93. package/esm/admin/cli/commands.js +11 -3
  94. package/esm/admin/cli/executor.d.ts +5 -1
  95. package/esm/admin/orm/index.d.ts +10 -2
  96. package/esm/admin/orm/index.js +10 -2
  97. package/esm/admin/orm/input-types.d.ts +1611 -230
  98. package/esm/admin/orm/input-types.js +9 -1
  99. package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  100. package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
  101. package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  102. package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
  103. package/esm/admin/orm/models/index.d.ts +5 -1
  104. package/esm/admin/orm/models/index.js +5 -1
  105. package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  106. package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
  107. package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  108. package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
  109. package/esm/agent/cli/commands/agent-message.js +34 -12
  110. package/esm/agent/cli/commands/agent-task.js +12 -12
  111. package/esm/agent/cli/embedder.d.ts +5 -0
  112. package/esm/agent/cli/embedder.js +10 -2
  113. package/esm/agent/orm/input-types.d.ts +289 -47
  114. package/esm/agent/orm/input-types.js +1 -0
  115. package/esm/api/cli/commands/check-constraint.js +0 -22
  116. package/esm/api/cli/commands/composite-type.d.ts +8 -0
  117. package/esm/api/cli/commands/composite-type.js +422 -0
  118. package/esm/api/cli/commands/enum.js +0 -22
  119. package/esm/api/cli/commands/field.js +0 -22
  120. package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
  121. package/esm/api/cli/commands/index.js +0 -22
  122. package/esm/api/cli/commands/policy.js +0 -22
  123. package/esm/api/cli/commands/primary-key-constraint.js +0 -22
  124. package/esm/api/cli/commands/schema.js +0 -22
  125. package/esm/api/cli/commands/spatial-relation.js +0 -22
  126. package/esm/api/cli/commands/table.js +6 -28
  127. package/esm/api/cli/commands/trigger.js +0 -22
  128. package/esm/api/cli/commands/unique-constraint.js +0 -22
  129. package/esm/api/cli/commands/view-table.js +22 -0
  130. package/esm/api/cli/commands/view.js +0 -22
  131. package/esm/api/cli/commands.js +3 -1
  132. package/esm/api/cli/executor.d.ts +1 -0
  133. package/esm/api/orm/index.d.ts +2 -0
  134. package/esm/api/orm/index.js +2 -0
  135. package/esm/api/orm/input-types.d.ts +1064 -125
  136. package/esm/api/orm/input-types.js +3 -0
  137. package/esm/api/orm/models/compositeType.d.ts +54 -0
  138. package/esm/api/orm/models/compositeType.js +100 -0
  139. package/esm/api/orm/models/index.d.ts +1 -0
  140. package/esm/api/orm/models/index.js +1 -0
  141. package/esm/auth/cli/commands/link-identity.d.ts +8 -0
  142. package/esm/auth/cli/commands/link-identity.js +34 -0
  143. package/esm/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
  144. package/esm/auth/cli/commands/sign-in-sms-otp.js +34 -0
  145. package/esm/auth/cli/commands/sign-up-sms.d.ts +8 -0
  146. package/esm/auth/cli/commands/sign-up-sms.js +34 -0
  147. package/esm/auth/cli/commands.js +7 -1
  148. package/esm/auth/cli/executor.d.ts +15 -0
  149. package/esm/auth/orm/index.d.ts +15 -0
  150. package/esm/auth/orm/input-types.d.ts +197 -1
  151. package/esm/auth/orm/mutation/index.d.ts +25 -1
  152. package/esm/auth/orm/mutation/index.js +36 -0
  153. package/esm/modules/cli/commands/agent-module.js +88 -0
  154. package/esm/modules/cli/commands/billing-module.js +66 -0
  155. package/esm/modules/cli/commands/compute-log-module.js +44 -0
  156. package/esm/modules/cli/commands/config-secrets-module.js +44 -0
  157. package/esm/modules/cli/commands/db-usage-module.js +66 -0
  158. package/esm/modules/cli/commands/entity-type-provision.js +0 -44
  159. package/esm/modules/cli/commands/events-module.js +66 -0
  160. package/esm/modules/cli/commands/function-invocation-module.d.ts +8 -0
  161. package/esm/modules/cli/commands/function-invocation-module.js +580 -0
  162. package/esm/modules/cli/commands/function-module.js +22 -198
  163. package/esm/modules/cli/commands/graph-module.js +22 -0
  164. package/esm/modules/cli/commands/hierarchy-module.js +22 -0
  165. package/esm/modules/cli/commands/identity-providers-module.js +44 -0
  166. package/esm/modules/cli/commands/inference-log-module.js +44 -0
  167. package/esm/modules/cli/commands/invites-module.js +44 -0
  168. package/esm/modules/cli/commands/limits-module.js +44 -0
  169. package/esm/modules/cli/commands/memberships-module.js +88 -0
  170. package/esm/modules/cli/commands/merkle-store-module.js +22 -0
  171. package/esm/modules/cli/commands/namespace-module.js +22 -0
  172. package/esm/modules/cli/commands/notifications-module.js +88 -0
  173. package/esm/modules/cli/commands/permissions-module.js +44 -0
  174. package/esm/modules/cli/commands/plans-module.js +44 -0
  175. package/esm/modules/cli/commands/profiles-module.js +44 -0
  176. package/esm/modules/cli/commands/rate-limit-meters-module.js +66 -0
  177. package/esm/modules/cli/commands/storage-log-module.js +44 -0
  178. package/esm/modules/cli/commands/storage-module.js +66 -0
  179. package/esm/modules/cli/commands/transfer-log-module.js +44 -0
  180. package/esm/modules/cli/commands.js +29 -27
  181. package/esm/modules/cli/executor.d.ts +14 -13
  182. package/esm/modules/orm/index.d.ts +28 -26
  183. package/esm/modules/orm/index.js +28 -26
  184. package/esm/modules/orm/input-types.d.ts +4485 -2514
  185. package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
  186. package/esm/modules/orm/models/functionInvocationModule.js +100 -0
  187. package/esm/modules/orm/models/index.d.ts +14 -13
  188. package/esm/modules/orm/models/index.js +14 -13
  189. package/esm/objects/orm/input-types.d.ts +62 -0
  190. package/esm/usage/orm/input-types.d.ts +314 -19
  191. package/modules/cli/commands/agent-module.js +88 -0
  192. package/modules/cli/commands/billing-module.js +66 -0
  193. package/modules/cli/commands/compute-log-module.js +44 -0
  194. package/modules/cli/commands/config-secrets-module.js +44 -0
  195. package/modules/cli/commands/db-usage-module.js +66 -0
  196. package/modules/cli/commands/entity-type-provision.js +0 -44
  197. package/modules/cli/commands/events-module.js +66 -0
  198. package/modules/cli/commands/function-invocation-module.d.ts +8 -0
  199. package/modules/cli/commands/function-invocation-module.js +582 -0
  200. package/modules/cli/commands/function-module.js +22 -198
  201. package/modules/cli/commands/graph-module.js +22 -0
  202. package/modules/cli/commands/hierarchy-module.js +22 -0
  203. package/modules/cli/commands/identity-providers-module.js +44 -0
  204. package/modules/cli/commands/inference-log-module.js +44 -0
  205. package/modules/cli/commands/invites-module.js +44 -0
  206. package/modules/cli/commands/limits-module.js +44 -0
  207. package/modules/cli/commands/memberships-module.js +88 -0
  208. package/modules/cli/commands/merkle-store-module.js +22 -0
  209. package/modules/cli/commands/namespace-module.js +22 -0
  210. package/modules/cli/commands/notifications-module.js +88 -0
  211. package/modules/cli/commands/permissions-module.js +44 -0
  212. package/modules/cli/commands/plans-module.js +44 -0
  213. package/modules/cli/commands/profiles-module.js +44 -0
  214. package/modules/cli/commands/rate-limit-meters-module.js +66 -0
  215. package/modules/cli/commands/storage-log-module.js +44 -0
  216. package/modules/cli/commands/storage-module.js +66 -0
  217. package/modules/cli/commands/transfer-log-module.js +44 -0
  218. package/modules/cli/commands.js +29 -27
  219. package/modules/cli/executor.d.ts +14 -13
  220. package/modules/orm/index.d.ts +28 -26
  221. package/modules/orm/index.js +28 -26
  222. package/modules/orm/input-types.d.ts +4485 -2514
  223. package/modules/orm/models/functionInvocationModule.d.ts +54 -0
  224. package/modules/orm/models/functionInvocationModule.js +104 -0
  225. package/modules/orm/models/index.d.ts +14 -13
  226. package/modules/orm/models/index.js +30 -28
  227. package/objects/orm/input-types.d.ts +62 -0
  228. package/package.json +4 -4
  229. package/usage/orm/input-types.d.ts +314 -19
@@ -0,0 +1,54 @@
1
+ /**
2
+ * FunctionInvocationModule model for ORM client
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { FunctionInvocationModuleWithRelations, FunctionInvocationModuleSelect, FunctionInvocationModuleFilter, FunctionInvocationModuleOrderBy, CreateFunctionInvocationModuleInput, FunctionInvocationModulePatch } from '../input-types';
10
+ export declare class FunctionInvocationModuleModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends FunctionInvocationModuleSelect>(args: FindManyArgs<S, FunctionInvocationModuleFilter, FunctionInvocationModuleOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, FunctionInvocationModuleSelect>): QueryBuilder<{
16
+ functionInvocationModules: ConnectionResult<InferSelectResult<FunctionInvocationModuleWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends FunctionInvocationModuleSelect>(args: FindFirstArgs<S, FunctionInvocationModuleFilter, FunctionInvocationModuleOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, FunctionInvocationModuleSelect>): QueryBuilder<{
21
+ functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends FunctionInvocationModuleSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, FunctionInvocationModuleSelect>): QueryBuilder<{
27
+ functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S> | null;
28
+ }>;
29
+ create<S extends FunctionInvocationModuleSelect>(args: CreateArgs<S, CreateFunctionInvocationModuleInput['functionInvocationModule']> & {
30
+ select: S;
31
+ } & StrictSelect<S, FunctionInvocationModuleSelect>): QueryBuilder<{
32
+ createFunctionInvocationModule: {
33
+ functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends FunctionInvocationModuleSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, FunctionInvocationModulePatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, FunctionInvocationModuleSelect>): QueryBuilder<{
41
+ updateFunctionInvocationModule: {
42
+ functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends FunctionInvocationModuleSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, FunctionInvocationModuleSelect>): QueryBuilder<{
50
+ deleteFunctionInvocationModule: {
51
+ functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -0,0 +1,100 @@
1
+ import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
2
+ import { connectionFieldsMap } from '../input-types';
3
+ export class FunctionInvocationModuleModel {
4
+ client;
5
+ constructor(client) {
6
+ this.client = client;
7
+ }
8
+ findMany(args) {
9
+ const { document, variables } = buildFindManyDocument('FunctionInvocationModule', 'functionInvocationModules', args.select, {
10
+ where: args?.where,
11
+ orderBy: args?.orderBy,
12
+ first: args?.first,
13
+ last: args?.last,
14
+ after: args?.after,
15
+ before: args?.before,
16
+ offset: args?.offset,
17
+ }, 'FunctionInvocationModuleFilter', 'FunctionInvocationModuleOrderBy', connectionFieldsMap);
18
+ return new QueryBuilder({
19
+ client: this.client,
20
+ operation: 'query',
21
+ operationName: 'FunctionInvocationModule',
22
+ fieldName: 'functionInvocationModules',
23
+ document,
24
+ variables,
25
+ });
26
+ }
27
+ findFirst(args) {
28
+ const { document, variables } = buildFindFirstDocument('FunctionInvocationModule', 'functionInvocationModules', args.select, {
29
+ where: args?.where,
30
+ orderBy: args?.orderBy,
31
+ }, 'FunctionInvocationModuleFilter', 'FunctionInvocationModuleOrderBy', connectionFieldsMap);
32
+ return new QueryBuilder({
33
+ client: this.client,
34
+ operation: 'query',
35
+ operationName: 'FunctionInvocationModule',
36
+ fieldName: 'functionInvocationModule',
37
+ document,
38
+ variables,
39
+ transform: (data) => ({
40
+ functionInvocationModule: data.functionInvocationModules?.nodes?.[0] ?? null,
41
+ }),
42
+ });
43
+ }
44
+ findOne(args) {
45
+ const { document, variables } = buildFindManyDocument('FunctionInvocationModule', 'functionInvocationModules', args.select, {
46
+ where: {
47
+ id: {
48
+ equalTo: args.id,
49
+ },
50
+ },
51
+ first: 1,
52
+ }, 'FunctionInvocationModuleFilter', 'FunctionInvocationModuleOrderBy', connectionFieldsMap);
53
+ return new QueryBuilder({
54
+ client: this.client,
55
+ operation: 'query',
56
+ operationName: 'FunctionInvocationModule',
57
+ fieldName: 'functionInvocationModule',
58
+ document,
59
+ variables,
60
+ transform: (data) => ({
61
+ functionInvocationModule: data.functionInvocationModules?.nodes?.[0] ?? null,
62
+ }),
63
+ });
64
+ }
65
+ create(args) {
66
+ const { document, variables } = buildCreateDocument('FunctionInvocationModule', 'createFunctionInvocationModule', 'functionInvocationModule', args.select, args.data, 'CreateFunctionInvocationModuleInput', connectionFieldsMap);
67
+ return new QueryBuilder({
68
+ client: this.client,
69
+ operation: 'mutation',
70
+ operationName: 'FunctionInvocationModule',
71
+ fieldName: 'createFunctionInvocationModule',
72
+ document,
73
+ variables,
74
+ });
75
+ }
76
+ update(args) {
77
+ const { document, variables } = buildUpdateByPkDocument('FunctionInvocationModule', 'updateFunctionInvocationModule', 'functionInvocationModule', args.select, args.where.id, args.data, 'UpdateFunctionInvocationModuleInput', 'id', 'functionInvocationModulePatch', connectionFieldsMap);
78
+ return new QueryBuilder({
79
+ client: this.client,
80
+ operation: 'mutation',
81
+ operationName: 'FunctionInvocationModule',
82
+ fieldName: 'updateFunctionInvocationModule',
83
+ document,
84
+ variables,
85
+ });
86
+ }
87
+ delete(args) {
88
+ const { document, variables } = buildDeleteByPkDocument('FunctionInvocationModule', 'deleteFunctionInvocationModule', 'functionInvocationModule', {
89
+ id: args.where.id,
90
+ }, 'DeleteFunctionInvocationModuleInput', args.select, connectionFieldsMap);
91
+ return new QueryBuilder({
92
+ client: this.client,
93
+ operation: 'mutation',
94
+ operationName: 'FunctionInvocationModule',
95
+ fieldName: 'deleteFunctionInvocationModule',
96
+ document,
97
+ variables,
98
+ });
99
+ }
100
+ }
@@ -20,42 +20,43 @@ export { RateLimitsModuleModel } from './rateLimitsModule';
20
20
  export { UsersModuleModel } from './usersModule';
21
21
  export { WebauthnCredentialsModuleModel } from './webauthnCredentialsModule';
22
22
  export { CryptoAddressesModuleModel } from './cryptoAddressesModule';
23
- export { IdentityProvidersModuleModel } from './identityProvidersModule';
24
23
  export { DenormalizedTableFieldModel } from './denormalizedTableField';
24
+ export { IdentityProvidersModuleModel } from './identityProvidersModule';
25
25
  export { RlsModuleModel } from './rlsModule';
26
26
  export { BlueprintModel } from './blueprint';
27
27
  export { BlueprintTemplateModel } from './blueprintTemplate';
28
28
  export { BlueprintConstructionModel } from './blueprintConstruction';
29
29
  export { CryptoAuthModuleModel } from './cryptoAuthModule';
30
- export { RateLimitMetersModuleModel } from './rateLimitMetersModule';
31
30
  export { SessionsModuleModel } from './sessionsModule';
32
- export { ConfigSecretsModuleModel } from './configSecretsModule';
31
+ export { SecureTableProvisionModel } from './secureTableProvision';
33
32
  export { MerkleStoreModuleModel } from './merkleStoreModule';
34
33
  export { GraphModuleModel } from './graphModule';
35
- export { SecureTableProvisionModel } from './secureTableProvision';
36
- export { InvitesModuleModel } from './invitesModule';
37
34
  export { DatabaseProvisionModuleModel } from './databaseProvisionModule';
38
- export { NamespaceModuleModel } from './namespaceModule';
35
+ export { ConfigSecretsModuleModel } from './configSecretsModule';
36
+ export { RateLimitMetersModuleModel } from './rateLimitMetersModule';
39
37
  export { RealtimeModuleModel } from './realtimeModule';
40
38
  export { WebauthnAuthModuleModel } from './webauthnAuthModule';
39
+ export { FunctionInvocationModuleModel } from './functionInvocationModule';
40
+ export { FunctionModuleModel } from './functionModule';
41
+ export { InvitesModuleModel } from './invitesModule';
42
+ export { NamespaceModuleModel } from './namespaceModule';
41
43
  export { ComputeLogModuleModel } from './computeLogModule';
42
44
  export { InferenceLogModuleModel } from './inferenceLogModule';
43
45
  export { StorageLogModuleModel } from './storageLogModule';
44
46
  export { TransferLogModuleModel } from './transferLogModule';
45
- export { DbUsageModuleModel } from './dbUsageModule';
46
- export { NotificationsModuleModel } from './notificationsModule';
47
47
  export { PlansModuleModel } from './plansModule';
48
- export { HierarchyModuleModel } from './hierarchyModule';
49
- export { BillingModuleModel } from './billingModule';
50
48
  export { BillingProviderModuleModel } from './billingProviderModule';
51
- export { ProfilesModuleModel } from './profilesModule';
49
+ export { DbUsageModuleModel } from './dbUsageModule';
50
+ export { HierarchyModuleModel } from './hierarchyModule';
52
51
  export { PermissionsModuleModel } from './permissionsModule';
52
+ export { NotificationsModuleModel } from './notificationsModule';
53
+ export { ProfilesModuleModel } from './profilesModule';
54
+ export { BillingModuleModel } from './billingModule';
53
55
  export { RelationProvisionModel } from './relationProvision';
54
- export { FunctionModuleModel } from './functionModule';
55
56
  export { UserAuthModuleModel } from './userAuthModule';
56
57
  export { AgentModuleModel } from './agentModule';
57
58
  export { LimitsModuleModel } from './limitsModule';
58
59
  export { MembershipsModuleModel } from './membershipsModule';
60
+ export { EntityTypeProvisionModel } from './entityTypeProvision';
59
61
  export { StorageModuleModel } from './storageModule';
60
62
  export { EventsModuleModel } from './eventsModule';
61
- export { EntityTypeProvisionModel } from './entityTypeProvision';
@@ -20,42 +20,43 @@ export { RateLimitsModuleModel } from './rateLimitsModule';
20
20
  export { UsersModuleModel } from './usersModule';
21
21
  export { WebauthnCredentialsModuleModel } from './webauthnCredentialsModule';
22
22
  export { CryptoAddressesModuleModel } from './cryptoAddressesModule';
23
- export { IdentityProvidersModuleModel } from './identityProvidersModule';
24
23
  export { DenormalizedTableFieldModel } from './denormalizedTableField';
24
+ export { IdentityProvidersModuleModel } from './identityProvidersModule';
25
25
  export { RlsModuleModel } from './rlsModule';
26
26
  export { BlueprintModel } from './blueprint';
27
27
  export { BlueprintTemplateModel } from './blueprintTemplate';
28
28
  export { BlueprintConstructionModel } from './blueprintConstruction';
29
29
  export { CryptoAuthModuleModel } from './cryptoAuthModule';
30
- export { RateLimitMetersModuleModel } from './rateLimitMetersModule';
31
30
  export { SessionsModuleModel } from './sessionsModule';
32
- export { ConfigSecretsModuleModel } from './configSecretsModule';
31
+ export { SecureTableProvisionModel } from './secureTableProvision';
33
32
  export { MerkleStoreModuleModel } from './merkleStoreModule';
34
33
  export { GraphModuleModel } from './graphModule';
35
- export { SecureTableProvisionModel } from './secureTableProvision';
36
- export { InvitesModuleModel } from './invitesModule';
37
34
  export { DatabaseProvisionModuleModel } from './databaseProvisionModule';
38
- export { NamespaceModuleModel } from './namespaceModule';
35
+ export { ConfigSecretsModuleModel } from './configSecretsModule';
36
+ export { RateLimitMetersModuleModel } from './rateLimitMetersModule';
39
37
  export { RealtimeModuleModel } from './realtimeModule';
40
38
  export { WebauthnAuthModuleModel } from './webauthnAuthModule';
39
+ export { FunctionInvocationModuleModel } from './functionInvocationModule';
40
+ export { FunctionModuleModel } from './functionModule';
41
+ export { InvitesModuleModel } from './invitesModule';
42
+ export { NamespaceModuleModel } from './namespaceModule';
41
43
  export { ComputeLogModuleModel } from './computeLogModule';
42
44
  export { InferenceLogModuleModel } from './inferenceLogModule';
43
45
  export { StorageLogModuleModel } from './storageLogModule';
44
46
  export { TransferLogModuleModel } from './transferLogModule';
45
- export { DbUsageModuleModel } from './dbUsageModule';
46
- export { NotificationsModuleModel } from './notificationsModule';
47
47
  export { PlansModuleModel } from './plansModule';
48
- export { HierarchyModuleModel } from './hierarchyModule';
49
- export { BillingModuleModel } from './billingModule';
50
48
  export { BillingProviderModuleModel } from './billingProviderModule';
51
- export { ProfilesModuleModel } from './profilesModule';
49
+ export { DbUsageModuleModel } from './dbUsageModule';
50
+ export { HierarchyModuleModel } from './hierarchyModule';
52
51
  export { PermissionsModuleModel } from './permissionsModule';
52
+ export { NotificationsModuleModel } from './notificationsModule';
53
+ export { ProfilesModuleModel } from './profilesModule';
54
+ export { BillingModuleModel } from './billingModule';
53
55
  export { RelationProvisionModel } from './relationProvision';
54
- export { FunctionModuleModel } from './functionModule';
55
56
  export { UserAuthModuleModel } from './userAuthModule';
56
57
  export { AgentModuleModel } from './agentModule';
57
58
  export { LimitsModuleModel } from './limitsModule';
58
59
  export { MembershipsModuleModel } from './membershipsModule';
60
+ export { EntityTypeProvisionModel } from './entityTypeProvision';
59
61
  export { StorageModuleModel } from './storageModule';
60
62
  export { EventsModuleModel } from './eventsModule';
61
- export { EntityTypeProvisionModel } from './entityTypeProvision';
@@ -605,6 +605,68 @@ export interface ProvisionBucketInput {
605
605
  */
606
606
  ownerId?: string;
607
607
  }
608
+ /** An input for mutations affecting `Ref` */
609
+ export interface RefInput {
610
+ /** Unique ref identifier */
611
+ id?: string;
612
+ /** Ref name (e.g. HEAD, main) */
613
+ name: string;
614
+ /** Database scope for multi-tenant isolation */
615
+ databaseId: string;
616
+ /** Store this ref belongs to */
617
+ storeId: string;
618
+ /** Commit this ref points to */
619
+ commitId?: string;
620
+ }
621
+ /** An input for mutations affecting `Store` */
622
+ export interface StoreInput {
623
+ /** Unique store identifier */
624
+ id?: string;
625
+ /** Human-readable store name */
626
+ name: string;
627
+ /** Database scope for multi-tenant isolation */
628
+ databaseId: string;
629
+ /** Current root object hash of this store */
630
+ hash?: string;
631
+ /** Timestamp of store creation */
632
+ createdAt?: string;
633
+ }
634
+ /** An input for mutations affecting `Object` */
635
+ export interface ObjectInput {
636
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
637
+ id: string;
638
+ /** Database scope for multi-tenant isolation */
639
+ databaseId: string;
640
+ /** Ordered array of child object IDs */
641
+ kids?: string[];
642
+ /** Ordered array of child path names (parallel to kids) */
643
+ ktree?: string[];
644
+ /** Payload data for this object node */
645
+ data?: Record<string, unknown>;
646
+ /** Timestamp of object creation */
647
+ createdAt?: string;
648
+ }
649
+ /** An input for mutations affecting `Commit` */
650
+ export interface CommitInput {
651
+ /** Unique commit identifier */
652
+ id?: string;
653
+ /** Optional commit message */
654
+ message?: string;
655
+ /** Database scope for multi-tenant isolation */
656
+ databaseId: string;
657
+ /** Store this commit belongs to */
658
+ storeId: string;
659
+ /** Parent commit IDs (supports merge commits) */
660
+ parentIds?: string[];
661
+ /** User who authored the changes */
662
+ authorId?: string;
663
+ /** User who committed (may differ from author) */
664
+ committerId?: string;
665
+ /** Root object ID of the tree snapshot at this commit */
666
+ treeId?: string;
667
+ /** Commit timestamp */
668
+ date?: string;
669
+ }
608
670
  export interface InitEmptyRepoPayload {
609
671
  clientMutationId?: string | null;
610
672
  }