@constructive-io/react 0.10.16 → 0.10.18

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 (161) hide show
  1. package/esm/public/hooks/index.d.ts +1 -1
  2. package/esm/public/hooks/index.js +1 -1
  3. package/esm/public/hooks/invalidation.d.ts +24 -12
  4. package/esm/public/hooks/invalidation.js +65 -33
  5. package/esm/public/hooks/mutation-keys.d.ts +64 -30
  6. package/esm/public/hooks/mutation-keys.js +55 -23
  7. package/esm/public/hooks/mutations/index.d.ts +16 -5
  8. package/esm/public/hooks/mutations/index.js +16 -5
  9. package/esm/public/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +34 -0
  10. package/esm/public/hooks/mutations/useCreateBlueprintConstructionMutation.js +31 -0
  11. package/esm/public/hooks/mutations/useCreateBlueprintMutation.d.ts +2 -2
  12. package/esm/public/hooks/mutations/useCreateBlueprintMutation.js +1 -1
  13. package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
  14. package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
  15. package/esm/public/hooks/mutations/useCreateStorageModuleMutation.d.ts +34 -0
  16. package/esm/public/hooks/mutations/useCreateStorageModuleMutation.js +31 -0
  17. package/esm/public/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +38 -0
  18. package/esm/public/hooks/mutations/useDeleteBlueprintConstructionMutation.js +36 -0
  19. package/esm/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +2 -2
  20. package/esm/public/hooks/mutations/useDeleteBlueprintMutation.js +1 -1
  21. package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
  22. package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
  23. package/esm/public/hooks/mutations/useDeleteStorageModuleMutation.d.ts +38 -0
  24. package/esm/public/hooks/mutations/useDeleteStorageModuleMutation.js +36 -0
  25. package/esm/public/hooks/mutations/useProvisionFullTextSearchMutation.d.ts +20 -0
  26. package/esm/public/hooks/mutations/useProvisionFullTextSearchMutation.js +23 -0
  27. package/esm/public/hooks/mutations/useProvisionIndexMutation.d.ts +20 -0
  28. package/esm/public/hooks/mutations/useProvisionIndexMutation.js +23 -0
  29. package/esm/public/hooks/mutations/useProvisionRelationMutation.d.ts +20 -0
  30. package/esm/public/hooks/mutations/useProvisionRelationMutation.js +23 -0
  31. package/esm/public/hooks/mutations/useProvisionTableMutation.d.ts +20 -0
  32. package/esm/public/hooks/mutations/useProvisionTableMutation.js +23 -0
  33. package/esm/public/hooks/mutations/useProvisionUniqueConstraintMutation.d.ts +20 -0
  34. package/esm/public/hooks/mutations/useProvisionUniqueConstraintMutation.js +23 -0
  35. package/esm/public/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +40 -0
  36. package/esm/public/hooks/mutations/useUpdateBlueprintConstructionMutation.js +37 -0
  37. package/esm/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +2 -2
  38. package/esm/public/hooks/mutations/useUpdateBlueprintMutation.js +1 -1
  39. package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
  40. package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
  41. package/esm/public/hooks/mutations/useUpdateStorageModuleMutation.d.ts +40 -0
  42. package/esm/public/hooks/mutations/useUpdateStorageModuleMutation.js +37 -0
  43. package/esm/public/hooks/queries/index.d.ts +8 -3
  44. package/esm/public/hooks/queries/index.js +8 -3
  45. package/esm/public/hooks/queries/useBlueprintConstructionQuery.d.ts +65 -0
  46. package/esm/public/hooks/queries/useBlueprintConstructionQuery.js +47 -0
  47. package/esm/public/hooks/queries/useBlueprintConstructionsQuery.d.ts +69 -0
  48. package/esm/public/hooks/queries/useBlueprintConstructionsQuery.js +32 -0
  49. package/esm/public/hooks/queries/useBlueprintQuery.d.ts +4 -4
  50. package/esm/public/hooks/queries/useBlueprintQuery.js +1 -1
  51. package/esm/public/hooks/queries/useBlueprintsQuery.d.ts +4 -4
  52. package/esm/public/hooks/queries/useBlueprintsQuery.js +1 -1
  53. package/esm/public/hooks/queries/useResolveBlueprintTableQuery.d.ts +53 -0
  54. package/esm/public/hooks/queries/useResolveBlueprintTableQuery.js +47 -0
  55. package/esm/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
  56. package/esm/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
  57. package/esm/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
  58. package/esm/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
  59. package/esm/public/hooks/queries/useStorageModuleQuery.d.ts +65 -0
  60. package/esm/public/hooks/queries/useStorageModuleQuery.js +47 -0
  61. package/esm/public/hooks/queries/useStorageModulesQuery.d.ts +69 -0
  62. package/esm/public/hooks/queries/useStorageModulesQuery.js +32 -0
  63. package/esm/public/hooks/query-keys.d.ts +58 -28
  64. package/esm/public/hooks/query-keys.js +33 -16
  65. package/esm/public/orm/index.d.ts +53 -19
  66. package/esm/public/orm/index.js +8 -4
  67. package/esm/public/orm/input-types.d.ts +886 -249
  68. package/esm/public/orm/input-types.js +5 -0
  69. package/esm/public/orm/models/blueprintConstruction.d.ts +56 -0
  70. package/esm/public/orm/models/blueprintConstruction.js +96 -0
  71. package/esm/public/orm/models/index.d.ts +4 -2
  72. package/esm/public/orm/models/index.js +4 -2
  73. package/esm/public/orm/models/storageModule.d.ts +56 -0
  74. package/esm/public/orm/models/storageModule.js +96 -0
  75. package/esm/public/orm/mutation/index.d.ts +86 -26
  76. package/esm/public/orm/mutation/index.js +96 -36
  77. package/esm/public/orm/query/index.d.ts +16 -0
  78. package/esm/public/orm/query/index.js +28 -0
  79. package/esm/public/schema-types.d.ts +990 -645
  80. package/esm/public/types.d.ts +42 -18
  81. package/package.json +3 -3
  82. package/public/hooks/index.d.ts +1 -1
  83. package/public/hooks/index.js +1 -1
  84. package/public/hooks/invalidation.d.ts +24 -12
  85. package/public/hooks/invalidation.js +64 -32
  86. package/public/hooks/mutation-keys.d.ts +64 -30
  87. package/public/hooks/mutation-keys.js +58 -26
  88. package/public/hooks/mutations/index.d.ts +16 -5
  89. package/public/hooks/mutations/index.js +16 -5
  90. package/public/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +34 -0
  91. package/public/hooks/mutations/useCreateBlueprintConstructionMutation.js +34 -0
  92. package/public/hooks/mutations/useCreateBlueprintMutation.d.ts +2 -2
  93. package/public/hooks/mutations/useCreateBlueprintMutation.js +1 -1
  94. package/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
  95. package/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
  96. package/public/hooks/mutations/useCreateStorageModuleMutation.d.ts +34 -0
  97. package/public/hooks/mutations/useCreateStorageModuleMutation.js +34 -0
  98. package/public/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +38 -0
  99. package/public/hooks/mutations/useDeleteBlueprintConstructionMutation.js +39 -0
  100. package/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +2 -2
  101. package/public/hooks/mutations/useDeleteBlueprintMutation.js +1 -1
  102. package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
  103. package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
  104. package/public/hooks/mutations/useDeleteStorageModuleMutation.d.ts +38 -0
  105. package/public/hooks/mutations/useDeleteStorageModuleMutation.js +39 -0
  106. package/public/hooks/mutations/useProvisionFullTextSearchMutation.d.ts +20 -0
  107. package/public/hooks/mutations/useProvisionFullTextSearchMutation.js +26 -0
  108. package/public/hooks/mutations/useProvisionIndexMutation.d.ts +20 -0
  109. package/public/hooks/mutations/useProvisionIndexMutation.js +26 -0
  110. package/public/hooks/mutations/useProvisionRelationMutation.d.ts +20 -0
  111. package/public/hooks/mutations/useProvisionRelationMutation.js +26 -0
  112. package/public/hooks/mutations/useProvisionTableMutation.d.ts +20 -0
  113. package/public/hooks/mutations/useProvisionTableMutation.js +26 -0
  114. package/public/hooks/mutations/useProvisionUniqueConstraintMutation.d.ts +20 -0
  115. package/public/hooks/mutations/useProvisionUniqueConstraintMutation.js +26 -0
  116. package/public/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +40 -0
  117. package/public/hooks/mutations/useUpdateBlueprintConstructionMutation.js +40 -0
  118. package/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +2 -2
  119. package/public/hooks/mutations/useUpdateBlueprintMutation.js +1 -1
  120. package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
  121. package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
  122. package/public/hooks/mutations/useUpdateStorageModuleMutation.d.ts +40 -0
  123. package/public/hooks/mutations/useUpdateStorageModuleMutation.js +40 -0
  124. package/public/hooks/queries/index.d.ts +8 -3
  125. package/public/hooks/queries/index.js +8 -3
  126. package/public/hooks/queries/useBlueprintConstructionQuery.d.ts +65 -0
  127. package/public/hooks/queries/useBlueprintConstructionQuery.js +53 -0
  128. package/public/hooks/queries/useBlueprintConstructionsQuery.d.ts +69 -0
  129. package/public/hooks/queries/useBlueprintConstructionsQuery.js +38 -0
  130. package/public/hooks/queries/useBlueprintQuery.d.ts +4 -4
  131. package/public/hooks/queries/useBlueprintQuery.js +1 -1
  132. package/public/hooks/queries/useBlueprintsQuery.d.ts +4 -4
  133. package/public/hooks/queries/useBlueprintsQuery.js +1 -1
  134. package/public/hooks/queries/useResolveBlueprintTableQuery.d.ts +53 -0
  135. package/public/hooks/queries/useResolveBlueprintTableQuery.js +53 -0
  136. package/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
  137. package/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
  138. package/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
  139. package/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
  140. package/public/hooks/queries/useStorageModuleQuery.d.ts +65 -0
  141. package/public/hooks/queries/useStorageModuleQuery.js +53 -0
  142. package/public/hooks/queries/useStorageModulesQuery.d.ts +69 -0
  143. package/public/hooks/queries/useStorageModulesQuery.js +38 -0
  144. package/public/hooks/query-keys.d.ts +58 -28
  145. package/public/hooks/query-keys.js +36 -19
  146. package/public/orm/index.d.ts +53 -19
  147. package/public/orm/index.js +8 -4
  148. package/public/orm/input-types.d.ts +886 -249
  149. package/public/orm/input-types.js +5 -0
  150. package/public/orm/models/blueprintConstruction.d.ts +56 -0
  151. package/public/orm/models/blueprintConstruction.js +100 -0
  152. package/public/orm/models/index.d.ts +4 -2
  153. package/public/orm/models/index.js +11 -7
  154. package/public/orm/models/storageModule.d.ts +56 -0
  155. package/public/orm/models/storageModule.js +100 -0
  156. package/public/orm/mutation/index.d.ts +86 -26
  157. package/public/orm/mutation/index.js +96 -36
  158. package/public/orm/query/index.d.ts +16 -0
  159. package/public/orm/query/index.js +28 -0
  160. package/public/schema-types.d.ts +990 -645
  161. package/public/types.d.ts +42 -18
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Custom query hook for resolveBlueprintTable
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
7
+ import type { ResolveBlueprintTableVariables } from '../../orm/query';
8
+ export type { ResolveBlueprintTableVariables } from '../../orm/query';
9
+ /** Query key factory - re-exported from query-keys.ts */
10
+ export declare const resolveBlueprintTableQueryKey: (variables?: object) => readonly ["resolveBlueprintTable", object];
11
+ /**
12
+ * Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * const { data, isLoading } = useResolveBlueprintTableQuery({ variables: { databaseId, tableName, schemaName, tableMap, defaultSchemaId } });
17
+ *
18
+ * if (data?.resolveBlueprintTable) {
19
+ * console.log(data.resolveBlueprintTable);
20
+ * }
21
+ * ```
22
+ */
23
+ export declare function useResolveBlueprintTableQuery<TData = {
24
+ resolveBlueprintTable: string | null;
25
+ }>(params?: {
26
+ variables?: ResolveBlueprintTableVariables;
27
+ } & Omit<UseQueryOptions<{
28
+ resolveBlueprintTable: string | null;
29
+ }, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
30
+ /**
31
+ * Fetch resolveBlueprintTable without React hooks
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const data = await fetchResolveBlueprintTableQuery({ variables: { databaseId, tableName, schemaName, tableMap, defaultSchemaId } });
36
+ * ```
37
+ */
38
+ export declare function fetchResolveBlueprintTableQuery(params?: {
39
+ variables?: ResolveBlueprintTableVariables;
40
+ }): Promise<{
41
+ resolveBlueprintTable: string | null;
42
+ }>;
43
+ /**
44
+ * Prefetch resolveBlueprintTable for SSR or cache warming
45
+ *
46
+ * @example
47
+ * ```ts
48
+ * await prefetchResolveBlueprintTableQuery(queryClient, { variables: { databaseId, tableName, schemaName, tableMap, defaultSchemaId } });
49
+ * ```
50
+ */
51
+ export declare function prefetchResolveBlueprintTableQuery(queryClient: QueryClient, params?: {
52
+ variables?: ResolveBlueprintTableVariables;
53
+ }): Promise<void>;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /**
3
+ * Custom query hook for resolveBlueprintTable
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.resolveBlueprintTableQueryKey = void 0;
9
+ exports.useResolveBlueprintTableQuery = useResolveBlueprintTableQuery;
10
+ exports.fetchResolveBlueprintTableQuery = fetchResolveBlueprintTableQuery;
11
+ exports.prefetchResolveBlueprintTableQuery = prefetchResolveBlueprintTableQuery;
12
+ const react_query_1 = require("@tanstack/react-query");
13
+ const client_1 = require("../client");
14
+ const query_keys_1 = require("../query-keys");
15
+ /** Query key factory - re-exported from query-keys.ts */
16
+ exports.resolveBlueprintTableQueryKey = query_keys_1.customQueryKeys.resolveBlueprintTable;
17
+ function useResolveBlueprintTableQuery(params) {
18
+ const variables = params?.variables ?? {};
19
+ const { variables: _variables, ...queryOptions } = params ?? {};
20
+ void _variables;
21
+ return (0, react_query_1.useQuery)({
22
+ queryKey: (0, exports.resolveBlueprintTableQueryKey)(variables),
23
+ queryFn: () => (0, client_1.getClient)().query.resolveBlueprintTable(variables).unwrap(),
24
+ ...queryOptions,
25
+ });
26
+ }
27
+ /**
28
+ * Fetch resolveBlueprintTable without React hooks
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const data = await fetchResolveBlueprintTableQuery({ variables: { databaseId, tableName, schemaName, tableMap, defaultSchemaId } });
33
+ * ```
34
+ */
35
+ async function fetchResolveBlueprintTableQuery(params) {
36
+ const variables = params?.variables ?? {};
37
+ return (0, client_1.getClient)().query.resolveBlueprintTable(variables).unwrap();
38
+ }
39
+ /**
40
+ * Prefetch resolveBlueprintTable for SSR or cache warming
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * await prefetchResolveBlueprintTableQuery(queryClient, { variables: { databaseId, tableName, schemaName, tableMap, defaultSchemaId } });
45
+ * ```
46
+ */
47
+ async function prefetchResolveBlueprintTableQuery(queryClient, params) {
48
+ const variables = params?.variables ?? {};
49
+ await queryClient.prefetchQuery({
50
+ queryKey: (0, exports.resolveBlueprintTableQueryKey)(variables),
51
+ queryFn: () => (0, client_1.getClient)().query.resolveBlueprintTable(variables).unwrap(),
52
+ });
53
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
2
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
@@ -10,7 +10,7 @@ export type { SecureTableProvisionSelect, SecureTableProvisionWithRelations, } f
10
10
  /** Query key factory - re-exported from query-keys.ts */
11
11
  export declare const secureTableProvisionQueryKey: (id: string | number) => readonly ["securetableprovision", "detail", string | number];
12
12
  /**
13
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
13
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
14
14
  *
15
15
  * @example
16
16
  * ```tsx
@@ -31,7 +31,7 @@ export declare function useSecureTableProvisionQuery<S extends SecureTableProvis
31
31
  secureTableProvision: InferSelectResult<SecureTableProvisionWithRelations, S> | null;
32
32
  }, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
33
33
  /**
34
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
34
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
35
35
  *
36
36
  * @example
37
37
  * ```ts
@@ -50,7 +50,7 @@ export declare function fetchSecureTableProvisionQuery<S extends SecureTableProv
50
50
  secureTableProvision: InferSelectResult<SecureTableProvisionWithRelations, S> | null;
51
51
  }>;
52
52
  /**
53
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
53
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
54
54
  *
55
55
  * @example
56
56
  * ```ts
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
3
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
4
4
  * @generated by @constructive-io/graphql-codegen
5
5
  * DO NOT EDIT - changes will be overwritten
6
6
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
2
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
@@ -11,7 +11,7 @@ export type { SecureTableProvisionSelect, SecureTableProvisionWithRelations, Sec
11
11
  /** Query key factory - re-exported from query-keys.ts */
12
12
  export declare const secureTableProvisionsQueryKey: (variables?: object) => readonly ["securetableprovision", "list", object];
13
13
  /**
14
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
14
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
15
15
  *
16
16
  * @example
17
17
  * ```tsx
@@ -35,7 +35,7 @@ export declare function useSecureTableProvisionsQuery<S extends SecureTableProvi
35
35
  secureTableProvisions: ConnectionResult<InferSelectResult<SecureTableProvisionWithRelations, S>>;
36
36
  }, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
37
37
  /**
38
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
38
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
39
39
  *
40
40
  * @example
41
41
  * ```ts
@@ -55,7 +55,7 @@ export declare function fetchSecureTableProvisionsQuery<S extends SecureTablePro
55
55
  secureTableProvisions: ConnectionResult<InferSelectResult<SecureTableProvisionWithRelations, S>>;
56
56
  }>;
57
57
  /**
58
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
58
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
59
59
  *
60
60
  * @example
61
61
  * ```ts
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
3
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
4
4
  * @generated by @constructive-io/graphql-codegen
5
5
  * DO NOT EDIT - changes will be overwritten
6
6
  */
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Single item query hook for StorageModule
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
7
+ import type { StorageModuleSelect, StorageModuleWithRelations } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { StorageModuleSelect, StorageModuleWithRelations } from '../../orm/input-types';
10
+ /** Query key factory - re-exported from query-keys.ts */
11
+ export declare const storageModuleQueryKey: (id: string | number) => readonly ["storagemodule", "detail", string | number];
12
+ /**
13
+ * Query hook for fetching a single StorageModule
14
+ *
15
+ * @example
16
+ * ```tsx
17
+ * const { data, isLoading } = useStorageModuleQuery({
18
+ * id: 'some-id',
19
+ * selection: { fields: { id: true, name: true } },
20
+ * });
21
+ * ```
22
+ */
23
+ export declare function useStorageModuleQuery<S extends StorageModuleSelect, TData = {
24
+ storageModule: InferSelectResult<StorageModuleWithRelations, S> | null;
25
+ }>(params: {
26
+ id: string;
27
+ selection: {
28
+ fields: S;
29
+ } & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
30
+ } & Omit<UseQueryOptions<{
31
+ storageModule: InferSelectResult<StorageModuleWithRelations, S> | null;
32
+ }, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
33
+ /**
34
+ * Fetch a single StorageModule without React hooks
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const data = await fetchStorageModuleQuery({
39
+ * id: 'some-id',
40
+ * selection: { fields: { id: true } },
41
+ * });
42
+ * ```
43
+ */
44
+ export declare function fetchStorageModuleQuery<S extends StorageModuleSelect>(params: {
45
+ id: string;
46
+ selection: {
47
+ fields: S;
48
+ } & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
49
+ }): Promise<{
50
+ storageModule: InferSelectResult<StorageModuleWithRelations, S> | null;
51
+ }>;
52
+ /**
53
+ * Prefetch a single StorageModule for SSR or cache warming
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * await prefetchStorageModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
58
+ * ```
59
+ */
60
+ export declare function prefetchStorageModuleQuery<S extends StorageModuleSelect>(queryClient: QueryClient, params: {
61
+ id: string;
62
+ selection: {
63
+ fields: S;
64
+ } & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
65
+ }): Promise<void>;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /**
3
+ * Single item query hook for StorageModule
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.storageModuleQueryKey = void 0;
9
+ exports.useStorageModuleQuery = useStorageModuleQuery;
10
+ exports.fetchStorageModuleQuery = fetchStorageModuleQuery;
11
+ exports.prefetchStorageModuleQuery = prefetchStorageModuleQuery;
12
+ const react_query_1 = require("@tanstack/react-query");
13
+ const client_1 = require("../client");
14
+ const selection_1 = require("../selection");
15
+ const query_keys_1 = require("../query-keys");
16
+ /** Query key factory - re-exported from query-keys.ts */
17
+ exports.storageModuleQueryKey = query_keys_1.storageModuleKeys.detail;
18
+ function useStorageModuleQuery(params) {
19
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
20
+ const { selection: _selection, ...queryOptions } = params ?? {};
21
+ void _selection;
22
+ return (0, react_query_1.useQuery)({
23
+ queryKey: query_keys_1.storageModuleKeys.detail(params.id),
24
+ queryFn: () => (0, client_1.getClient)()
25
+ .storageModule.findOne({
26
+ id: params.id,
27
+ select: args.select,
28
+ })
29
+ .unwrap(),
30
+ ...queryOptions,
31
+ });
32
+ }
33
+ async function fetchStorageModuleQuery(params) {
34
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
35
+ return (0, client_1.getClient)()
36
+ .storageModule.findOne({
37
+ id: params.id,
38
+ select: args.select,
39
+ })
40
+ .unwrap();
41
+ }
42
+ async function prefetchStorageModuleQuery(queryClient, params) {
43
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
44
+ await queryClient.prefetchQuery({
45
+ queryKey: query_keys_1.storageModuleKeys.detail(params.id),
46
+ queryFn: () => (0, client_1.getClient)()
47
+ .storageModule.findOne({
48
+ id: params.id,
49
+ select: args.select,
50
+ })
51
+ .unwrap(),
52
+ });
53
+ }
@@ -0,0 +1,69 @@
1
+ /**
2
+ * List query hook for StorageModule
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
7
+ import type { ListSelectionConfig } from '../selection';
8
+ import type { StorageModuleSelect, StorageModuleWithRelations, StorageModuleFilter, StorageModuleOrderBy } from '../../orm/input-types';
9
+ import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
10
+ export type { StorageModuleSelect, StorageModuleWithRelations, StorageModuleFilter, StorageModuleOrderBy, } from '../../orm/input-types';
11
+ /** Query key factory - re-exported from query-keys.ts */
12
+ export declare const storageModulesQueryKey: (variables?: object) => readonly ["storagemodule", "list", object];
13
+ /**
14
+ * Query hook for fetching StorageModule list
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * const { data, isLoading } = useStorageModulesQuery({
19
+ * selection: {
20
+ * fields: { id: true, name: true },
21
+ * where: { name: { equalTo: "example" } },
22
+ * orderBy: ['CREATED_AT_DESC'],
23
+ * first: 10,
24
+ * },
25
+ * });
26
+ * ```
27
+ */
28
+ export declare function useStorageModulesQuery<S extends StorageModuleSelect, TData = {
29
+ storageModules: ConnectionResult<InferSelectResult<StorageModuleWithRelations, S>>;
30
+ }>(params: {
31
+ selection: {
32
+ fields: S;
33
+ } & Omit<ListSelectionConfig<S, StorageModuleFilter, StorageModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
34
+ } & Omit<UseQueryOptions<{
35
+ storageModules: ConnectionResult<InferSelectResult<StorageModuleWithRelations, S>>;
36
+ }, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
37
+ /**
38
+ * Fetch StorageModule list without React hooks
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const data = await fetchStorageModulesQuery({
43
+ * selection: {
44
+ * fields: { id: true },
45
+ * first: 10,
46
+ * },
47
+ * });
48
+ * ```
49
+ */
50
+ export declare function fetchStorageModulesQuery<S extends StorageModuleSelect>(params: {
51
+ selection: {
52
+ fields: S;
53
+ } & Omit<ListSelectionConfig<S, StorageModuleFilter, StorageModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
54
+ }): Promise<{
55
+ storageModules: ConnectionResult<InferSelectResult<StorageModuleWithRelations, S>>;
56
+ }>;
57
+ /**
58
+ * Prefetch StorageModule list for SSR or cache warming
59
+ *
60
+ * @example
61
+ * ```ts
62
+ * await prefetchStorageModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
63
+ * ```
64
+ */
65
+ export declare function prefetchStorageModulesQuery<S extends StorageModuleSelect>(queryClient: QueryClient, params: {
66
+ selection: {
67
+ fields: S;
68
+ } & Omit<ListSelectionConfig<S, StorageModuleFilter, StorageModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
69
+ }): Promise<void>;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * List query hook for StorageModule
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.storageModulesQueryKey = void 0;
9
+ exports.useStorageModulesQuery = useStorageModulesQuery;
10
+ exports.fetchStorageModulesQuery = fetchStorageModulesQuery;
11
+ exports.prefetchStorageModulesQuery = prefetchStorageModulesQuery;
12
+ const react_query_1 = require("@tanstack/react-query");
13
+ const client_1 = require("../client");
14
+ const selection_1 = require("../selection");
15
+ const query_keys_1 = require("../query-keys");
16
+ /** Query key factory - re-exported from query-keys.ts */
17
+ exports.storageModulesQueryKey = query_keys_1.storageModuleKeys.list;
18
+ function useStorageModulesQuery(params) {
19
+ const args = (0, selection_1.buildListSelectionArgs)(params.selection);
20
+ const { selection: _selection, ...queryOptions } = params ?? {};
21
+ void _selection;
22
+ return (0, react_query_1.useQuery)({
23
+ queryKey: query_keys_1.storageModuleKeys.list(args),
24
+ queryFn: () => (0, client_1.getClient)().storageModule.findMany(args).unwrap(),
25
+ ...queryOptions,
26
+ });
27
+ }
28
+ async function fetchStorageModulesQuery(params) {
29
+ const args = (0, selection_1.buildListSelectionArgs)(params.selection);
30
+ return (0, client_1.getClient)().storageModule.findMany(args).unwrap();
31
+ }
32
+ async function prefetchStorageModulesQuery(queryClient, params) {
33
+ const args = (0, selection_1.buildListSelectionArgs)(params.selection);
34
+ await queryClient.prefetchQuery({
35
+ queryKey: query_keys_1.storageModuleKeys.list(args),
36
+ queryFn: () => (0, client_1.getClient)().storageModule.findMany(args).unwrap(),
37
+ });
38
+ }
@@ -3,13 +3,6 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- export declare const getAllRecordKeys: {
7
- /** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
8
- /** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
9
- /** List query key with variables */ readonly list: (variables?: object) => readonly ["getallrecord", "list", object];
10
- /** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
11
- /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
12
- };
13
6
  export declare const orgGetManagersRecordKeys: {
14
7
  /** All orgGetManagersRecord queries */ readonly all: readonly ["orggetmanagersrecord"];
15
8
  /** List query keys */ readonly lists: () => readonly ["orggetmanagersrecord", "list"];
@@ -24,6 +17,13 @@ export declare const orgGetSubordinatesRecordKeys: {
24
17
  /** Detail query keys */ readonly details: () => readonly ["orggetsubordinatesrecord", "detail"];
25
18
  /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["orggetsubordinatesrecord", "detail", string | number];
26
19
  };
20
+ export declare const getAllRecordKeys: {
21
+ /** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
22
+ /** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
23
+ /** List query key with variables */ readonly list: (variables?: object) => readonly ["getallrecord", "list", object];
24
+ /** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
25
+ /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
26
+ };
27
27
  export declare const objectKeys: {
28
28
  /** All object queries */ readonly all: readonly ["object"];
29
29
  /** List query keys */ readonly lists: () => readonly ["object", "list"];
@@ -444,6 +444,20 @@ export declare const blueprintTemplateKeys: {
444
444
  /** Detail query keys */ readonly details: () => readonly ["blueprinttemplate", "detail"];
445
445
  /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["blueprinttemplate", "detail", string | number];
446
446
  };
447
+ export declare const blueprintConstructionKeys: {
448
+ /** All blueprintConstruction queries */ readonly all: readonly ["blueprintconstruction"];
449
+ /** List query keys */ readonly lists: () => readonly ["blueprintconstruction", "list"];
450
+ /** List query key with variables */ readonly list: (variables?: object) => readonly ["blueprintconstruction", "list", object];
451
+ /** Detail query keys */ readonly details: () => readonly ["blueprintconstruction", "detail"];
452
+ /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["blueprintconstruction", "detail", string | number];
453
+ };
454
+ export declare const storageModuleKeys: {
455
+ /** All storageModule queries */ readonly all: readonly ["storagemodule"];
456
+ /** List query keys */ readonly lists: () => readonly ["storagemodule", "list"];
457
+ /** List query key with variables */ readonly list: (variables?: object) => readonly ["storagemodule", "list", object];
458
+ /** Detail query keys */ readonly details: () => readonly ["storagemodule", "detail"];
459
+ /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["storagemodule", "detail", string | number];
460
+ };
447
461
  export declare const databaseProvisionModuleKeys: {
448
462
  /** All databaseProvisionModule queries */ readonly all: readonly ["databaseprovisionmodule"];
449
463
  /** List query keys */ readonly lists: () => readonly ["databaseprovisionmodule", "list"];
@@ -654,13 +668,6 @@ export declare const roleTypeKeys: {
654
668
  /** Detail query keys */ readonly details: () => readonly ["roletype", "detail"];
655
669
  /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["roletype", "detail", string | number];
656
670
  };
657
- export declare const migrateFileKeys: {
658
- /** All migrateFile queries */ readonly all: readonly ["migratefile"];
659
- /** List query keys */ readonly lists: () => readonly ["migratefile", "list"];
660
- /** List query key with variables */ readonly list: (variables?: object) => readonly ["migratefile", "list", object];
661
- /** Detail query keys */ readonly details: () => readonly ["migratefile", "detail"];
662
- /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["migratefile", "detail", string | number];
663
- };
664
671
  export declare const appLimitDefaultKeys: {
665
672
  /** All appLimitDefault queries */ readonly all: readonly ["applimitdefault"];
666
673
  /** List query keys */ readonly lists: () => readonly ["applimitdefault", "list"];
@@ -675,6 +682,13 @@ export declare const orgLimitDefaultKeys: {
675
682
  /** Detail query keys */ readonly details: () => readonly ["orglimitdefault", "detail"];
676
683
  /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["orglimitdefault", "detail", string | number];
677
684
  };
685
+ export declare const migrateFileKeys: {
686
+ /** All migrateFile queries */ readonly all: readonly ["migratefile"];
687
+ /** List query keys */ readonly lists: () => readonly ["migratefile", "list"];
688
+ /** List query key with variables */ readonly list: (variables?: object) => readonly ["migratefile", "list", object];
689
+ /** Detail query keys */ readonly details: () => readonly ["migratefile", "detail"];
690
+ /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["migratefile", "detail", string | number];
691
+ };
678
692
  export declare const membershipTypeKeys: {
679
693
  /** All membershipType queries */ readonly all: readonly ["membershiptype"];
680
694
  /** List query keys */ readonly lists: () => readonly ["membershiptype", "list"];
@@ -763,6 +777,7 @@ export declare const customQueryKeys: {
763
777
  /** Query key for orgIsManagerOf */ readonly orgIsManagerOf: (variables?: object) => readonly ["orgIsManagerOf", object];
764
778
  /** Query key for appPermissionsGetMask */ readonly appPermissionsGetMask: (variables?: object) => readonly ["appPermissionsGetMask", object];
765
779
  /** Query key for orgPermissionsGetMask */ readonly orgPermissionsGetMask: (variables?: object) => readonly ["orgPermissionsGetMask", object];
780
+ /** Query key for resolveBlueprintTable */ readonly resolveBlueprintTable: (variables?: object) => readonly ["resolveBlueprintTable", object];
766
781
  /** Query key for appPermissionsGetMaskByNames */ readonly appPermissionsGetMaskByNames: (variables?: object) => readonly ["appPermissionsGetMaskByNames", object];
767
782
  /** Query key for orgPermissionsGetMaskByNames */ readonly orgPermissionsGetMaskByNames: (variables?: object) => readonly ["orgPermissionsGetMaskByNames", object];
768
783
  /** Query key for getAllObjectsFromRoot */ readonly getAllObjectsFromRoot: (variables?: object) => readonly ["getAllObjectsFromRoot", object];
@@ -796,13 +811,6 @@ export declare const customQueryKeys: {
796
811
  * ```
797
812
  */
798
813
  export declare const queryKeys: {
799
- readonly getAllRecord: {
800
- /** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
801
- /** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
802
- /** List query key with variables */ readonly list: (variables?: object) => readonly ["getallrecord", "list", object];
803
- /** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
804
- /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
805
- };
806
814
  readonly orgGetManagersRecord: {
807
815
  /** All orgGetManagersRecord queries */ readonly all: readonly ["orggetmanagersrecord"];
808
816
  /** List query keys */ readonly lists: () => readonly ["orggetmanagersrecord", "list"];
@@ -817,6 +825,13 @@ export declare const queryKeys: {
817
825
  /** Detail query keys */ readonly details: () => readonly ["orggetsubordinatesrecord", "detail"];
818
826
  /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["orggetsubordinatesrecord", "detail", string | number];
819
827
  };
828
+ readonly getAllRecord: {
829
+ /** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
830
+ /** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
831
+ /** List query key with variables */ readonly list: (variables?: object) => readonly ["getallrecord", "list", object];
832
+ /** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
833
+ /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
834
+ };
820
835
  readonly object: {
821
836
  /** All object queries */ readonly all: readonly ["object"];
822
837
  /** List query keys */ readonly lists: () => readonly ["object", "list"];
@@ -1237,6 +1252,20 @@ export declare const queryKeys: {
1237
1252
  /** Detail query keys */ readonly details: () => readonly ["blueprinttemplate", "detail"];
1238
1253
  /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["blueprinttemplate", "detail", string | number];
1239
1254
  };
1255
+ readonly blueprintConstruction: {
1256
+ /** All blueprintConstruction queries */ readonly all: readonly ["blueprintconstruction"];
1257
+ /** List query keys */ readonly lists: () => readonly ["blueprintconstruction", "list"];
1258
+ /** List query key with variables */ readonly list: (variables?: object) => readonly ["blueprintconstruction", "list", object];
1259
+ /** Detail query keys */ readonly details: () => readonly ["blueprintconstruction", "detail"];
1260
+ /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["blueprintconstruction", "detail", string | number];
1261
+ };
1262
+ readonly storageModule: {
1263
+ /** All storageModule queries */ readonly all: readonly ["storagemodule"];
1264
+ /** List query keys */ readonly lists: () => readonly ["storagemodule", "list"];
1265
+ /** List query key with variables */ readonly list: (variables?: object) => readonly ["storagemodule", "list", object];
1266
+ /** Detail query keys */ readonly details: () => readonly ["storagemodule", "detail"];
1267
+ /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["storagemodule", "detail", string | number];
1268
+ };
1240
1269
  readonly databaseProvisionModule: {
1241
1270
  /** All databaseProvisionModule queries */ readonly all: readonly ["databaseprovisionmodule"];
1242
1271
  /** List query keys */ readonly lists: () => readonly ["databaseprovisionmodule", "list"];
@@ -1447,13 +1476,6 @@ export declare const queryKeys: {
1447
1476
  /** Detail query keys */ readonly details: () => readonly ["roletype", "detail"];
1448
1477
  /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["roletype", "detail", string | number];
1449
1478
  };
1450
- readonly migrateFile: {
1451
- /** All migrateFile queries */ readonly all: readonly ["migratefile"];
1452
- /** List query keys */ readonly lists: () => readonly ["migratefile", "list"];
1453
- /** List query key with variables */ readonly list: (variables?: object) => readonly ["migratefile", "list", object];
1454
- /** Detail query keys */ readonly details: () => readonly ["migratefile", "detail"];
1455
- /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["migratefile", "detail", string | number];
1456
- };
1457
1479
  readonly appLimitDefault: {
1458
1480
  /** All appLimitDefault queries */ readonly all: readonly ["applimitdefault"];
1459
1481
  /** List query keys */ readonly lists: () => readonly ["applimitdefault", "list"];
@@ -1468,6 +1490,13 @@ export declare const queryKeys: {
1468
1490
  /** Detail query keys */ readonly details: () => readonly ["orglimitdefault", "detail"];
1469
1491
  /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["orglimitdefault", "detail", string | number];
1470
1492
  };
1493
+ readonly migrateFile: {
1494
+ /** All migrateFile queries */ readonly all: readonly ["migratefile"];
1495
+ /** List query keys */ readonly lists: () => readonly ["migratefile", "list"];
1496
+ /** List query key with variables */ readonly list: (variables?: object) => readonly ["migratefile", "list", object];
1497
+ /** Detail query keys */ readonly details: () => readonly ["migratefile", "detail"];
1498
+ /** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["migratefile", "detail", string | number];
1499
+ };
1471
1500
  readonly membershipType: {
1472
1501
  /** All membershipType queries */ readonly all: readonly ["membershiptype"];
1473
1502
  /** List query keys */ readonly lists: () => readonly ["membershiptype", "list"];
@@ -1556,6 +1585,7 @@ export declare const queryKeys: {
1556
1585
  /** Query key for orgIsManagerOf */ readonly orgIsManagerOf: (variables?: object) => readonly ["orgIsManagerOf", object];
1557
1586
  /** Query key for appPermissionsGetMask */ readonly appPermissionsGetMask: (variables?: object) => readonly ["appPermissionsGetMask", object];
1558
1587
  /** Query key for orgPermissionsGetMask */ readonly orgPermissionsGetMask: (variables?: object) => readonly ["orgPermissionsGetMask", object];
1588
+ /** Query key for resolveBlueprintTable */ readonly resolveBlueprintTable: (variables?: object) => readonly ["resolveBlueprintTable", object];
1559
1589
  /** Query key for appPermissionsGetMaskByNames */ readonly appPermissionsGetMaskByNames: (variables?: object) => readonly ["appPermissionsGetMaskByNames", object];
1560
1590
  /** Query key for orgPermissionsGetMaskByNames */ readonly orgPermissionsGetMaskByNames: (variables?: object) => readonly ["orgPermissionsGetMaskByNames", object];
1561
1591
  /** Query key for getAllObjectsFromRoot */ readonly getAllObjectsFromRoot: (variables?: object) => readonly ["getAllObjectsFromRoot", object];