@constructive-io/react 1.9.2 → 1.9.3

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 (220) hide show
  1. package/admin/hooks/index.d.ts +1 -1
  2. package/admin/hooks/index.js +1 -1
  3. package/admin/hooks/invalidation.d.ts +24 -0
  4. package/admin/hooks/invalidation.js +64 -0
  5. package/admin/hooks/mutation-keys.d.ts +48 -0
  6. package/admin/hooks/mutation-keys.js +32 -1
  7. package/admin/hooks/mutations/index.d.ts +8 -0
  8. package/admin/hooks/mutations/index.js +8 -0
  9. package/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.d.ts +34 -0
  10. package/{api/hooks/mutations/useCreatePlatformApiModuleMutation.js → admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.js} +6 -6
  11. package/admin/hooks/mutations/useCreateOrgChartEdgeMutation.d.ts +34 -0
  12. package/admin/hooks/mutations/useCreateOrgChartEdgeMutation.js +34 -0
  13. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +34 -0
  14. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +34 -0
  15. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +34 -0
  16. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +34 -0
  17. package/admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.d.ts +38 -0
  18. package/{api/hooks/mutations/useDeletePlatformApiModuleMutation.js → admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.js} +7 -7
  19. package/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.d.ts +38 -0
  20. package/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.js +39 -0
  21. package/admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.d.ts +40 -0
  22. package/{api/hooks/mutations/useUpdatePlatformApiModuleMutation.js → admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.js} +9 -9
  23. package/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.d.ts +40 -0
  24. package/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.js +40 -0
  25. package/admin/hooks/queries/index.d.ts +7 -0
  26. package/admin/hooks/queries/index.js +7 -0
  27. package/admin/hooks/queries/useOrgChartEdgeGrantQuery.d.ts +65 -0
  28. package/{api/hooks/queries/usePlatformApiModuleQuery.js → admin/hooks/queries/useOrgChartEdgeGrantQuery.js} +14 -14
  29. package/admin/hooks/queries/useOrgChartEdgeGrantsQuery.d.ts +69 -0
  30. package/admin/hooks/queries/useOrgChartEdgeGrantsQuery.js +38 -0
  31. package/admin/hooks/queries/useOrgChartEdgeQuery.d.ts +65 -0
  32. package/admin/hooks/queries/useOrgChartEdgeQuery.js +53 -0
  33. package/admin/hooks/queries/useOrgChartEdgesQuery.d.ts +69 -0
  34. package/admin/hooks/queries/useOrgChartEdgesQuery.js +38 -0
  35. package/admin/hooks/queries/useOrgGetManagersQuery.d.ts +69 -0
  36. package/admin/hooks/queries/useOrgGetManagersQuery.js +38 -0
  37. package/admin/hooks/queries/useOrgGetSubordinatesQuery.d.ts +69 -0
  38. package/admin/hooks/queries/useOrgGetSubordinatesQuery.js +38 -0
  39. package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +53 -0
  40. package/admin/hooks/queries/useOrgIsManagerOfQuery.js +53 -0
  41. package/admin/hooks/query-keys.d.ts +58 -0
  42. package/admin/hooks/query-keys.js +34 -1
  43. package/admin/orm/index.d.ts +13 -0
  44. package/admin/orm/index.js +8 -0
  45. package/admin/orm/input-types.d.ts +399 -0
  46. package/admin/orm/models/index.d.ts +4 -0
  47. package/admin/orm/models/index.js +9 -1
  48. package/admin/orm/models/orgChartEdge.d.ts +54 -0
  49. package/admin/orm/models/orgChartEdge.js +104 -0
  50. package/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  51. package/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +27 -27
  52. package/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  53. package/admin/orm/models/orgGetManagersRecord.js +59 -0
  54. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  55. package/admin/orm/models/orgGetSubordinatesRecord.js +59 -0
  56. package/admin/orm/query/index.d.ts +11 -0
  57. package/admin/orm/query/index.js +24 -0
  58. package/admin/schema-types.d.ts +247 -1
  59. package/admin/types.d.ts +29 -0
  60. package/api/hooks/index.d.ts +1 -1
  61. package/api/hooks/index.js +1 -1
  62. package/api/hooks/invalidation.d.ts +6 -12
  63. package/api/hooks/invalidation.js +16 -32
  64. package/api/hooks/mutation-keys.d.ts +12 -24
  65. package/api/hooks/mutation-keys.js +9 -16
  66. package/api/hooks/mutations/index.d.ts +3 -6
  67. package/api/hooks/mutations/index.js +3 -6
  68. package/api/hooks/mutations/useCreateDomainTypeMutation.d.ts +34 -0
  69. package/api/hooks/mutations/{useCreateApiModuleMutation.js → useCreateDomainTypeMutation.js} +6 -6
  70. package/api/hooks/mutations/useDeleteDomainTypeMutation.d.ts +38 -0
  71. package/api/hooks/mutations/{useDeleteApiModuleMutation.js → useDeleteDomainTypeMutation.js} +7 -7
  72. package/api/hooks/mutations/useUpdateDomainTypeMutation.d.ts +40 -0
  73. package/api/hooks/mutations/{useUpdateApiModuleMutation.js → useUpdateDomainTypeMutation.js} +9 -9
  74. package/api/hooks/queries/index.d.ts +2 -4
  75. package/api/hooks/queries/index.js +2 -4
  76. package/api/hooks/queries/useDomainTypeQuery.d.ts +65 -0
  77. package/api/hooks/queries/{useApiModuleQuery.js → useDomainTypeQuery.js} +14 -14
  78. package/api/hooks/queries/useDomainTypesQuery.d.ts +69 -0
  79. package/api/hooks/queries/{useApiModulesQuery.js → useDomainTypesQuery.js} +14 -14
  80. package/api/hooks/query-keys.d.ts +14 -28
  81. package/api/hooks/query-keys.js +10 -18
  82. package/api/orm/index.d.ts +2 -4
  83. package/api/orm/index.js +2 -4
  84. package/api/orm/input-types.d.ts +378 -468
  85. package/api/orm/input-types.js +2 -2
  86. package/api/orm/models/domainType.d.ts +54 -0
  87. package/api/orm/models/{apiModule.js → domainType.js} +27 -27
  88. package/api/orm/models/index.d.ts +1 -2
  89. package/api/orm/models/index.js +4 -6
  90. package/api/schema-types.d.ts +157 -226
  91. package/api/types.d.ts +16 -17
  92. package/compute/orm/input-types.d.ts +42 -3
  93. package/compute/schema-types.d.ts +25 -3
  94. package/compute/types.d.ts +5 -0
  95. package/esm/admin/hooks/index.d.ts +1 -1
  96. package/esm/admin/hooks/index.js +1 -1
  97. package/esm/admin/hooks/invalidation.d.ts +24 -0
  98. package/esm/admin/hooks/invalidation.js +65 -1
  99. package/esm/admin/hooks/mutation-keys.d.ts +48 -0
  100. package/esm/admin/hooks/mutation-keys.js +31 -0
  101. package/esm/admin/hooks/mutations/index.d.ts +8 -0
  102. package/esm/admin/hooks/mutations/index.js +8 -0
  103. package/esm/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.d.ts +34 -0
  104. package/esm/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.js +31 -0
  105. package/esm/admin/hooks/mutations/useCreateOrgChartEdgeMutation.d.ts +34 -0
  106. package/esm/{api/hooks/mutations/useCreatePlatformApiModuleMutation.js → admin/hooks/mutations/useCreateOrgChartEdgeMutation.js} +7 -7
  107. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +34 -0
  108. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +31 -0
  109. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +34 -0
  110. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +31 -0
  111. package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.d.ts +38 -0
  112. package/esm/{api/hooks/mutations/useDeletePlatformApiModuleMutation.js → admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.js} +8 -8
  113. package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.d.ts +38 -0
  114. package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.js +36 -0
  115. package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.d.ts +40 -0
  116. package/esm/{api/hooks/mutations/useUpdatePlatformApiModuleMutation.js → admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.js} +10 -10
  117. package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.d.ts +40 -0
  118. package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.js +37 -0
  119. package/esm/admin/hooks/queries/index.d.ts +7 -0
  120. package/esm/admin/hooks/queries/index.js +7 -0
  121. package/esm/admin/hooks/queries/useOrgChartEdgeGrantQuery.d.ts +65 -0
  122. package/esm/{api/hooks/queries/usePlatformApiModuleQuery.js → admin/hooks/queries/useOrgChartEdgeGrantQuery.js} +11 -11
  123. package/esm/admin/hooks/queries/useOrgChartEdgeGrantsQuery.d.ts +69 -0
  124. package/esm/{api/hooks/queries/usePlatformApiModulesQuery.js → admin/hooks/queries/useOrgChartEdgeGrantsQuery.js} +11 -11
  125. package/esm/admin/hooks/queries/useOrgChartEdgeQuery.d.ts +65 -0
  126. package/esm/admin/hooks/queries/useOrgChartEdgeQuery.js +47 -0
  127. package/esm/admin/hooks/queries/useOrgChartEdgesQuery.d.ts +69 -0
  128. package/esm/admin/hooks/queries/useOrgChartEdgesQuery.js +32 -0
  129. package/esm/admin/hooks/queries/useOrgGetManagersQuery.d.ts +69 -0
  130. package/esm/admin/hooks/queries/useOrgGetManagersQuery.js +32 -0
  131. package/esm/admin/hooks/queries/useOrgGetSubordinatesQuery.d.ts +69 -0
  132. package/esm/admin/hooks/queries/useOrgGetSubordinatesQuery.js +32 -0
  133. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +53 -0
  134. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +47 -0
  135. package/esm/admin/hooks/query-keys.d.ts +58 -0
  136. package/esm/admin/hooks/query-keys.js +33 -0
  137. package/esm/admin/orm/index.d.ts +13 -0
  138. package/esm/admin/orm/index.js +8 -0
  139. package/esm/admin/orm/input-types.d.ts +399 -0
  140. package/esm/admin/orm/models/index.d.ts +4 -0
  141. package/esm/admin/orm/models/index.js +4 -0
  142. package/esm/admin/orm/models/orgChartEdge.d.ts +54 -0
  143. package/esm/admin/orm/models/orgChartEdge.js +100 -0
  144. package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  145. package/esm/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +25 -25
  146. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  147. package/esm/admin/orm/models/orgGetManagersRecord.js +55 -0
  148. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  149. package/esm/admin/orm/models/orgGetSubordinatesRecord.js +55 -0
  150. package/esm/admin/orm/query/index.d.ts +11 -0
  151. package/esm/admin/orm/query/index.js +24 -0
  152. package/esm/admin/schema-types.d.ts +247 -1
  153. package/esm/admin/types.d.ts +29 -0
  154. package/esm/api/hooks/index.d.ts +1 -1
  155. package/esm/api/hooks/index.js +1 -1
  156. package/esm/api/hooks/invalidation.d.ts +6 -12
  157. package/esm/api/hooks/invalidation.js +17 -33
  158. package/esm/api/hooks/mutation-keys.d.ts +12 -24
  159. package/esm/api/hooks/mutation-keys.js +7 -14
  160. package/esm/api/hooks/mutations/index.d.ts +3 -6
  161. package/esm/api/hooks/mutations/index.js +3 -6
  162. package/esm/api/hooks/mutations/useCreateDomainTypeMutation.d.ts +34 -0
  163. package/esm/api/hooks/mutations/{useCreateApiModuleMutation.js → useCreateDomainTypeMutation.js} +7 -7
  164. package/esm/api/hooks/mutations/useDeleteDomainTypeMutation.d.ts +38 -0
  165. package/esm/api/hooks/mutations/{useDeleteApiModuleMutation.js → useDeleteDomainTypeMutation.js} +8 -8
  166. package/esm/api/hooks/mutations/useUpdateDomainTypeMutation.d.ts +40 -0
  167. package/esm/api/hooks/mutations/{useUpdateApiModuleMutation.js → useUpdateDomainTypeMutation.js} +10 -10
  168. package/esm/api/hooks/queries/index.d.ts +2 -4
  169. package/esm/api/hooks/queries/index.js +2 -4
  170. package/esm/api/hooks/queries/useDomainTypeQuery.d.ts +65 -0
  171. package/esm/api/hooks/queries/{useApiModuleQuery.js → useDomainTypeQuery.js} +11 -11
  172. package/esm/api/hooks/queries/useDomainTypesQuery.d.ts +69 -0
  173. package/esm/api/hooks/queries/{useApiModulesQuery.js → useDomainTypesQuery.js} +11 -11
  174. package/esm/api/hooks/query-keys.d.ts +14 -28
  175. package/esm/api/hooks/query-keys.js +8 -16
  176. package/esm/api/orm/index.d.ts +2 -4
  177. package/esm/api/orm/index.js +2 -4
  178. package/esm/api/orm/input-types.d.ts +378 -468
  179. package/esm/api/orm/input-types.js +2 -2
  180. package/esm/api/orm/models/domainType.d.ts +54 -0
  181. package/esm/api/orm/models/{apiModule.js → domainType.js} +25 -25
  182. package/esm/api/orm/models/index.d.ts +1 -2
  183. package/esm/api/orm/models/index.js +1 -2
  184. package/esm/api/schema-types.d.ts +157 -226
  185. package/esm/api/types.d.ts +16 -17
  186. package/esm/compute/orm/input-types.d.ts +42 -3
  187. package/esm/compute/schema-types.d.ts +25 -3
  188. package/esm/compute/types.d.ts +5 -0
  189. package/esm/modules/orm/input-types.d.ts +9 -16
  190. package/esm/modules/schema-types.d.ts +6 -10
  191. package/esm/modules/types.d.ts +1 -2
  192. package/modules/orm/input-types.d.ts +9 -16
  193. package/modules/schema-types.d.ts +6 -10
  194. package/modules/types.d.ts +1 -2
  195. package/package.json +5 -5
  196. package/api/hooks/mutations/useCreateApiModuleMutation.d.ts +0 -34
  197. package/api/hooks/mutations/useCreatePlatformApiModuleMutation.d.ts +0 -34
  198. package/api/hooks/mutations/useDeleteApiModuleMutation.d.ts +0 -38
  199. package/api/hooks/mutations/useDeletePlatformApiModuleMutation.d.ts +0 -38
  200. package/api/hooks/mutations/useUpdateApiModuleMutation.d.ts +0 -40
  201. package/api/hooks/mutations/useUpdatePlatformApiModuleMutation.d.ts +0 -40
  202. package/api/hooks/queries/useApiModuleQuery.d.ts +0 -65
  203. package/api/hooks/queries/useApiModulesQuery.d.ts +0 -69
  204. package/api/hooks/queries/usePlatformApiModuleQuery.d.ts +0 -65
  205. package/api/hooks/queries/usePlatformApiModulesQuery.d.ts +0 -69
  206. package/api/hooks/queries/usePlatformApiModulesQuery.js +0 -38
  207. package/api/orm/models/apiModule.d.ts +0 -54
  208. package/api/orm/models/platformApiModule.d.ts +0 -54
  209. package/esm/api/hooks/mutations/useCreateApiModuleMutation.d.ts +0 -34
  210. package/esm/api/hooks/mutations/useCreatePlatformApiModuleMutation.d.ts +0 -34
  211. package/esm/api/hooks/mutations/useDeleteApiModuleMutation.d.ts +0 -38
  212. package/esm/api/hooks/mutations/useDeletePlatformApiModuleMutation.d.ts +0 -38
  213. package/esm/api/hooks/mutations/useUpdateApiModuleMutation.d.ts +0 -40
  214. package/esm/api/hooks/mutations/useUpdatePlatformApiModuleMutation.d.ts +0 -40
  215. package/esm/api/hooks/queries/useApiModuleQuery.d.ts +0 -65
  216. package/esm/api/hooks/queries/useApiModulesQuery.d.ts +0 -69
  217. package/esm/api/hooks/queries/usePlatformApiModuleQuery.d.ts +0 -65
  218. package/esm/api/hooks/queries/usePlatformApiModulesQuery.d.ts +0 -69
  219. package/esm/api/orm/models/apiModule.d.ts +0 -54
  220. package/esm/api/orm/models/platformApiModule.d.ts +0 -54
@@ -4,7 +4,6 @@ exports.connectionFieldsMap = void 0;
4
4
  // ============ Connection Fields Map ============
5
5
  exports.connectionFieldsMap = {
6
6
  Api: {
7
- apiModules: 'ApiModule',
8
7
  apiSchemas: 'ApiSchema',
9
8
  corsSettings: 'CorsSetting',
10
9
  },
@@ -13,6 +12,7 @@ exports.connectionFieldsMap = {
13
12
  compositeTypes: 'CompositeType',
14
13
  databaseTransfers: 'DatabaseTransfer',
15
14
  defaultPrivileges: 'DefaultPrivilege',
15
+ domainTypes: 'DomainType',
16
16
  embeddingChunks: 'EmbeddingChunk',
17
17
  enums: 'Enum',
18
18
  exclusionConstraints: 'ExclusionConstraint',
@@ -52,7 +52,6 @@ exports.connectionFieldsMap = {
52
52
  domainVerifications: 'DomainVerification',
53
53
  },
54
54
  PlatformApi: {
55
- platformApiModulesByApiId: 'PlatformApiModule',
56
55
  platformApiSchemasByApiId: 'PlatformApiSchema',
57
56
  },
58
57
  PlatformDomain: {
@@ -72,6 +71,7 @@ exports.connectionFieldsMap = {
72
71
  apiSchemas: 'ApiSchema',
73
72
  compositeTypes: 'CompositeType',
74
73
  defaultPrivileges: 'DefaultPrivilege',
74
+ domainTypes: 'DomainType',
75
75
  enums: 'Enum',
76
76
  functions: 'Function',
77
77
  platformApiSchemas: 'PlatformApiSchema',
@@ -0,0 +1,54 @@
1
+ /**
2
+ * DomainType 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 { DomainTypeWithRelations, DomainTypeSelect, DomainTypeFilter, DomainTypeOrderBy, CreateDomainTypeInput, DomainTypePatch } from '../input-types';
10
+ export declare class DomainTypeModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends DomainTypeSelect>(args: FindManyArgs<S, DomainTypeFilter, DomainTypeOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
16
+ domainTypes: ConnectionResult<InferSelectResult<DomainTypeWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends DomainTypeSelect>(args: FindFirstArgs<S, DomainTypeFilter, DomainTypeOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
21
+ domainType: InferSelectResult<DomainTypeWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends DomainTypeSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
27
+ domainType: InferSelectResult<DomainTypeWithRelations, S> | null;
28
+ }>;
29
+ create<S extends DomainTypeSelect>(args: CreateArgs<S, CreateDomainTypeInput['domainType']> & {
30
+ select: S;
31
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
32
+ createDomainType: {
33
+ domainType: InferSelectResult<DomainTypeWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends DomainTypeSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, DomainTypePatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
41
+ updateDomainType: {
42
+ domainType: InferSelectResult<DomainTypeWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends DomainTypeSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
50
+ deleteDomainType: {
51
+ domainType: InferSelectResult<DomainTypeWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApiModuleModel = void 0;
3
+ exports.DomainTypeModel = void 0;
4
4
  const query_builder_1 = require("../query-builder");
5
5
  const input_types_1 = require("../input-types");
6
- class ApiModuleModel {
6
+ class DomainTypeModel {
7
7
  client;
8
8
  constructor(client) {
9
9
  this.client = client;
10
10
  }
11
11
  findMany(args) {
12
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiModule', 'apiModules', args.select, {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('DomainType', 'domainTypes', args.select, {
13
13
  where: args?.where,
14
14
  orderBy: args?.orderBy,
15
15
  first: args?.first,
@@ -17,88 +17,88 @@ class ApiModuleModel {
17
17
  after: args?.after,
18
18
  before: args?.before,
19
19
  offset: args?.offset,
20
- }, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
20
+ }, 'DomainTypeFilter', 'DomainTypeOrderBy', input_types_1.connectionFieldsMap);
21
21
  return new query_builder_1.QueryBuilder({
22
22
  client: this.client,
23
23
  operation: 'query',
24
- operationName: 'ApiModule',
25
- fieldName: 'apiModules',
24
+ operationName: 'DomainType',
25
+ fieldName: 'domainTypes',
26
26
  document,
27
27
  variables,
28
28
  });
29
29
  }
30
30
  findFirst(args) {
31
- const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ApiModule', 'apiModules', args.select, {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('DomainType', 'domainTypes', args.select, {
32
32
  where: args?.where,
33
33
  orderBy: args?.orderBy,
34
- }, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
34
+ }, 'DomainTypeFilter', 'DomainTypeOrderBy', input_types_1.connectionFieldsMap);
35
35
  return new query_builder_1.QueryBuilder({
36
36
  client: this.client,
37
37
  operation: 'query',
38
- operationName: 'ApiModule',
39
- fieldName: 'apiModule',
38
+ operationName: 'DomainType',
39
+ fieldName: 'domainType',
40
40
  document,
41
41
  variables,
42
42
  transform: (data) => ({
43
- apiModule: data.apiModules?.nodes?.[0] ?? null,
43
+ domainType: data.domainTypes?.nodes?.[0] ?? null,
44
44
  }),
45
45
  });
46
46
  }
47
47
  findOne(args) {
48
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiModule', 'apiModules', args.select, {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('DomainType', 'domainTypes', args.select, {
49
49
  where: {
50
50
  id: {
51
51
  equalTo: args.id,
52
52
  },
53
53
  },
54
54
  first: 1,
55
- }, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
55
+ }, 'DomainTypeFilter', 'DomainTypeOrderBy', input_types_1.connectionFieldsMap);
56
56
  return new query_builder_1.QueryBuilder({
57
57
  client: this.client,
58
58
  operation: 'query',
59
- operationName: 'ApiModule',
60
- fieldName: 'apiModule',
59
+ operationName: 'DomainType',
60
+ fieldName: 'domainType',
61
61
  document,
62
62
  variables,
63
63
  transform: (data) => ({
64
- apiModule: data.apiModules?.nodes?.[0] ?? null,
64
+ domainType: data.domainTypes?.nodes?.[0] ?? null,
65
65
  }),
66
66
  });
67
67
  }
68
68
  create(args) {
69
- const { document, variables } = (0, query_builder_1.buildCreateDocument)('ApiModule', 'createApiModule', 'apiModule', args.select, args.data, 'CreateApiModuleInput', input_types_1.connectionFieldsMap);
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('DomainType', 'createDomainType', 'domainType', args.select, args.data, 'CreateDomainTypeInput', input_types_1.connectionFieldsMap);
70
70
  return new query_builder_1.QueryBuilder({
71
71
  client: this.client,
72
72
  operation: 'mutation',
73
- operationName: 'ApiModule',
74
- fieldName: 'createApiModule',
73
+ operationName: 'DomainType',
74
+ fieldName: 'createDomainType',
75
75
  document,
76
76
  variables,
77
77
  });
78
78
  }
79
79
  update(args) {
80
- const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ApiModule', 'updateApiModule', 'apiModule', args.select, args.where.id, args.data, 'UpdateApiModuleInput', 'id', 'apiModulePatch', input_types_1.connectionFieldsMap, undefined);
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('DomainType', 'updateDomainType', 'domainType', args.select, args.where.id, args.data, 'UpdateDomainTypeInput', 'id', 'domainTypePatch', input_types_1.connectionFieldsMap, undefined);
81
81
  return new query_builder_1.QueryBuilder({
82
82
  client: this.client,
83
83
  operation: 'mutation',
84
- operationName: 'ApiModule',
85
- fieldName: 'updateApiModule',
84
+ operationName: 'DomainType',
85
+ fieldName: 'updateDomainType',
86
86
  document,
87
87
  variables,
88
88
  });
89
89
  }
90
90
  delete(args) {
91
- const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('ApiModule', 'deleteApiModule', 'apiModule', {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('DomainType', 'deleteDomainType', 'domainType', {
92
92
  id: args.where.id,
93
- }, 'DeleteApiModuleInput', args.select, input_types_1.connectionFieldsMap);
93
+ }, 'DeleteDomainTypeInput', args.select, input_types_1.connectionFieldsMap);
94
94
  return new query_builder_1.QueryBuilder({
95
95
  client: this.client,
96
96
  operation: 'mutation',
97
- operationName: 'ApiModule',
98
- fieldName: 'deleteApiModule',
97
+ operationName: 'DomainType',
98
+ fieldName: 'deleteDomainType',
99
99
  document,
100
100
  variables,
101
101
  });
102
102
  }
103
103
  }
104
- exports.ApiModuleModel = ApiModuleModel;
104
+ exports.DomainTypeModel = DomainTypeModel;
@@ -4,7 +4,6 @@
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
6
  export { ApiModel } from './api';
7
- export { ApiModuleModel } from './apiModule';
8
7
  export { ApiSchemaModel } from './apiSchema';
9
8
  export { ApiSettingModel } from './apiSetting';
10
9
  export { AstMigrationModel } from './astMigration';
@@ -17,6 +16,7 @@ export { DatabaseTransferModel } from './databaseTransfer';
17
16
  export { DefaultPrivilegeModel } from './defaultPrivilege';
18
17
  export { DomainModel } from './domain';
19
18
  export { DomainEventModel } from './domainEvent';
19
+ export { DomainTypeModel } from './domainType';
20
20
  export { DomainVerificationModel } from './domainVerification';
21
21
  export { EmbeddingChunkModel } from './embeddingChunk';
22
22
  export { EnumModel } from './enum';
@@ -32,7 +32,6 @@ export { ManagedDomainModel } from './managedDomain';
32
32
  export { NodeTypeRegistryModel } from './nodeTypeRegistry';
33
33
  export { PartitionModel } from './partition';
34
34
  export { PlatformApiModel } from './platformApi';
35
- export { PlatformApiModuleModel } from './platformApiModule';
36
35
  export { PlatformApiSchemaModel } from './platformApiSchema';
37
36
  export { PlatformApiSettingModel } from './platformApiSetting';
38
37
  export { PlatformCorsSettingModel } from './platformCorsSetting';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SiteModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteThemeModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteModel = exports.PlatformManagedDomainModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModuleModel = exports.PlatformApiModel = exports.PartitionModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.IndexModel = exports.HttpRouteModel = exports.HostnameBindingModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.FieldModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.DomainVerificationModel = exports.DomainEventModel = exports.DomainModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AstMigrationModel = exports.ApiSettingModel = exports.ApiSchemaModel = exports.ApiModuleModel = exports.ApiModel = void 0;
4
- exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = void 0;
3
+ exports.SiteMetadatumModel = exports.SiteModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteThemeModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteModel = exports.PlatformManagedDomainModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModel = exports.PartitionModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.IndexModel = exports.HttpRouteModel = exports.HostnameBindingModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.FieldModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.DomainVerificationModel = exports.DomainTypeModel = exports.DomainEventModel = exports.DomainModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AstMigrationModel = exports.ApiSettingModel = exports.ApiSchemaModel = exports.ApiModel = void 0;
4
+ exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteThemeModel = exports.SiteModuleModel = void 0;
5
5
  /**
6
6
  * Models barrel export
7
7
  * @generated by @constructive-io/graphql-codegen
@@ -9,8 +9,6 @@ exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel =
9
9
  */
10
10
  var api_1 = require("./api");
11
11
  Object.defineProperty(exports, "ApiModel", { enumerable: true, get: function () { return api_1.ApiModel; } });
12
- var apiModule_1 = require("./apiModule");
13
- Object.defineProperty(exports, "ApiModuleModel", { enumerable: true, get: function () { return apiModule_1.ApiModuleModel; } });
14
12
  var apiSchema_1 = require("./apiSchema");
15
13
  Object.defineProperty(exports, "ApiSchemaModel", { enumerable: true, get: function () { return apiSchema_1.ApiSchemaModel; } });
16
14
  var apiSetting_1 = require("./apiSetting");
@@ -35,6 +33,8 @@ var domain_1 = require("./domain");
35
33
  Object.defineProperty(exports, "DomainModel", { enumerable: true, get: function () { return domain_1.DomainModel; } });
36
34
  var domainEvent_1 = require("./domainEvent");
37
35
  Object.defineProperty(exports, "DomainEventModel", { enumerable: true, get: function () { return domainEvent_1.DomainEventModel; } });
36
+ var domainType_1 = require("./domainType");
37
+ Object.defineProperty(exports, "DomainTypeModel", { enumerable: true, get: function () { return domainType_1.DomainTypeModel; } });
38
38
  var domainVerification_1 = require("./domainVerification");
39
39
  Object.defineProperty(exports, "DomainVerificationModel", { enumerable: true, get: function () { return domainVerification_1.DomainVerificationModel; } });
40
40
  var embeddingChunk_1 = require("./embeddingChunk");
@@ -65,8 +65,6 @@ var partition_1 = require("./partition");
65
65
  Object.defineProperty(exports, "PartitionModel", { enumerable: true, get: function () { return partition_1.PartitionModel; } });
66
66
  var platformApi_1 = require("./platformApi");
67
67
  Object.defineProperty(exports, "PlatformApiModel", { enumerable: true, get: function () { return platformApi_1.PlatformApiModel; } });
68
- var platformApiModule_1 = require("./platformApiModule");
69
- Object.defineProperty(exports, "PlatformApiModuleModel", { enumerable: true, get: function () { return platformApiModule_1.PlatformApiModuleModel; } });
70
68
  var platformApiSchema_1 = require("./platformApiSchema");
71
69
  Object.defineProperty(exports, "PlatformApiSchemaModel", { enumerable: true, get: function () { return platformApiSchema_1.PlatformApiSchemaModel; } });
72
70
  var platformApiSetting_1 = require("./platformApiSetting");