@constructive-sdk/cli 0.29.1 → 0.29.2

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 (199) hide show
  1. package/api/cli/commands/api.js +44 -0
  2. package/api/cli/commands/check-constraint.js +0 -22
  3. package/api/cli/commands/composite-type.js +0 -22
  4. package/api/cli/commands/database-setting.js +44 -0
  5. package/api/cli/commands/domain.js +66 -0
  6. package/api/cli/commands/enum.js +0 -22
  7. package/api/cli/commands/field.js +0 -22
  8. package/api/cli/commands/foreign-key-constraint.js +0 -22
  9. package/api/cli/commands/index.js +0 -22
  10. package/api/cli/commands/policy.js +0 -22
  11. package/api/cli/commands/primary-key-constraint.js +0 -22
  12. package/api/cli/commands/schema.js +0 -22
  13. package/api/cli/commands/site.js +44 -0
  14. package/api/cli/commands/spatial-relation.js +0 -22
  15. package/api/cli/commands/table.js +0 -22
  16. package/api/cli/commands/trigger.js +0 -22
  17. package/api/cli/commands/unique-constraint.js +0 -22
  18. package/api/cli/commands/view.js +0 -22
  19. package/api/orm/input-types.d.ts +144 -171
  20. package/auth/cli/commands/create-org-api-key.d.ts +8 -0
  21. package/auth/cli/commands/create-org-api-key.js +36 -0
  22. package/auth/cli/commands/create-org-principal.d.ts +8 -0
  23. package/auth/cli/commands/create-org-principal.js +36 -0
  24. package/auth/cli/commands/delete-org-principal.d.ts +8 -0
  25. package/auth/cli/commands/delete-org-principal.js +36 -0
  26. package/auth/cli/commands/org-api-key-list.d.ts +8 -0
  27. package/auth/cli/commands/org-api-key-list.js +224 -0
  28. package/auth/cli/commands/principal-entity.d.ts +8 -0
  29. package/auth/cli/commands/principal-entity.js +282 -0
  30. package/auth/cli/commands/principal-scope-override.d.ts +8 -0
  31. package/auth/cli/commands/principal-scope-override.js +171 -0
  32. package/auth/cli/commands/principal.d.ts +8 -0
  33. package/auth/cli/commands/principal.js +171 -0
  34. package/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
  35. package/auth/cli/commands/revoke-org-api-key.js +36 -0
  36. package/auth/cli/commands.js +19 -3
  37. package/auth/cli/executor.d.ts +28 -4
  38. package/auth/orm/index.d.ts +32 -4
  39. package/auth/orm/index.js +8 -0
  40. package/auth/orm/input-types.d.ts +915 -145
  41. package/auth/orm/input-types.js +7 -0
  42. package/auth/orm/models/index.d.ts +4 -0
  43. package/auth/orm/models/index.js +9 -1
  44. package/auth/orm/models/orgApiKeyList.d.ts +36 -0
  45. package/auth/orm/models/orgApiKeyList.js +80 -0
  46. package/auth/orm/models/principal.d.ts +45 -0
  47. package/auth/orm/models/principal.js +93 -0
  48. package/auth/orm/models/principalEntity.d.ts +54 -0
  49. package/auth/orm/models/principalEntity.js +104 -0
  50. package/auth/orm/models/principalScopeOverride.d.ts +36 -0
  51. package/auth/orm/models/principalScopeOverride.js +80 -0
  52. package/auth/orm/mutation/index.d.ts +33 -1
  53. package/auth/orm/mutation/index.js +48 -0
  54. package/auth/orm/query/index.d.ts +4 -4
  55. package/auth/orm/query/index.js +7 -7
  56. package/compute/cli/commands/function-graph-execution.js +0 -22
  57. package/compute/cli/commands/function-graph.js +0 -20
  58. package/compute/cli/commands/platform-namespace-event.d.ts +8 -0
  59. package/compute/cli/commands/platform-namespace-event.js +510 -0
  60. package/compute/cli/commands/platform-namespace.d.ts +8 -0
  61. package/compute/cli/commands/platform-namespace.js +436 -0
  62. package/compute/cli/commands/resource-event.d.ts +8 -0
  63. package/compute/cli/commands/resource-event.js +356 -0
  64. package/compute/cli/commands/resource.d.ts +8 -0
  65. package/compute/cli/commands/resource.js +520 -0
  66. package/compute/cli/commands.js +13 -5
  67. package/compute/cli/executor.d.ts +10 -6
  68. package/compute/orm/index.d.ts +15 -7
  69. package/compute/orm/index.js +10 -2
  70. package/compute/orm/input-types.d.ts +1159 -221
  71. package/compute/orm/input-types.js +4 -0
  72. package/compute/orm/models/index.d.ts +5 -1
  73. package/compute/orm/models/index.js +11 -3
  74. package/compute/orm/models/platformNamespace.d.ts +54 -0
  75. package/compute/orm/models/platformNamespace.js +104 -0
  76. package/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
  77. package/compute/orm/models/platformNamespaceEvent.js +107 -0
  78. package/compute/orm/models/resource.d.ts +54 -0
  79. package/compute/orm/models/resource.js +104 -0
  80. package/compute/orm/models/resourceEvent.d.ts +56 -0
  81. package/compute/orm/models/resourceEvent.js +107 -0
  82. package/compute/orm/mutation/index.d.ts +9 -9
  83. package/compute/orm/mutation/index.js +12 -12
  84. package/esm/api/cli/commands/api.js +44 -0
  85. package/esm/api/cli/commands/check-constraint.js +0 -22
  86. package/esm/api/cli/commands/composite-type.js +0 -22
  87. package/esm/api/cli/commands/database-setting.js +44 -0
  88. package/esm/api/cli/commands/domain.js +66 -0
  89. package/esm/api/cli/commands/enum.js +0 -22
  90. package/esm/api/cli/commands/field.js +0 -22
  91. package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
  92. package/esm/api/cli/commands/index.js +0 -22
  93. package/esm/api/cli/commands/policy.js +0 -22
  94. package/esm/api/cli/commands/primary-key-constraint.js +0 -22
  95. package/esm/api/cli/commands/schema.js +0 -22
  96. package/esm/api/cli/commands/site.js +44 -0
  97. package/esm/api/cli/commands/spatial-relation.js +0 -22
  98. package/esm/api/cli/commands/table.js +0 -22
  99. package/esm/api/cli/commands/trigger.js +0 -22
  100. package/esm/api/cli/commands/unique-constraint.js +0 -22
  101. package/esm/api/cli/commands/view.js +0 -22
  102. package/esm/api/orm/input-types.d.ts +144 -171
  103. package/esm/auth/cli/commands/create-org-api-key.d.ts +8 -0
  104. package/esm/auth/cli/commands/create-org-api-key.js +34 -0
  105. package/esm/auth/cli/commands/create-org-principal.d.ts +8 -0
  106. package/esm/auth/cli/commands/create-org-principal.js +34 -0
  107. package/esm/auth/cli/commands/delete-org-principal.d.ts +8 -0
  108. package/esm/auth/cli/commands/delete-org-principal.js +34 -0
  109. package/esm/auth/cli/commands/org-api-key-list.d.ts +8 -0
  110. package/esm/auth/cli/commands/org-api-key-list.js +222 -0
  111. package/esm/auth/cli/commands/principal-entity.d.ts +8 -0
  112. package/esm/auth/cli/commands/principal-entity.js +280 -0
  113. package/esm/auth/cli/commands/principal-scope-override.d.ts +8 -0
  114. package/esm/auth/cli/commands/principal-scope-override.js +169 -0
  115. package/esm/auth/cli/commands/principal.d.ts +8 -0
  116. package/esm/auth/cli/commands/principal.js +169 -0
  117. package/esm/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
  118. package/esm/auth/cli/commands/revoke-org-api-key.js +34 -0
  119. package/esm/auth/cli/commands.js +19 -3
  120. package/esm/auth/cli/executor.d.ts +28 -4
  121. package/esm/auth/orm/index.d.ts +32 -4
  122. package/esm/auth/orm/index.js +8 -0
  123. package/esm/auth/orm/input-types.d.ts +915 -145
  124. package/esm/auth/orm/input-types.js +7 -0
  125. package/esm/auth/orm/models/index.d.ts +4 -0
  126. package/esm/auth/orm/models/index.js +4 -0
  127. package/esm/auth/orm/models/orgApiKeyList.d.ts +36 -0
  128. package/esm/auth/orm/models/orgApiKeyList.js +76 -0
  129. package/esm/auth/orm/models/principal.d.ts +45 -0
  130. package/esm/auth/orm/models/principal.js +89 -0
  131. package/esm/auth/orm/models/principalEntity.d.ts +54 -0
  132. package/esm/auth/orm/models/principalEntity.js +100 -0
  133. package/esm/auth/orm/models/principalScopeOverride.d.ts +36 -0
  134. package/esm/auth/orm/models/principalScopeOverride.js +76 -0
  135. package/esm/auth/orm/mutation/index.d.ts +33 -1
  136. package/esm/auth/orm/mutation/index.js +48 -0
  137. package/esm/auth/orm/query/index.d.ts +4 -4
  138. package/esm/auth/orm/query/index.js +7 -7
  139. package/esm/compute/cli/commands/function-graph-execution.js +0 -22
  140. package/esm/compute/cli/commands/function-graph.js +0 -20
  141. package/esm/compute/cli/commands/platform-namespace-event.d.ts +8 -0
  142. package/esm/compute/cli/commands/platform-namespace-event.js +508 -0
  143. package/esm/compute/cli/commands/platform-namespace.d.ts +8 -0
  144. package/esm/compute/cli/commands/platform-namespace.js +434 -0
  145. package/esm/compute/cli/commands/resource-event.d.ts +8 -0
  146. package/esm/compute/cli/commands/resource-event.js +354 -0
  147. package/esm/compute/cli/commands/resource.d.ts +8 -0
  148. package/esm/compute/cli/commands/resource.js +518 -0
  149. package/esm/compute/cli/commands.js +13 -5
  150. package/esm/compute/cli/executor.d.ts +10 -6
  151. package/esm/compute/orm/index.d.ts +15 -7
  152. package/esm/compute/orm/index.js +10 -2
  153. package/esm/compute/orm/input-types.d.ts +1159 -221
  154. package/esm/compute/orm/input-types.js +4 -0
  155. package/esm/compute/orm/models/index.d.ts +5 -1
  156. package/esm/compute/orm/models/index.js +5 -1
  157. package/esm/compute/orm/models/platformNamespace.d.ts +54 -0
  158. package/esm/compute/orm/models/platformNamespace.js +100 -0
  159. package/esm/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
  160. package/esm/compute/orm/models/platformNamespaceEvent.js +103 -0
  161. package/esm/compute/orm/models/resource.d.ts +54 -0
  162. package/esm/compute/orm/models/resource.js +100 -0
  163. package/esm/compute/orm/models/resourceEvent.d.ts +56 -0
  164. package/esm/compute/orm/models/resourceEvent.js +103 -0
  165. package/esm/compute/orm/mutation/index.d.ts +9 -9
  166. package/esm/compute/orm/mutation/index.js +12 -12
  167. package/esm/modules/cli/commands/merkle-store-module.js +22 -0
  168. package/esm/modules/cli/commands/principal-auth-module.d.ts +8 -0
  169. package/esm/modules/cli/commands/principal-auth-module.js +580 -0
  170. package/esm/modules/cli/commands/resource-module.d.ts +8 -0
  171. package/esm/modules/cli/commands/resource-module.js +602 -0
  172. package/esm/modules/cli/commands.js +9 -5
  173. package/esm/modules/cli/executor.d.ts +4 -2
  174. package/esm/modules/orm/index.d.ts +8 -4
  175. package/esm/modules/orm/index.js +8 -4
  176. package/esm/modules/orm/input-types.d.ts +868 -411
  177. package/esm/modules/orm/models/index.d.ts +4 -2
  178. package/esm/modules/orm/models/index.js +4 -2
  179. package/esm/modules/orm/models/principalAuthModule.d.ts +54 -0
  180. package/esm/modules/orm/models/principalAuthModule.js +100 -0
  181. package/esm/modules/orm/models/resourceModule.d.ts +54 -0
  182. package/esm/modules/orm/models/resourceModule.js +100 -0
  183. package/modules/cli/commands/merkle-store-module.js +22 -0
  184. package/modules/cli/commands/principal-auth-module.d.ts +8 -0
  185. package/modules/cli/commands/principal-auth-module.js +582 -0
  186. package/modules/cli/commands/resource-module.d.ts +8 -0
  187. package/modules/cli/commands/resource-module.js +604 -0
  188. package/modules/cli/commands.js +9 -5
  189. package/modules/cli/executor.d.ts +4 -2
  190. package/modules/orm/index.d.ts +8 -4
  191. package/modules/orm/index.js +8 -4
  192. package/modules/orm/input-types.d.ts +868 -411
  193. package/modules/orm/models/index.d.ts +4 -2
  194. package/modules/orm/models/index.js +10 -6
  195. package/modules/orm/models/principalAuthModule.d.ts +54 -0
  196. package/modules/orm/models/principalAuthModule.js +104 -0
  197. package/modules/orm/models/resourceModule.d.ts +54 -0
  198. package/modules/orm/models/resourceModule.js +104 -0
  199. package/package.json +4 -4
@@ -2,19 +2,23 @@ import type { OrmClientConfig } from './client';
2
2
  import { GetAllRecordModel } from './models/getAllRecord';
3
3
  import { FunctionApiBindingModel } from './models/functionApiBinding';
4
4
  import { FunctionDeploymentModel } from './models/functionDeployment';
5
+ import { ResourceModel } from './models/resource';
5
6
  import { FunctionGraphRefModel } from './models/functionGraphRef';
6
7
  import { FunctionGraphStoreModel } from './models/functionGraphStore';
7
8
  import { FunctionGraphObjectModel } from './models/functionGraphObject';
8
9
  import { FunctionDeploymentEventModel } from './models/functionDeploymentEvent';
9
10
  import { OrgFunctionExecutionLogModel } from './models/orgFunctionExecutionLog';
11
+ import { ResourceEventModel } from './models/resourceEvent';
10
12
  import { FunctionGraphExecutionOutputModel } from './models/functionGraphExecutionOutput';
11
13
  import { FunctionGraphCommitModel } from './models/functionGraphCommit';
12
14
  import { SecretDefinitionModel } from './models/secretDefinition';
13
15
  import { FunctionExecutionLogModel } from './models/functionExecutionLog';
14
- import { FunctionGraphExecutionNodeStateModel } from './models/functionGraphExecutionNodeState';
15
16
  import { FunctionGraphModel } from './models/functionGraph';
17
+ import { FunctionGraphExecutionNodeStateModel } from './models/functionGraphExecutionNodeState';
18
+ import { PlatformNamespaceModel } from './models/platformNamespace';
16
19
  import { OrgFunctionInvocationModel } from './models/orgFunctionInvocation';
17
20
  import { FunctionInvocationModel } from './models/functionInvocation';
21
+ import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
18
22
  import { FunctionGraphExecutionModel } from './models/functionGraphExecution';
19
23
  import { FunctionDefinitionModel } from './models/functionDefinition';
20
24
  export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
@@ -51,19 +55,23 @@ export declare function createClient(config: OrmClientConfig): {
51
55
  getAllRecord: GetAllRecordModel;
52
56
  functionApiBinding: FunctionApiBindingModel;
53
57
  functionDeployment: FunctionDeploymentModel;
58
+ resource: ResourceModel;
54
59
  functionGraphRef: FunctionGraphRefModel;
55
60
  functionGraphStore: FunctionGraphStoreModel;
56
61
  functionGraphObject: FunctionGraphObjectModel;
57
62
  functionDeploymentEvent: FunctionDeploymentEventModel;
58
63
  orgFunctionExecutionLog: OrgFunctionExecutionLogModel;
64
+ resourceEvent: ResourceEventModel;
59
65
  functionGraphExecutionOutput: FunctionGraphExecutionOutputModel;
60
66
  functionGraphCommit: FunctionGraphCommitModel;
61
67
  secretDefinition: SecretDefinitionModel;
62
68
  functionExecutionLog: FunctionExecutionLogModel;
63
- functionGraphExecutionNodeState: FunctionGraphExecutionNodeStateModel;
64
69
  functionGraph: FunctionGraphModel;
70
+ functionGraphExecutionNodeState: FunctionGraphExecutionNodeStateModel;
71
+ platformNamespace: PlatformNamespaceModel;
65
72
  orgFunctionInvocation: OrgFunctionInvocationModel;
66
73
  functionInvocation: FunctionInvocationModel;
74
+ platformNamespaceEvent: PlatformNamespaceEventModel;
67
75
  functionGraphExecution: FunctionGraphExecutionModel;
68
76
  functionDefinition: FunctionDefinitionModel;
69
77
  query: {
@@ -114,6 +122,11 @@ export declare function createClient(config: OrmClientConfig): {
114
122
  } & import("./select-types").StrictSelect<S, import("./input-types").AddNodeAndSavePayloadSelect>) => import("./query-builder").QueryBuilder<{
115
123
  addNodeAndSave: import("./select-types").InferSelectResult<import("./input-types").AddNodeAndSavePayload, S> | null;
116
124
  }>;
125
+ importGraphJson: <S extends import("./input-types").ImportGraphJsonPayloadSelect>(args: import("./mutation").ImportGraphJsonVariables, options: {
126
+ select: S;
127
+ } & import("./select-types").StrictSelect<S, import("./input-types").ImportGraphJsonPayloadSelect>) => import("./query-builder").QueryBuilder<{
128
+ importGraphJson: import("./select-types").InferSelectResult<import("./input-types").ImportGraphJsonPayload, S> | null;
129
+ }>;
117
130
  addEdge: <S extends import("./input-types").AddEdgePayloadSelect>(args: import("./mutation").AddEdgeVariables, options: {
118
131
  select: S;
119
132
  } & import("./select-types").StrictSelect<S, import("./input-types").AddEdgePayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -124,11 +137,6 @@ export declare function createClient(config: OrmClientConfig): {
124
137
  } & import("./select-types").StrictSelect<S, import("./input-types").AddNodePayloadSelect>) => import("./query-builder").QueryBuilder<{
125
138
  addNode: import("./select-types").InferSelectResult<import("./input-types").AddNodePayload, S> | null;
126
139
  }>;
127
- importGraphJson: <S extends import("./input-types").ImportGraphJsonPayloadSelect>(args: import("./mutation").ImportGraphJsonVariables, options: {
128
- select: S;
129
- } & import("./select-types").StrictSelect<S, import("./input-types").ImportGraphJsonPayloadSelect>) => import("./query-builder").QueryBuilder<{
130
- importGraphJson: import("./select-types").InferSelectResult<import("./input-types").ImportGraphJsonPayload, S> | null;
131
- }>;
132
140
  insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
133
141
  select: S;
134
142
  } & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -25,19 +25,23 @@ const client_1 = require("./client");
25
25
  const getAllRecord_1 = require("./models/getAllRecord");
26
26
  const functionApiBinding_1 = require("./models/functionApiBinding");
27
27
  const functionDeployment_1 = require("./models/functionDeployment");
28
+ const resource_1 = require("./models/resource");
28
29
  const functionGraphRef_1 = require("./models/functionGraphRef");
29
30
  const functionGraphStore_1 = require("./models/functionGraphStore");
30
31
  const functionGraphObject_1 = require("./models/functionGraphObject");
31
32
  const functionDeploymentEvent_1 = require("./models/functionDeploymentEvent");
32
33
  const orgFunctionExecutionLog_1 = require("./models/orgFunctionExecutionLog");
34
+ const resourceEvent_1 = require("./models/resourceEvent");
33
35
  const functionGraphExecutionOutput_1 = require("./models/functionGraphExecutionOutput");
34
36
  const functionGraphCommit_1 = require("./models/functionGraphCommit");
35
37
  const secretDefinition_1 = require("./models/secretDefinition");
36
38
  const functionExecutionLog_1 = require("./models/functionExecutionLog");
37
- const functionGraphExecutionNodeState_1 = require("./models/functionGraphExecutionNodeState");
38
39
  const functionGraph_1 = require("./models/functionGraph");
40
+ const functionGraphExecutionNodeState_1 = require("./models/functionGraphExecutionNodeState");
41
+ const platformNamespace_1 = require("./models/platformNamespace");
39
42
  const orgFunctionInvocation_1 = require("./models/orgFunctionInvocation");
40
43
  const functionInvocation_1 = require("./models/functionInvocation");
44
+ const platformNamespaceEvent_1 = require("./models/platformNamespaceEvent");
41
45
  const functionGraphExecution_1 = require("./models/functionGraphExecution");
42
46
  const functionDefinition_1 = require("./models/functionDefinition");
43
47
  const query_1 = require("./query");
@@ -82,19 +86,23 @@ function createClient(config) {
82
86
  getAllRecord: new getAllRecord_1.GetAllRecordModel(client),
83
87
  functionApiBinding: new functionApiBinding_1.FunctionApiBindingModel(client),
84
88
  functionDeployment: new functionDeployment_1.FunctionDeploymentModel(client),
89
+ resource: new resource_1.ResourceModel(client),
85
90
  functionGraphRef: new functionGraphRef_1.FunctionGraphRefModel(client),
86
91
  functionGraphStore: new functionGraphStore_1.FunctionGraphStoreModel(client),
87
92
  functionGraphObject: new functionGraphObject_1.FunctionGraphObjectModel(client),
88
93
  functionDeploymentEvent: new functionDeploymentEvent_1.FunctionDeploymentEventModel(client),
89
94
  orgFunctionExecutionLog: new orgFunctionExecutionLog_1.OrgFunctionExecutionLogModel(client),
95
+ resourceEvent: new resourceEvent_1.ResourceEventModel(client),
90
96
  functionGraphExecutionOutput: new functionGraphExecutionOutput_1.FunctionGraphExecutionOutputModel(client),
91
97
  functionGraphCommit: new functionGraphCommit_1.FunctionGraphCommitModel(client),
92
98
  secretDefinition: new secretDefinition_1.SecretDefinitionModel(client),
93
99
  functionExecutionLog: new functionExecutionLog_1.FunctionExecutionLogModel(client),
94
- functionGraphExecutionNodeState: new functionGraphExecutionNodeState_1.FunctionGraphExecutionNodeStateModel(client),
95
100
  functionGraph: new functionGraph_1.FunctionGraphModel(client),
101
+ functionGraphExecutionNodeState: new functionGraphExecutionNodeState_1.FunctionGraphExecutionNodeStateModel(client),
102
+ platformNamespace: new platformNamespace_1.PlatformNamespaceModel(client),
96
103
  orgFunctionInvocation: new orgFunctionInvocation_1.OrgFunctionInvocationModel(client),
97
104
  functionInvocation: new functionInvocation_1.FunctionInvocationModel(client),
105
+ platformNamespaceEvent: new platformNamespaceEvent_1.PlatformNamespaceEventModel(client),
98
106
  functionGraphExecution: new functionGraphExecution_1.FunctionGraphExecutionModel(client),
99
107
  functionDefinition: new functionDefinition_1.FunctionDefinitionModel(client),
100
108
  query: (0, query_1.createQueryOperations)(client),