@constructive-io/sdk 0.30.3 → 0.31.0

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 (167) hide show
  1. package/admin/orm/index.d.ts +67 -67
  2. package/admin/orm/index.js +44 -44
  3. package/admin/orm/input-types.d.ts +3168 -3168
  4. package/admin/orm/input-types.js +1 -1
  5. package/admin/orm/models/index.d.ts +22 -22
  6. package/admin/orm/models/index.js +45 -45
  7. package/admin/orm/mutation/index.d.ts +12 -12
  8. package/admin/orm/mutation/index.js +12 -12
  9. package/admin/orm/query/index.d.ts +47 -47
  10. package/admin/orm/query/index.js +68 -68
  11. package/agent/orm/index.d.ts +8 -8
  12. package/agent/orm/index.js +8 -8
  13. package/agent/orm/input-types.d.ts +1788 -1788
  14. package/agent/orm/input-types.js +9 -9
  15. package/agent/orm/models/index.d.ts +4 -4
  16. package/agent/orm/models/index.js +9 -9
  17. package/api/orm/index.d.ts +77 -77
  18. package/api/orm/index.js +64 -64
  19. package/api/orm/input-types.d.ts +8781 -8781
  20. package/api/orm/input-types.js +48 -48
  21. package/api/orm/models/index.d.ts +32 -32
  22. package/api/orm/models/index.js +65 -65
  23. package/api/orm/mutation/index.d.ts +29 -29
  24. package/api/orm/mutation/index.js +30 -30
  25. package/api/orm/query/index.d.ts +1 -1
  26. package/api/orm/query/index.js +4 -4
  27. package/auth/orm/index.d.ts +103 -103
  28. package/auth/orm/index.js +14 -14
  29. package/auth/orm/input-types.d.ts +2102 -2109
  30. package/auth/orm/input-types.js +5 -5
  31. package/auth/orm/models/index.d.ts +7 -7
  32. package/auth/orm/models/index.js +15 -15
  33. package/auth/orm/mutation/index.d.ts +138 -138
  34. package/auth/orm/mutation/index.js +168 -168
  35. package/auth/orm/query/index.d.ts +10 -10
  36. package/auth/orm/query/index.js +14 -14
  37. package/compute/orm/index.d.ts +110 -110
  38. package/compute/orm/index.js +64 -64
  39. package/compute/orm/input-types.d.ts +7256 -7037
  40. package/compute/orm/input-types.js +15 -13
  41. package/compute/orm/models/index.d.ts +32 -32
  42. package/compute/orm/models/index.js +65 -65
  43. package/compute/orm/mutation/index.d.ts +77 -77
  44. package/compute/orm/mutation/index.js +96 -96
  45. package/config/orm/index.d.ts +30 -30
  46. package/config/orm/index.js +2 -2
  47. package/config/orm/input-types.d.ts +416 -416
  48. package/config/orm/models/index.d.ts +1 -1
  49. package/config/orm/models/index.js +3 -3
  50. package/config/orm/mutation/index.d.ts +47 -47
  51. package/config/orm/mutation/index.js +60 -60
  52. package/esm/admin/orm/index.d.ts +67 -67
  53. package/esm/admin/orm/index.js +44 -44
  54. package/esm/admin/orm/input-types.d.ts +3168 -3168
  55. package/esm/admin/orm/input-types.js +1 -1
  56. package/esm/admin/orm/models/index.d.ts +22 -22
  57. package/esm/admin/orm/models/index.js +22 -22
  58. package/esm/admin/orm/mutation/index.d.ts +12 -12
  59. package/esm/admin/orm/mutation/index.js +12 -12
  60. package/esm/admin/orm/query/index.d.ts +47 -47
  61. package/esm/admin/orm/query/index.js +68 -68
  62. package/esm/agent/orm/index.d.ts +8 -8
  63. package/esm/agent/orm/index.js +8 -8
  64. package/esm/agent/orm/input-types.d.ts +1788 -1788
  65. package/esm/agent/orm/input-types.js +9 -9
  66. package/esm/agent/orm/models/index.d.ts +4 -4
  67. package/esm/agent/orm/models/index.js +4 -4
  68. package/esm/api/orm/index.d.ts +77 -77
  69. package/esm/api/orm/index.js +64 -64
  70. package/esm/api/orm/input-types.d.ts +8781 -8781
  71. package/esm/api/orm/input-types.js +48 -48
  72. package/esm/api/orm/models/index.d.ts +32 -32
  73. package/esm/api/orm/models/index.js +32 -32
  74. package/esm/api/orm/mutation/index.d.ts +29 -29
  75. package/esm/api/orm/mutation/index.js +30 -30
  76. package/esm/api/orm/query/index.d.ts +1 -1
  77. package/esm/api/orm/query/index.js +4 -4
  78. package/esm/auth/orm/index.d.ts +103 -103
  79. package/esm/auth/orm/index.js +14 -14
  80. package/esm/auth/orm/input-types.d.ts +2102 -2109
  81. package/esm/auth/orm/input-types.js +5 -5
  82. package/esm/auth/orm/models/index.d.ts +7 -7
  83. package/esm/auth/orm/models/index.js +7 -7
  84. package/esm/auth/orm/mutation/index.d.ts +138 -138
  85. package/esm/auth/orm/mutation/index.js +168 -168
  86. package/esm/auth/orm/query/index.d.ts +10 -10
  87. package/esm/auth/orm/query/index.js +14 -14
  88. package/esm/compute/orm/index.d.ts +110 -110
  89. package/esm/compute/orm/index.js +64 -64
  90. package/esm/compute/orm/input-types.d.ts +7256 -7037
  91. package/esm/compute/orm/input-types.js +15 -13
  92. package/esm/compute/orm/models/index.d.ts +32 -32
  93. package/esm/compute/orm/models/index.js +32 -32
  94. package/esm/compute/orm/mutation/index.d.ts +77 -77
  95. package/esm/compute/orm/mutation/index.js +96 -96
  96. package/esm/config/orm/index.d.ts +30 -30
  97. package/esm/config/orm/index.js +2 -2
  98. package/esm/config/orm/input-types.d.ts +416 -416
  99. package/esm/config/orm/models/index.d.ts +1 -1
  100. package/esm/config/orm/models/index.js +1 -1
  101. package/esm/config/orm/mutation/index.d.ts +47 -47
  102. package/esm/config/orm/mutation/index.js +60 -60
  103. package/esm/infra/orm/index.d.ts +15 -15
  104. package/esm/infra/orm/index.js +10 -10
  105. package/esm/infra/orm/input-types.d.ts +971 -971
  106. package/esm/infra/orm/models/index.d.ts +5 -5
  107. package/esm/infra/orm/models/index.js +5 -5
  108. package/esm/infra/orm/mutation/index.d.ts +9 -9
  109. package/esm/infra/orm/mutation/index.js +12 -12
  110. package/esm/modules/orm/index.d.ts +126 -126
  111. package/esm/modules/orm/index.js +106 -106
  112. package/esm/modules/orm/input-types.d.ts +11482 -11468
  113. package/esm/modules/orm/input-types.js +1 -1
  114. package/esm/modules/orm/models/index.d.ts +53 -53
  115. package/esm/modules/orm/models/index.js +53 -53
  116. package/esm/modules/orm/mutation/index.d.ts +51 -51
  117. package/esm/modules/orm/mutation/index.js +42 -42
  118. package/esm/modules/orm/query/index.d.ts +3 -3
  119. package/esm/modules/orm/query/index.js +8 -8
  120. package/esm/objects/orm/index.d.ts +9 -9
  121. package/esm/objects/orm/index.js +4 -4
  122. package/esm/objects/orm/input-types.d.ts +384 -384
  123. package/esm/objects/orm/models/index.d.ts +2 -2
  124. package/esm/objects/orm/models/index.js +2 -2
  125. package/esm/objects/orm/mutation/index.d.ts +9 -9
  126. package/esm/objects/orm/mutation/index.js +12 -12
  127. package/esm/usage/orm/index.d.ts +29 -29
  128. package/esm/usage/orm/index.js +24 -24
  129. package/esm/usage/orm/input-types.d.ts +2049 -2049
  130. package/esm/usage/orm/input-types.js +5 -5
  131. package/esm/usage/orm/models/index.d.ts +12 -12
  132. package/esm/usage/orm/models/index.js +12 -12
  133. package/esm/usage/orm/mutation/index.d.ts +16 -16
  134. package/esm/usage/orm/mutation/index.js +12 -12
  135. package/infra/orm/index.d.ts +15 -15
  136. package/infra/orm/index.js +10 -10
  137. package/infra/orm/input-types.d.ts +971 -971
  138. package/infra/orm/models/index.d.ts +5 -5
  139. package/infra/orm/models/index.js +11 -11
  140. package/infra/orm/mutation/index.d.ts +9 -9
  141. package/infra/orm/mutation/index.js +12 -12
  142. package/modules/orm/index.d.ts +126 -126
  143. package/modules/orm/index.js +106 -106
  144. package/modules/orm/input-types.d.ts +11482 -11468
  145. package/modules/orm/input-types.js +1 -1
  146. package/modules/orm/models/index.d.ts +53 -53
  147. package/modules/orm/models/index.js +108 -108
  148. package/modules/orm/mutation/index.d.ts +51 -51
  149. package/modules/orm/mutation/index.js +42 -42
  150. package/modules/orm/query/index.d.ts +3 -3
  151. package/modules/orm/query/index.js +8 -8
  152. package/objects/orm/index.d.ts +9 -9
  153. package/objects/orm/index.js +4 -4
  154. package/objects/orm/input-types.d.ts +384 -384
  155. package/objects/orm/models/index.d.ts +2 -2
  156. package/objects/orm/models/index.js +5 -5
  157. package/objects/orm/mutation/index.d.ts +9 -9
  158. package/objects/orm/mutation/index.js +12 -12
  159. package/package.json +4 -4
  160. package/usage/orm/index.d.ts +29 -29
  161. package/usage/orm/index.js +24 -24
  162. package/usage/orm/input-types.d.ts +2049 -2049
  163. package/usage/orm/input-types.js +5 -5
  164. package/usage/orm/models/index.d.ts +12 -12
  165. package/usage/orm/models/index.js +25 -25
  166. package/usage/orm/mutation/index.d.ts +16 -16
  167. package/usage/orm/mutation/index.js +12 -12
@@ -1,9 +1,9 @@
1
1
  import type { OrmClientConfig } from './client';
2
+ import { CommitModel } from './models/commit';
2
3
  import { GetAllRecordModel } from './models/getAllRecord';
4
+ import { ObjectModel } from './models/object';
3
5
  import { RefModel } from './models/ref';
4
6
  import { StoreModel } from './models/store';
5
- import { ObjectModel } from './models/object';
6
- import { CommitModel } from './models/commit';
7
7
  export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
8
8
  export { GraphQLRequestError, FetchAdapter } from './client';
9
9
  export { QueryBuilder } from './query-builder';
@@ -34,22 +34,17 @@ export { createMutationOperations } from './mutation';
34
34
  * ```
35
35
  */
36
36
  export declare function createClient(config: OrmClientConfig): {
37
+ commit: CommitModel;
37
38
  getAllRecord: GetAllRecordModel;
39
+ object: ObjectModel;
38
40
  ref: RefModel;
39
41
  store: StoreModel;
40
- object: ObjectModel;
41
- commit: CommitModel;
42
42
  mutation: {
43
43
  initEmptyRepo: <S extends import("./input-types").InitEmptyRepoPayloadSelect>(args: import("./mutation").InitEmptyRepoVariables, options: {
44
44
  select: S;
45
45
  } & import("./select-types").StrictSelect<S, import("./input-types").InitEmptyRepoPayloadSelect>) => import("./query-builder").QueryBuilder<{
46
46
  initEmptyRepo: import("./select-types").InferSelectResult<import("./input-types").InitEmptyRepoPayload, S> | null;
47
47
  }>;
48
- setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
49
- select: S;
50
- } & import("./select-types").StrictSelect<S, import("./input-types").SetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
51
- setDataAtPath: import("./select-types").InferSelectResult<import("./input-types").SetDataAtPathPayload, S> | null;
52
- }>;
53
48
  insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
54
49
  select: S;
55
50
  } & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -60,5 +55,10 @@ export declare function createClient(config: OrmClientConfig): {
60
55
  } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
61
56
  provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
62
57
  }>;
58
+ setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
59
+ select: S;
60
+ } & import("./select-types").StrictSelect<S, import("./input-types").SetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
61
+ setDataAtPath: import("./select-types").InferSelectResult<import("./input-types").SetDataAtPathPayload, S> | null;
62
+ }>;
63
63
  };
64
64
  };
@@ -4,11 +4,11 @@
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
6
  import { OrmClient } from './client';
7
+ import { CommitModel } from './models/commit';
7
8
  import { GetAllRecordModel } from './models/getAllRecord';
9
+ import { ObjectModel } from './models/object';
8
10
  import { RefModel } from './models/ref';
9
11
  import { StoreModel } from './models/store';
10
- import { ObjectModel } from './models/object';
11
- import { CommitModel } from './models/commit';
12
12
  import { createMutationOperations } from './mutation';
13
13
  export { GraphQLRequestError, FetchAdapter } from './client';
14
14
  export { QueryBuilder } from './query-builder';
@@ -41,11 +41,11 @@ export { createMutationOperations } from './mutation';
41
41
  export function createClient(config) {
42
42
  const client = new OrmClient(config);
43
43
  return {
44
+ commit: new CommitModel(client),
44
45
  getAllRecord: new GetAllRecordModel(client),
46
+ object: new ObjectModel(client),
45
47
  ref: new RefModel(client),
46
48
  store: new StoreModel(client),
47
- object: new ObjectModel(client),
48
- commit: new CommitModel(client),
49
49
  mutation: createMutationOperations(client),
50
50
  };
51
51
  }