@constructive-io/react 0.28.3 → 0.29.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.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +120 -120
- package/admin/hooks/invalidation.js +232 -232
- package/admin/hooks/mutation-keys.d.ts +244 -244
- package/admin/hooks/mutation-keys.js +157 -157
- package/admin/hooks/mutations/index.d.ts +63 -63
- package/admin/hooks/mutations/index.js +63 -63
- package/admin/hooks/queries/index.d.ts +47 -47
- package/admin/hooks/queries/index.js +47 -47
- package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
- package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
- package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
- package/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
- package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
- package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
- package/admin/hooks/query-keys.d.ts +296 -296
- package/admin/hooks/query-keys.js +173 -173
- package/admin/orm/index.d.ts +67 -67
- package/admin/orm/index.js +44 -44
- package/admin/orm/input-types.d.ts +3168 -3168
- package/admin/orm/input-types.js +1 -1
- package/admin/orm/models/index.d.ts +22 -22
- package/admin/orm/models/index.js +45 -45
- package/admin/orm/mutation/index.d.ts +12 -12
- package/admin/orm/mutation/index.js +12 -12
- package/admin/orm/query/index.d.ts +47 -47
- package/admin/orm/query/index.js +68 -68
- package/admin/schema-types.d.ts +2497 -2497
- package/admin/types.d.ts +193 -193
- package/agent/hooks/index.d.ts +1 -1
- package/agent/hooks/index.js +1 -1
- package/agent/hooks/invalidation.d.ts +23 -23
- package/agent/hooks/invalidation.js +55 -55
- package/agent/hooks/mutation-keys.d.ts +46 -46
- package/agent/hooks/mutation-keys.js +28 -28
- package/agent/hooks/mutations/index.d.ts +12 -12
- package/agent/hooks/mutations/index.js +12 -12
- package/agent/hooks/queries/index.d.ts +8 -8
- package/agent/hooks/queries/index.js +8 -8
- package/agent/hooks/query-keys.d.ts +54 -54
- package/agent/hooks/query-keys.js +32 -32
- package/agent/orm/index.d.ts +8 -8
- package/agent/orm/index.js +8 -8
- package/agent/orm/input-types.d.ts +1788 -1788
- package/agent/orm/input-types.js +9 -9
- package/agent/orm/models/index.d.ts +4 -4
- package/agent/orm/models/index.js +9 -9
- package/agent/schema-types.d.ts +1226 -1226
- package/agent/types.d.ts +95 -95
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +184 -184
- package/api/hooks/invalidation.js +392 -392
- package/api/hooks/mutation-keys.d.ts +411 -411
- package/api/hooks/mutation-keys.js +227 -227
- package/api/hooks/mutations/index.d.ts +93 -93
- package/api/hooks/mutations/index.js +93 -93
- package/api/hooks/queries/index.d.ts +64 -64
- package/api/hooks/queries/index.js +64 -64
- package/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
- package/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
- package/api/hooks/query-keys.d.ts +466 -466
- package/api/hooks/query-keys.js +251 -251
- package/api/orm/index.d.ts +77 -77
- package/api/orm/index.js +64 -64
- package/api/orm/input-types.d.ts +8781 -8781
- package/api/orm/input-types.js +48 -48
- package/api/orm/models/index.d.ts +32 -32
- package/api/orm/models/index.js +65 -65
- package/api/orm/mutation/index.d.ts +29 -29
- package/api/orm/mutation/index.js +30 -30
- package/api/orm/query/index.d.ts +1 -1
- package/api/orm/query/index.js +4 -4
- package/api/schema-types.d.ts +5628 -5628
- package/api/types.d.ts +435 -435
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +42 -42
- package/auth/hooks/invalidation.js +90 -90
- package/auth/hooks/mutation-keys.d.ts +124 -124
- package/auth/hooks/mutation-keys.js +106 -106
- package/auth/hooks/mutations/index.d.ts +36 -36
- package/auth/hooks/mutations/index.js +36 -36
- package/auth/hooks/queries/index.d.ts +15 -15
- package/auth/hooks/queries/index.js +15 -15
- package/auth/hooks/query-keys.d.ts +102 -102
- package/auth/hooks/query-keys.js +59 -59
- package/auth/orm/index.d.ts +103 -103
- package/auth/orm/index.js +14 -14
- package/auth/orm/input-types.d.ts +2102 -2109
- package/auth/orm/input-types.js +5 -5
- package/auth/orm/models/index.d.ts +7 -7
- package/auth/orm/models/index.js +15 -15
- package/auth/orm/mutation/index.d.ts +138 -138
- package/auth/orm/mutation/index.js +168 -168
- package/auth/orm/query/index.d.ts +10 -10
- package/auth/orm/query/index.js +14 -14
- package/auth/schema-types.d.ts +1602 -1605
- package/auth/types.d.ts +86 -87
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +183 -183
- package/compute/hooks/invalidation.js +391 -391
- package/compute/hooks/mutation-keys.d.ts +388 -388
- package/compute/hooks/mutation-keys.js +300 -300
- package/compute/hooks/mutations/index.d.ts +97 -97
- package/compute/hooks/mutations/index.js +97 -97
- package/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/queries/index.d.ts +59 -59
- package/compute/hooks/queries/index.js +59 -59
- package/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
- package/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
- package/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
- package/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
- package/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
- package/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
- package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
- package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
- package/compute/hooks/query-keys.d.ts +438 -438
- package/compute/hooks/query-keys.js +256 -256
- package/compute/orm/index.d.ts +110 -110
- package/compute/orm/index.js +64 -64
- package/compute/orm/input-types.d.ts +7256 -7037
- package/compute/orm/input-types.js +15 -13
- package/compute/orm/models/index.d.ts +32 -32
- package/compute/orm/models/index.js +65 -65
- package/compute/orm/mutation/index.d.ts +77 -77
- package/compute/orm/mutation/index.js +96 -96
- package/compute/schema-types.d.ts +4950 -4896
- package/compute/types.d.ts +470 -468
- package/config/hooks/index.d.ts +1 -1
- package/config/hooks/index.js +1 -1
- package/config/hooks/invalidation.d.ts +6 -6
- package/config/hooks/invalidation.js +15 -15
- package/config/hooks/mutation-keys.d.ts +24 -24
- package/config/hooks/mutation-keys.js +26 -26
- package/config/hooks/mutations/index.d.ts +9 -9
- package/config/hooks/mutations/index.js +9 -9
- package/config/hooks/queries/index.d.ts +2 -2
- package/config/hooks/queries/index.js +2 -2
- package/config/hooks/query-keys.d.ts +14 -14
- package/config/hooks/query-keys.js +9 -9
- package/config/orm/index.d.ts +30 -30
- package/config/orm/index.js +2 -2
- package/config/orm/input-types.d.ts +416 -416
- package/config/orm/models/index.d.ts +1 -1
- package/config/orm/models/index.js +3 -3
- package/config/orm/mutation/index.d.ts +47 -47
- package/config/orm/mutation/index.js +60 -60
- package/config/schema-types.d.ts +519 -519
- package/config/types.d.ts +35 -35
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +120 -120
- package/esm/admin/hooks/invalidation.js +233 -233
- package/esm/admin/hooks/mutation-keys.d.ts +244 -244
- package/esm/admin/hooks/mutation-keys.js +156 -156
- package/esm/admin/hooks/mutations/index.d.ts +63 -63
- package/esm/admin/hooks/mutations/index.js +63 -63
- package/esm/admin/hooks/queries/index.d.ts +47 -47
- package/esm/admin/hooks/queries/index.js +47 -47
- package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
- package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
- package/esm/admin/hooks/query-keys.d.ts +296 -296
- package/esm/admin/hooks/query-keys.js +172 -172
- package/esm/admin/orm/index.d.ts +67 -67
- package/esm/admin/orm/index.js +44 -44
- package/esm/admin/orm/input-types.d.ts +3168 -3168
- package/esm/admin/orm/input-types.js +1 -1
- package/esm/admin/orm/models/index.d.ts +22 -22
- package/esm/admin/orm/models/index.js +22 -22
- package/esm/admin/orm/mutation/index.d.ts +12 -12
- package/esm/admin/orm/mutation/index.js +12 -12
- package/esm/admin/orm/query/index.d.ts +47 -47
- package/esm/admin/orm/query/index.js +68 -68
- package/esm/admin/schema-types.d.ts +2497 -2497
- package/esm/admin/types.d.ts +193 -193
- package/esm/agent/hooks/index.d.ts +1 -1
- package/esm/agent/hooks/index.js +1 -1
- package/esm/agent/hooks/invalidation.d.ts +23 -23
- package/esm/agent/hooks/invalidation.js +56 -56
- package/esm/agent/hooks/mutation-keys.d.ts +46 -46
- package/esm/agent/hooks/mutation-keys.js +27 -27
- package/esm/agent/hooks/mutations/index.d.ts +12 -12
- package/esm/agent/hooks/mutations/index.js +12 -12
- package/esm/agent/hooks/queries/index.d.ts +8 -8
- package/esm/agent/hooks/queries/index.js +8 -8
- package/esm/agent/hooks/query-keys.d.ts +54 -54
- package/esm/agent/hooks/query-keys.js +31 -31
- package/esm/agent/orm/index.d.ts +8 -8
- package/esm/agent/orm/index.js +8 -8
- package/esm/agent/orm/input-types.d.ts +1788 -1788
- package/esm/agent/orm/input-types.js +9 -9
- package/esm/agent/orm/models/index.d.ts +4 -4
- package/esm/agent/orm/models/index.js +4 -4
- package/esm/agent/schema-types.d.ts +1226 -1226
- package/esm/agent/types.d.ts +95 -95
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +184 -184
- package/esm/api/hooks/invalidation.js +393 -393
- package/esm/api/hooks/mutation-keys.d.ts +411 -411
- package/esm/api/hooks/mutation-keys.js +226 -226
- package/esm/api/hooks/mutations/index.d.ts +93 -93
- package/esm/api/hooks/mutations/index.js +93 -93
- package/esm/api/hooks/queries/index.d.ts +64 -64
- package/esm/api/hooks/queries/index.js +64 -64
- package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
- package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
- package/esm/api/hooks/query-keys.d.ts +466 -466
- package/esm/api/hooks/query-keys.js +250 -250
- package/esm/api/orm/index.d.ts +77 -77
- package/esm/api/orm/index.js +64 -64
- package/esm/api/orm/input-types.d.ts +8781 -8781
- package/esm/api/orm/input-types.js +48 -48
- package/esm/api/orm/models/index.d.ts +32 -32
- package/esm/api/orm/models/index.js +32 -32
- package/esm/api/orm/mutation/index.d.ts +29 -29
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/api/orm/query/index.d.ts +1 -1
- package/esm/api/orm/query/index.js +4 -4
- package/esm/api/schema-types.d.ts +5628 -5628
- package/esm/api/types.d.ts +435 -435
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +42 -42
- package/esm/auth/hooks/invalidation.js +91 -91
- package/esm/auth/hooks/mutation-keys.d.ts +124 -124
- package/esm/auth/hooks/mutation-keys.js +105 -105
- package/esm/auth/hooks/mutations/index.d.ts +36 -36
- package/esm/auth/hooks/mutations/index.js +36 -36
- package/esm/auth/hooks/queries/index.d.ts +15 -15
- package/esm/auth/hooks/queries/index.js +15 -15
- package/esm/auth/hooks/query-keys.d.ts +102 -102
- package/esm/auth/hooks/query-keys.js +58 -58
- package/esm/auth/orm/index.d.ts +103 -103
- package/esm/auth/orm/index.js +14 -14
- package/esm/auth/orm/input-types.d.ts +2102 -2109
- package/esm/auth/orm/input-types.js +5 -5
- package/esm/auth/orm/models/index.d.ts +7 -7
- package/esm/auth/orm/models/index.js +7 -7
- package/esm/auth/orm/mutation/index.d.ts +138 -138
- package/esm/auth/orm/mutation/index.js +168 -168
- package/esm/auth/orm/query/index.d.ts +10 -10
- package/esm/auth/orm/query/index.js +14 -14
- package/esm/auth/schema-types.d.ts +1602 -1605
- package/esm/auth/types.d.ts +86 -87
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +183 -183
- package/esm/compute/hooks/invalidation.js +392 -392
- package/esm/compute/hooks/mutation-keys.d.ts +388 -388
- package/esm/compute/hooks/mutation-keys.js +299 -299
- package/esm/compute/hooks/mutations/index.d.ts +97 -97
- package/esm/compute/hooks/mutations/index.js +97 -97
- package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/queries/index.d.ts +59 -59
- package/esm/compute/hooks/queries/index.js +59 -59
- package/esm/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
- package/esm/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
- package/esm/compute/hooks/query-keys.d.ts +438 -438
- package/esm/compute/hooks/query-keys.js +255 -255
- package/esm/compute/orm/index.d.ts +110 -110
- package/esm/compute/orm/index.js +64 -64
- package/esm/compute/orm/input-types.d.ts +7256 -7037
- package/esm/compute/orm/input-types.js +15 -13
- package/esm/compute/orm/models/index.d.ts +32 -32
- package/esm/compute/orm/models/index.js +32 -32
- package/esm/compute/orm/mutation/index.d.ts +77 -77
- package/esm/compute/orm/mutation/index.js +96 -96
- package/esm/compute/schema-types.d.ts +4950 -4896
- package/esm/compute/types.d.ts +470 -468
- package/esm/config/hooks/index.d.ts +1 -1
- package/esm/config/hooks/index.js +1 -1
- package/esm/config/hooks/invalidation.d.ts +6 -6
- package/esm/config/hooks/invalidation.js +16 -16
- package/esm/config/hooks/mutation-keys.d.ts +24 -24
- package/esm/config/hooks/mutation-keys.js +25 -25
- package/esm/config/hooks/mutations/index.d.ts +9 -9
- package/esm/config/hooks/mutations/index.js +9 -9
- package/esm/config/hooks/queries/index.d.ts +2 -2
- package/esm/config/hooks/queries/index.js +2 -2
- package/esm/config/hooks/query-keys.d.ts +14 -14
- package/esm/config/hooks/query-keys.js +8 -8
- package/esm/config/orm/index.d.ts +30 -30
- package/esm/config/orm/index.js +2 -2
- package/esm/config/orm/input-types.d.ts +416 -416
- package/esm/config/orm/models/index.d.ts +1 -1
- package/esm/config/orm/models/index.js +1 -1
- package/esm/config/orm/mutation/index.d.ts +47 -47
- package/esm/config/orm/mutation/index.js +60 -60
- package/esm/config/schema-types.d.ts +519 -519
- package/esm/config/types.d.ts +35 -35
- package/esm/infra/hooks/index.d.ts +1 -1
- package/esm/infra/hooks/index.js +1 -1
- package/esm/infra/hooks/invalidation.d.ts +28 -28
- package/esm/infra/hooks/invalidation.js +66 -66
- package/esm/infra/hooks/mutation-keys.d.ts +58 -58
- package/esm/infra/hooks/mutation-keys.js +36 -36
- package/esm/infra/hooks/mutations/index.d.ts +16 -16
- package/esm/infra/hooks/mutations/index.js +16 -16
- package/esm/infra/hooks/queries/index.d.ts +10 -10
- package/esm/infra/hooks/queries/index.js +10 -10
- package/esm/infra/hooks/query-keys.d.ts +66 -66
- package/esm/infra/hooks/query-keys.js +38 -38
- package/esm/infra/orm/index.d.ts +15 -15
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +971 -971
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/mutation/index.d.ts +9 -9
- package/esm/infra/orm/mutation/index.js +12 -12
- package/esm/infra/schema-types.d.ts +979 -979
- package/esm/infra/types.d.ts +72 -72
- package/esm/modules/hooks/index.d.ts +1 -1
- package/esm/modules/hooks/index.js +1 -1
- package/esm/modules/hooks/invalidation.d.ts +291 -291
- package/esm/modules/hooks/invalidation.js +563 -563
- package/esm/modules/hooks/mutation-keys.d.ts +602 -602
- package/esm/modules/hooks/mutation-keys.js +384 -384
- package/esm/modules/hooks/mutations/index.d.ts +164 -164
- package/esm/modules/hooks/mutations/index.js +164 -164
- package/esm/modules/hooks/queries/index.d.ts +106 -106
- package/esm/modules/hooks/queries/index.js +106 -106
- package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
- package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
- package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
- package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
- package/esm/modules/hooks/query-keys.d.ts +696 -696
- package/esm/modules/hooks/query-keys.js +399 -399
- package/esm/modules/orm/index.d.ts +126 -126
- package/esm/modules/orm/index.js +106 -106
- package/esm/modules/orm/input-types.d.ts +11482 -11468
- package/esm/modules/orm/input-types.js +1 -1
- package/esm/modules/orm/models/index.d.ts +53 -53
- package/esm/modules/orm/models/index.js +53 -53
- package/esm/modules/orm/mutation/index.d.ts +51 -51
- package/esm/modules/orm/mutation/index.js +42 -42
- package/esm/modules/orm/query/index.d.ts +3 -3
- package/esm/modules/orm/query/index.js +8 -8
- package/esm/modules/schema-types.d.ts +8363 -8355
- package/esm/modules/types.d.ts +1013 -1011
- package/esm/objects/hooks/index.d.ts +1 -1
- package/esm/objects/hooks/index.js +1 -1
- package/esm/objects/hooks/invalidation.d.ts +12 -12
- package/esm/objects/hooks/invalidation.js +33 -33
- package/esm/objects/hooks/mutation-keys.d.ts +26 -26
- package/esm/objects/hooks/mutation-keys.js +17 -17
- package/esm/objects/hooks/mutations/index.d.ts +7 -7
- package/esm/objects/hooks/mutations/index.js +7 -7
- package/esm/objects/hooks/queries/index.d.ts +4 -4
- package/esm/objects/hooks/queries/index.js +4 -4
- package/esm/objects/hooks/query-keys.d.ts +28 -28
- package/esm/objects/hooks/query-keys.js +16 -16
- package/esm/objects/orm/index.d.ts +9 -9
- package/esm/objects/orm/index.js +4 -4
- package/esm/objects/orm/input-types.d.ts +384 -384
- package/esm/objects/orm/models/index.d.ts +2 -2
- package/esm/objects/orm/models/index.js +2 -2
- package/esm/objects/orm/mutation/index.d.ts +9 -9
- package/esm/objects/orm/mutation/index.js +12 -12
- package/esm/objects/schema-types.d.ts +438 -438
- package/esm/objects/types.d.ts +23 -23
- package/esm/usage/hooks/index.d.ts +1 -1
- package/esm/usage/hooks/index.js +1 -1
- package/esm/usage/hooks/invalidation.d.ts +67 -67
- package/esm/usage/hooks/invalidation.js +140 -140
- package/esm/usage/hooks/mutation-keys.d.ts +136 -136
- package/esm/usage/hooks/mutation-keys.js +82 -82
- package/esm/usage/hooks/mutations/index.d.ts +37 -37
- package/esm/usage/hooks/mutations/index.js +37 -37
- package/esm/usage/hooks/queries/index.d.ts +24 -24
- package/esm/usage/hooks/queries/index.js +24 -24
- package/esm/usage/hooks/query-keys.d.ts +158 -158
- package/esm/usage/hooks/query-keys.js +91 -91
- package/esm/usage/orm/index.d.ts +29 -29
- package/esm/usage/orm/index.js +24 -24
- package/esm/usage/orm/input-types.d.ts +2049 -2049
- package/esm/usage/orm/input-types.js +5 -5
- package/esm/usage/orm/models/index.d.ts +12 -12
- package/esm/usage/orm/models/index.js +12 -12
- package/esm/usage/orm/mutation/index.d.ts +16 -16
- package/esm/usage/orm/mutation/index.js +12 -12
- package/esm/usage/schema-types.d.ts +1591 -1591
- package/esm/usage/types.d.ts +99 -99
- package/infra/hooks/index.d.ts +1 -1
- package/infra/hooks/index.js +1 -1
- package/infra/hooks/invalidation.d.ts +28 -28
- package/infra/hooks/invalidation.js +65 -65
- package/infra/hooks/mutation-keys.d.ts +58 -58
- package/infra/hooks/mutation-keys.js +37 -37
- package/infra/hooks/mutations/index.d.ts +16 -16
- package/infra/hooks/mutations/index.js +16 -16
- package/infra/hooks/queries/index.d.ts +10 -10
- package/infra/hooks/queries/index.js +10 -10
- package/infra/hooks/query-keys.d.ts +66 -66
- package/infra/hooks/query-keys.js +39 -39
- package/infra/orm/index.d.ts +15 -15
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +971 -971
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/mutation/index.d.ts +9 -9
- package/infra/orm/mutation/index.js +12 -12
- package/infra/schema-types.d.ts +979 -979
- package/infra/types.d.ts +72 -72
- package/modules/hooks/index.d.ts +1 -1
- package/modules/hooks/index.js +1 -1
- package/modules/hooks/invalidation.d.ts +291 -291
- package/modules/hooks/invalidation.js +562 -562
- package/modules/hooks/mutation-keys.d.ts +602 -602
- package/modules/hooks/mutation-keys.js +386 -386
- package/modules/hooks/mutations/index.d.ts +164 -164
- package/modules/hooks/mutations/index.js +164 -164
- package/modules/hooks/queries/index.d.ts +106 -106
- package/modules/hooks/queries/index.js +106 -106
- package/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
- package/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
- package/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
- package/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
- package/modules/hooks/query-keys.d.ts +696 -696
- package/modules/hooks/query-keys.js +401 -401
- package/modules/orm/index.d.ts +126 -126
- package/modules/orm/index.js +106 -106
- package/modules/orm/input-types.d.ts +11482 -11468
- package/modules/orm/input-types.js +1 -1
- package/modules/orm/models/index.d.ts +53 -53
- package/modules/orm/models/index.js +108 -108
- package/modules/orm/mutation/index.d.ts +51 -51
- package/modules/orm/mutation/index.js +42 -42
- package/modules/orm/query/index.d.ts +3 -3
- package/modules/orm/query/index.js +8 -8
- package/modules/schema-types.d.ts +8363 -8355
- package/modules/types.d.ts +1013 -1011
- package/objects/hooks/index.d.ts +1 -1
- package/objects/hooks/index.js +1 -1
- package/objects/hooks/invalidation.d.ts +12 -12
- package/objects/hooks/invalidation.js +32 -32
- package/objects/hooks/mutation-keys.d.ts +26 -26
- package/objects/hooks/mutation-keys.js +18 -18
- package/objects/hooks/mutations/index.d.ts +7 -7
- package/objects/hooks/mutations/index.js +7 -7
- package/objects/hooks/queries/index.d.ts +4 -4
- package/objects/hooks/queries/index.js +4 -4
- package/objects/hooks/query-keys.d.ts +28 -28
- package/objects/hooks/query-keys.js +17 -17
- package/objects/orm/index.d.ts +9 -9
- package/objects/orm/index.js +4 -4
- package/objects/orm/input-types.d.ts +384 -384
- package/objects/orm/models/index.d.ts +2 -2
- package/objects/orm/models/index.js +5 -5
- package/objects/orm/mutation/index.d.ts +9 -9
- package/objects/orm/mutation/index.js +12 -12
- package/objects/schema-types.d.ts +438 -438
- package/objects/types.d.ts +23 -23
- package/package.json +4 -4
- package/usage/hooks/index.d.ts +1 -1
- package/usage/hooks/index.js +1 -1
- package/usage/hooks/invalidation.d.ts +67 -67
- package/usage/hooks/invalidation.js +139 -139
- package/usage/hooks/mutation-keys.d.ts +136 -136
- package/usage/hooks/mutation-keys.js +83 -83
- package/usage/hooks/mutations/index.d.ts +37 -37
- package/usage/hooks/mutations/index.js +37 -37
- package/usage/hooks/queries/index.d.ts +24 -24
- package/usage/hooks/queries/index.js +24 -24
- package/usage/hooks/query-keys.d.ts +158 -158
- package/usage/hooks/query-keys.js +92 -92
- package/usage/orm/index.d.ts +29 -29
- package/usage/orm/index.js +24 -24
- package/usage/orm/input-types.d.ts +2049 -2049
- package/usage/orm/input-types.js +5 -5
- package/usage/orm/models/index.d.ts +12 -12
- package/usage/orm/models/index.js +25 -25
- package/usage/orm/mutation/index.d.ts +16 -16
- package/usage/orm/mutation/index.js +12 -12
- package/usage/schema-types.d.ts +1591 -1591
- package/usage/types.d.ts +99 -99
package/objects/hooks/index.d.ts
CHANGED
package/objects/hooks/index.js
CHANGED
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
* GraphQL SDK
|
|
19
19
|
* @generated by @constructive-io/graphql-codegen
|
|
20
20
|
*
|
|
21
|
-
* Tables:
|
|
21
|
+
* Tables: Commit, GetAllRecord, Object, Ref, Store
|
|
22
22
|
*
|
|
23
23
|
* Usage:
|
|
24
24
|
*
|
|
@@ -24,11 +24,21 @@ import type { QueryClient } from '@tanstack/react-query';
|
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
26
|
export declare const invalidate: {
|
|
27
|
+
/** Invalidate commit queries */ readonly commit: {
|
|
28
|
+
/** Invalidate all commit queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
29
|
+
/** Invalidate commit list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
30
|
+
/** Invalidate a specific commit */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
31
|
+
};
|
|
27
32
|
/** Invalidate getAllRecord queries */ readonly getAllRecord: {
|
|
28
33
|
/** Invalidate all getAllRecord queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
29
34
|
/** Invalidate getAllRecord list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
30
35
|
/** Invalidate a specific getAllRecord */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
31
36
|
};
|
|
37
|
+
/** Invalidate object queries */ readonly object: {
|
|
38
|
+
/** Invalidate all object queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
39
|
+
/** Invalidate object list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
40
|
+
/** Invalidate a specific object */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
41
|
+
};
|
|
32
42
|
/** Invalidate ref queries */ readonly ref: {
|
|
33
43
|
/** Invalidate all ref queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
34
44
|
/** Invalidate ref list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
@@ -39,16 +49,6 @@ export declare const invalidate: {
|
|
|
39
49
|
/** Invalidate store list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
40
50
|
/** Invalidate a specific store */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
41
51
|
};
|
|
42
|
-
/** Invalidate object queries */ readonly object: {
|
|
43
|
-
/** Invalidate all object queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
44
|
-
/** Invalidate object list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
45
|
-
/** Invalidate a specific object */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
46
|
-
};
|
|
47
|
-
/** Invalidate commit queries */ readonly commit: {
|
|
48
|
-
/** Invalidate all commit queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
49
|
-
/** Invalidate commit list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
50
|
-
/** Invalidate a specific commit */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
51
|
-
};
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
54
|
|
|
@@ -62,9 +62,9 @@ export declare const invalidate: {
|
|
|
62
62
|
* instead of just invalidating (which would trigger a refetch).
|
|
63
63
|
*/
|
|
64
64
|
export declare const remove: {
|
|
65
|
+
/** Remove commit from cache */ readonly commit: (queryClient: QueryClient, id: string | number) => void;
|
|
65
66
|
/** Remove getAllRecord from cache */ readonly getAllRecord: (queryClient: QueryClient, id: string | number) => void;
|
|
67
|
+
/** Remove object from cache */ readonly object: (queryClient: QueryClient, id: string | number) => void;
|
|
66
68
|
/** Remove ref from cache */ readonly ref: (queryClient: QueryClient, id: string | number) => void;
|
|
67
69
|
/** Remove store from cache */ readonly store: (queryClient: QueryClient, id: string | number) => void;
|
|
68
|
-
/** Remove object from cache */ readonly object: (queryClient: QueryClient, id: string | number) => void;
|
|
69
|
-
/** Remove commit from cache */ readonly commit: (queryClient: QueryClient, id: string | number) => void;
|
|
70
70
|
};
|
|
@@ -27,6 +27,17 @@ const query_keys_1 = require("./query-keys");
|
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
exports.invalidate = {
|
|
30
|
+
/** Invalidate commit queries */ commit: {
|
|
31
|
+
/** Invalidate all commit queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
32
|
+
queryKey: query_keys_1.commitKeys.all,
|
|
33
|
+
}),
|
|
34
|
+
/** Invalidate commit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
35
|
+
queryKey: query_keys_1.commitKeys.lists(),
|
|
36
|
+
}),
|
|
37
|
+
/** Invalidate a specific commit */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
38
|
+
queryKey: query_keys_1.commitKeys.detail(id),
|
|
39
|
+
}),
|
|
40
|
+
},
|
|
30
41
|
/** Invalidate getAllRecord queries */ getAllRecord: {
|
|
31
42
|
/** Invalidate all getAllRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
32
43
|
queryKey: query_keys_1.getAllRecordKeys.all,
|
|
@@ -38,6 +49,17 @@ exports.invalidate = {
|
|
|
38
49
|
queryKey: query_keys_1.getAllRecordKeys.detail(id),
|
|
39
50
|
}),
|
|
40
51
|
},
|
|
52
|
+
/** Invalidate object queries */ object: {
|
|
53
|
+
/** Invalidate all object queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
54
|
+
queryKey: query_keys_1.objectKeys.all,
|
|
55
|
+
}),
|
|
56
|
+
/** Invalidate object list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
57
|
+
queryKey: query_keys_1.objectKeys.lists(),
|
|
58
|
+
}),
|
|
59
|
+
/** Invalidate a specific object */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
60
|
+
queryKey: query_keys_1.objectKeys.detail(id),
|
|
61
|
+
}),
|
|
62
|
+
},
|
|
41
63
|
/** Invalidate ref queries */ ref: {
|
|
42
64
|
/** Invalidate all ref queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
43
65
|
queryKey: query_keys_1.refKeys.all,
|
|
@@ -60,28 +82,6 @@ exports.invalidate = {
|
|
|
60
82
|
queryKey: query_keys_1.storeKeys.detail(id),
|
|
61
83
|
}),
|
|
62
84
|
},
|
|
63
|
-
/** Invalidate object queries */ object: {
|
|
64
|
-
/** Invalidate all object queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
65
|
-
queryKey: query_keys_1.objectKeys.all,
|
|
66
|
-
}),
|
|
67
|
-
/** Invalidate object list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
68
|
-
queryKey: query_keys_1.objectKeys.lists(),
|
|
69
|
-
}),
|
|
70
|
-
/** Invalidate a specific object */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
71
|
-
queryKey: query_keys_1.objectKeys.detail(id),
|
|
72
|
-
}),
|
|
73
|
-
},
|
|
74
|
-
/** Invalidate commit queries */ commit: {
|
|
75
|
-
/** Invalidate all commit queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
76
|
-
queryKey: query_keys_1.commitKeys.all,
|
|
77
|
-
}),
|
|
78
|
-
/** Invalidate commit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
79
|
-
queryKey: query_keys_1.commitKeys.lists(),
|
|
80
|
-
}),
|
|
81
|
-
/** Invalidate a specific commit */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
82
|
-
queryKey: query_keys_1.commitKeys.detail(id),
|
|
83
|
-
}),
|
|
84
|
-
},
|
|
85
85
|
};
|
|
86
86
|
/**
|
|
87
87
|
|
|
@@ -95,29 +95,29 @@ exports.invalidate = {
|
|
|
95
95
|
* instead of just invalidating (which would trigger a refetch).
|
|
96
96
|
*/
|
|
97
97
|
exports.remove = {
|
|
98
|
-
/** Remove
|
|
98
|
+
/** Remove commit from cache */ commit: (queryClient, id) => {
|
|
99
99
|
queryClient.removeQueries({
|
|
100
|
-
queryKey: query_keys_1.
|
|
100
|
+
queryKey: query_keys_1.commitKeys.detail(id),
|
|
101
101
|
});
|
|
102
102
|
},
|
|
103
|
-
/** Remove
|
|
103
|
+
/** Remove getAllRecord from cache */ getAllRecord: (queryClient, id) => {
|
|
104
104
|
queryClient.removeQueries({
|
|
105
|
-
queryKey: query_keys_1.
|
|
105
|
+
queryKey: query_keys_1.getAllRecordKeys.detail(id),
|
|
106
106
|
});
|
|
107
107
|
},
|
|
108
|
-
/** Remove
|
|
108
|
+
/** Remove object from cache */ object: (queryClient, id) => {
|
|
109
109
|
queryClient.removeQueries({
|
|
110
|
-
queryKey: query_keys_1.
|
|
110
|
+
queryKey: query_keys_1.objectKeys.detail(id),
|
|
111
111
|
});
|
|
112
112
|
},
|
|
113
|
-
/** Remove
|
|
113
|
+
/** Remove ref from cache */ ref: (queryClient, id) => {
|
|
114
114
|
queryClient.removeQueries({
|
|
115
|
-
queryKey: query_keys_1.
|
|
115
|
+
queryKey: query_keys_1.refKeys.detail(id),
|
|
116
116
|
});
|
|
117
117
|
},
|
|
118
|
-
/** Remove
|
|
118
|
+
/** Remove store from cache */ store: (queryClient, id) => {
|
|
119
119
|
queryClient.removeQueries({
|
|
120
|
-
queryKey: query_keys_1.
|
|
120
|
+
queryKey: query_keys_1.storeKeys.detail(id),
|
|
121
121
|
});
|
|
122
122
|
},
|
|
123
123
|
};
|
|
@@ -3,12 +3,24 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
+
export declare const commitMutationKeys: {
|
|
7
|
+
/** All commit mutation keys */ readonly all: readonly ["mutation", "commit"];
|
|
8
|
+
/** Create commit mutation key */ readonly create: () => readonly ["mutation", "commit", "create"];
|
|
9
|
+
/** Update commit mutation key */ readonly update: (id: string | number) => readonly ["mutation", "commit", "update", string | number];
|
|
10
|
+
/** Delete commit mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "commit", "delete", string | number];
|
|
11
|
+
};
|
|
6
12
|
export declare const getAllRecordMutationKeys: {
|
|
7
13
|
/** All getAllRecord mutation keys */ readonly all: readonly ["mutation", "getallrecord"];
|
|
8
14
|
/** Create getAllRecord mutation key */ readonly create: () => readonly ["mutation", "getallrecord", "create"];
|
|
9
15
|
/** Update getAllRecord mutation key */ readonly update: (id: string | number) => readonly ["mutation", "getallrecord", "update", string | number];
|
|
10
16
|
/** Delete getAllRecord mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "getallrecord", "delete", string | number];
|
|
11
17
|
};
|
|
18
|
+
export declare const objectMutationKeys: {
|
|
19
|
+
/** All object mutation keys */ readonly all: readonly ["mutation", "object"];
|
|
20
|
+
/** Create object mutation key */ readonly create: () => readonly ["mutation", "object", "create"];
|
|
21
|
+
/** Update object mutation key */ readonly update: (id: string | number) => readonly ["mutation", "object", "update", string | number];
|
|
22
|
+
/** Delete object mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "object", "delete", string | number];
|
|
23
|
+
};
|
|
12
24
|
export declare const refMutationKeys: {
|
|
13
25
|
/** All ref mutation keys */ readonly all: readonly ["mutation", "ref"];
|
|
14
26
|
/** Create ref mutation key */ readonly create: () => readonly ["mutation", "ref", "create"];
|
|
@@ -21,23 +33,11 @@ export declare const storeMutationKeys: {
|
|
|
21
33
|
/** Update store mutation key */ readonly update: (id: string | number) => readonly ["mutation", "store", "update", string | number];
|
|
22
34
|
/** Delete store mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "store", "delete", string | number];
|
|
23
35
|
};
|
|
24
|
-
export declare const objectMutationKeys: {
|
|
25
|
-
/** All object mutation keys */ readonly all: readonly ["mutation", "object"];
|
|
26
|
-
/** Create object mutation key */ readonly create: () => readonly ["mutation", "object", "create"];
|
|
27
|
-
/** Update object mutation key */ readonly update: (id: string | number) => readonly ["mutation", "object", "update", string | number];
|
|
28
|
-
/** Delete object mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "object", "delete", string | number];
|
|
29
|
-
};
|
|
30
|
-
export declare const commitMutationKeys: {
|
|
31
|
-
/** All commit mutation keys */ readonly all: readonly ["mutation", "commit"];
|
|
32
|
-
/** Create commit mutation key */ readonly create: () => readonly ["mutation", "commit", "create"];
|
|
33
|
-
/** Update commit mutation key */ readonly update: (id: string | number) => readonly ["mutation", "commit", "update", string | number];
|
|
34
|
-
/** Delete commit mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "commit", "delete", string | number];
|
|
35
|
-
};
|
|
36
36
|
export declare const customMutationKeys: {
|
|
37
37
|
/** Mutation key for initEmptyRepo */ readonly initEmptyRepo: (identifier?: string) => readonly ["mutation", "initEmptyRepo", string] | readonly ["mutation", "initEmptyRepo"];
|
|
38
|
-
/** Mutation key for setDataAtPath */ readonly setDataAtPath: (identifier?: string) => readonly ["mutation", "setDataAtPath", string] | readonly ["mutation", "setDataAtPath"];
|
|
39
38
|
/** Mutation key for insertNodeAtPath */ readonly insertNodeAtPath: (identifier?: string) => readonly ["mutation", "insertNodeAtPath", string] | readonly ["mutation", "insertNodeAtPath"];
|
|
40
39
|
/** Mutation key for provisionBucket */ readonly provisionBucket: (identifier?: string) => readonly ["mutation", "provisionBucket", string] | readonly ["mutation", "provisionBucket"];
|
|
40
|
+
/** Mutation key for setDataAtPath */ readonly setDataAtPath: (identifier?: string) => readonly ["mutation", "setDataAtPath", string] | readonly ["mutation", "setDataAtPath"];
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
|
|
@@ -62,12 +62,24 @@ export declare const customMutationKeys: {
|
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
64
|
export declare const mutationKeys: {
|
|
65
|
+
readonly commit: {
|
|
66
|
+
/** All commit mutation keys */ readonly all: readonly ["mutation", "commit"];
|
|
67
|
+
/** Create commit mutation key */ readonly create: () => readonly ["mutation", "commit", "create"];
|
|
68
|
+
/** Update commit mutation key */ readonly update: (id: string | number) => readonly ["mutation", "commit", "update", string | number];
|
|
69
|
+
/** Delete commit mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "commit", "delete", string | number];
|
|
70
|
+
};
|
|
65
71
|
readonly getAllRecord: {
|
|
66
72
|
/** All getAllRecord mutation keys */ readonly all: readonly ["mutation", "getallrecord"];
|
|
67
73
|
/** Create getAllRecord mutation key */ readonly create: () => readonly ["mutation", "getallrecord", "create"];
|
|
68
74
|
/** Update getAllRecord mutation key */ readonly update: (id: string | number) => readonly ["mutation", "getallrecord", "update", string | number];
|
|
69
75
|
/** Delete getAllRecord mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "getallrecord", "delete", string | number];
|
|
70
76
|
};
|
|
77
|
+
readonly object: {
|
|
78
|
+
/** All object mutation keys */ readonly all: readonly ["mutation", "object"];
|
|
79
|
+
/** Create object mutation key */ readonly create: () => readonly ["mutation", "object", "create"];
|
|
80
|
+
/** Update object mutation key */ readonly update: (id: string | number) => readonly ["mutation", "object", "update", string | number];
|
|
81
|
+
/** Delete object mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "object", "delete", string | number];
|
|
82
|
+
};
|
|
71
83
|
readonly ref: {
|
|
72
84
|
/** All ref mutation keys */ readonly all: readonly ["mutation", "ref"];
|
|
73
85
|
/** Create ref mutation key */ readonly create: () => readonly ["mutation", "ref", "create"];
|
|
@@ -80,22 +92,10 @@ export declare const mutationKeys: {
|
|
|
80
92
|
/** Update store mutation key */ readonly update: (id: string | number) => readonly ["mutation", "store", "update", string | number];
|
|
81
93
|
/** Delete store mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "store", "delete", string | number];
|
|
82
94
|
};
|
|
83
|
-
readonly object: {
|
|
84
|
-
/** All object mutation keys */ readonly all: readonly ["mutation", "object"];
|
|
85
|
-
/** Create object mutation key */ readonly create: () => readonly ["mutation", "object", "create"];
|
|
86
|
-
/** Update object mutation key */ readonly update: (id: string | number) => readonly ["mutation", "object", "update", string | number];
|
|
87
|
-
/** Delete object mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "object", "delete", string | number];
|
|
88
|
-
};
|
|
89
|
-
readonly commit: {
|
|
90
|
-
/** All commit mutation keys */ readonly all: readonly ["mutation", "commit"];
|
|
91
|
-
/** Create commit mutation key */ readonly create: () => readonly ["mutation", "commit", "create"];
|
|
92
|
-
/** Update commit mutation key */ readonly update: (id: string | number) => readonly ["mutation", "commit", "update", string | number];
|
|
93
|
-
/** Delete commit mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "commit", "delete", string | number];
|
|
94
|
-
};
|
|
95
95
|
readonly custom: {
|
|
96
96
|
/** Mutation key for initEmptyRepo */ readonly initEmptyRepo: (identifier?: string) => readonly ["mutation", "initEmptyRepo", string] | readonly ["mutation", "initEmptyRepo"];
|
|
97
|
-
/** Mutation key for setDataAtPath */ readonly setDataAtPath: (identifier?: string) => readonly ["mutation", "setDataAtPath", string] | readonly ["mutation", "setDataAtPath"];
|
|
98
97
|
/** Mutation key for insertNodeAtPath */ readonly insertNodeAtPath: (identifier?: string) => readonly ["mutation", "insertNodeAtPath", string] | readonly ["mutation", "insertNodeAtPath"];
|
|
99
98
|
/** Mutation key for provisionBucket */ readonly provisionBucket: (identifier?: string) => readonly ["mutation", "provisionBucket", string] | readonly ["mutation", "provisionBucket"];
|
|
99
|
+
/** Mutation key for setDataAtPath */ readonly setDataAtPath: (identifier?: string) => readonly ["mutation", "setDataAtPath", string] | readonly ["mutation", "setDataAtPath"];
|
|
100
100
|
};
|
|
101
101
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.mutationKeys = exports.customMutationKeys = exports.
|
|
8
|
+
exports.mutationKeys = exports.customMutationKeys = exports.storeMutationKeys = exports.refMutationKeys = exports.objectMutationKeys = exports.getAllRecordMutationKeys = exports.commitMutationKeys = void 0;
|
|
9
9
|
// ============================================================================
|
|
10
10
|
// Mutation keys for tracking in-flight mutations
|
|
11
11
|
//
|
|
@@ -18,12 +18,24 @@ exports.mutationKeys = exports.customMutationKeys = exports.commitMutationKeys =
|
|
|
18
18
|
// ============================================================================
|
|
19
19
|
// Entity Mutation Keys
|
|
20
20
|
// ============================================================================
|
|
21
|
+
exports.commitMutationKeys = {
|
|
22
|
+
/** All commit mutation keys */ all: ['mutation', 'commit'],
|
|
23
|
+
/** Create commit mutation key */ create: () => ['mutation', 'commit', 'create'],
|
|
24
|
+
/** Update commit mutation key */ update: (id) => ['mutation', 'commit', 'update', id],
|
|
25
|
+
/** Delete commit mutation key */ delete: (id) => ['mutation', 'commit', 'delete', id],
|
|
26
|
+
};
|
|
21
27
|
exports.getAllRecordMutationKeys = {
|
|
22
28
|
/** All getAllRecord mutation keys */ all: ['mutation', 'getallrecord'],
|
|
23
29
|
/** Create getAllRecord mutation key */ create: () => ['mutation', 'getallrecord', 'create'],
|
|
24
30
|
/** Update getAllRecord mutation key */ update: (id) => ['mutation', 'getallrecord', 'update', id],
|
|
25
31
|
/** Delete getAllRecord mutation key */ delete: (id) => ['mutation', 'getallrecord', 'delete', id],
|
|
26
32
|
};
|
|
33
|
+
exports.objectMutationKeys = {
|
|
34
|
+
/** All object mutation keys */ all: ['mutation', 'object'],
|
|
35
|
+
/** Create object mutation key */ create: () => ['mutation', 'object', 'create'],
|
|
36
|
+
/** Update object mutation key */ update: (id) => ['mutation', 'object', 'update', id],
|
|
37
|
+
/** Delete object mutation key */ delete: (id) => ['mutation', 'object', 'delete', id],
|
|
38
|
+
};
|
|
27
39
|
exports.refMutationKeys = {
|
|
28
40
|
/** All ref mutation keys */ all: ['mutation', 'ref'],
|
|
29
41
|
/** Create ref mutation key */ create: () => ['mutation', 'ref', 'create'],
|
|
@@ -36,18 +48,6 @@ exports.storeMutationKeys = {
|
|
|
36
48
|
/** Update store mutation key */ update: (id) => ['mutation', 'store', 'update', id],
|
|
37
49
|
/** Delete store mutation key */ delete: (id) => ['mutation', 'store', 'delete', id],
|
|
38
50
|
};
|
|
39
|
-
exports.objectMutationKeys = {
|
|
40
|
-
/** All object mutation keys */ all: ['mutation', 'object'],
|
|
41
|
-
/** Create object mutation key */ create: () => ['mutation', 'object', 'create'],
|
|
42
|
-
/** Update object mutation key */ update: (id) => ['mutation', 'object', 'update', id],
|
|
43
|
-
/** Delete object mutation key */ delete: (id) => ['mutation', 'object', 'delete', id],
|
|
44
|
-
};
|
|
45
|
-
exports.commitMutationKeys = {
|
|
46
|
-
/** All commit mutation keys */ all: ['mutation', 'commit'],
|
|
47
|
-
/** Create commit mutation key */ create: () => ['mutation', 'commit', 'create'],
|
|
48
|
-
/** Update commit mutation key */ update: (id) => ['mutation', 'commit', 'update', id],
|
|
49
|
-
/** Delete commit mutation key */ delete: (id) => ['mutation', 'commit', 'delete', id],
|
|
50
|
-
};
|
|
51
51
|
// ============================================================================
|
|
52
52
|
// Custom Mutation Keys
|
|
53
53
|
// ============================================================================
|
|
@@ -55,15 +55,15 @@ exports.customMutationKeys = {
|
|
|
55
55
|
/** Mutation key for initEmptyRepo */ initEmptyRepo: (identifier) => identifier
|
|
56
56
|
? ['mutation', 'initEmptyRepo', identifier]
|
|
57
57
|
: ['mutation', 'initEmptyRepo'],
|
|
58
|
-
/** Mutation key for setDataAtPath */ setDataAtPath: (identifier) => identifier
|
|
59
|
-
? ['mutation', 'setDataAtPath', identifier]
|
|
60
|
-
: ['mutation', 'setDataAtPath'],
|
|
61
58
|
/** Mutation key for insertNodeAtPath */ insertNodeAtPath: (identifier) => identifier
|
|
62
59
|
? ['mutation', 'insertNodeAtPath', identifier]
|
|
63
60
|
: ['mutation', 'insertNodeAtPath'],
|
|
64
61
|
/** Mutation key for provisionBucket */ provisionBucket: (identifier) => identifier
|
|
65
62
|
? ['mutation', 'provisionBucket', identifier]
|
|
66
63
|
: ['mutation', 'provisionBucket'],
|
|
64
|
+
/** Mutation key for setDataAtPath */ setDataAtPath: (identifier) => identifier
|
|
65
|
+
? ['mutation', 'setDataAtPath', identifier]
|
|
66
|
+
: ['mutation', 'setDataAtPath'],
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
69
69
|
|
|
@@ -88,10 +88,10 @@ exports.customMutationKeys = {
|
|
|
88
88
|
* ```
|
|
89
89
|
*/
|
|
90
90
|
exports.mutationKeys = {
|
|
91
|
+
commit: exports.commitMutationKeys,
|
|
91
92
|
getAllRecord: exports.getAllRecordMutationKeys,
|
|
93
|
+
object: exports.objectMutationKeys,
|
|
92
94
|
ref: exports.refMutationKeys,
|
|
93
95
|
store: exports.storeMutationKeys,
|
|
94
|
-
object: exports.objectMutationKeys,
|
|
95
|
-
commit: exports.commitMutationKeys,
|
|
96
96
|
custom: exports.customMutationKeys,
|
|
97
97
|
};
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
+
export * from './useCreateCommitMutation';
|
|
7
|
+
export * from './useUpdateCommitMutation';
|
|
8
|
+
export * from './useDeleteCommitMutation';
|
|
6
9
|
export * from './useCreateGetAllRecordMutation';
|
|
10
|
+
export * from './useCreateObjectMutation';
|
|
11
|
+
export * from './useUpdateObjectMutation';
|
|
12
|
+
export * from './useDeleteObjectMutation';
|
|
7
13
|
export * from './useCreateRefMutation';
|
|
8
14
|
export * from './useUpdateRefMutation';
|
|
9
15
|
export * from './useDeleteRefMutation';
|
|
10
16
|
export * from './useCreateStoreMutation';
|
|
11
17
|
export * from './useUpdateStoreMutation';
|
|
12
18
|
export * from './useDeleteStoreMutation';
|
|
13
|
-
export * from './useCreateObjectMutation';
|
|
14
|
-
export * from './useUpdateObjectMutation';
|
|
15
|
-
export * from './useDeleteObjectMutation';
|
|
16
|
-
export * from './useCreateCommitMutation';
|
|
17
|
-
export * from './useUpdateCommitMutation';
|
|
18
|
-
export * from './useDeleteCommitMutation';
|
|
19
19
|
export * from './useInitEmptyRepoMutation';
|
|
20
|
-
export * from './useSetDataAtPathMutation';
|
|
21
20
|
export * from './useInsertNodeAtPathMutation';
|
|
22
21
|
export * from './useProvisionBucketMutation';
|
|
22
|
+
export * from './useSetDataAtPathMutation';
|
|
@@ -19,20 +19,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
* @generated by @constructive-io/graphql-codegen
|
|
20
20
|
* DO NOT EDIT - changes will be overwritten
|
|
21
21
|
*/
|
|
22
|
+
__exportStar(require("./useCreateCommitMutation"), exports);
|
|
23
|
+
__exportStar(require("./useUpdateCommitMutation"), exports);
|
|
24
|
+
__exportStar(require("./useDeleteCommitMutation"), exports);
|
|
22
25
|
__exportStar(require("./useCreateGetAllRecordMutation"), exports);
|
|
26
|
+
__exportStar(require("./useCreateObjectMutation"), exports);
|
|
27
|
+
__exportStar(require("./useUpdateObjectMutation"), exports);
|
|
28
|
+
__exportStar(require("./useDeleteObjectMutation"), exports);
|
|
23
29
|
__exportStar(require("./useCreateRefMutation"), exports);
|
|
24
30
|
__exportStar(require("./useUpdateRefMutation"), exports);
|
|
25
31
|
__exportStar(require("./useDeleteRefMutation"), exports);
|
|
26
32
|
__exportStar(require("./useCreateStoreMutation"), exports);
|
|
27
33
|
__exportStar(require("./useUpdateStoreMutation"), exports);
|
|
28
34
|
__exportStar(require("./useDeleteStoreMutation"), exports);
|
|
29
|
-
__exportStar(require("./useCreateObjectMutation"), exports);
|
|
30
|
-
__exportStar(require("./useUpdateObjectMutation"), exports);
|
|
31
|
-
__exportStar(require("./useDeleteObjectMutation"), exports);
|
|
32
|
-
__exportStar(require("./useCreateCommitMutation"), exports);
|
|
33
|
-
__exportStar(require("./useUpdateCommitMutation"), exports);
|
|
34
|
-
__exportStar(require("./useDeleteCommitMutation"), exports);
|
|
35
35
|
__exportStar(require("./useInitEmptyRepoMutation"), exports);
|
|
36
|
-
__exportStar(require("./useSetDataAtPathMutation"), exports);
|
|
37
36
|
__exportStar(require("./useInsertNodeAtPathMutation"), exports);
|
|
38
37
|
__exportStar(require("./useProvisionBucketMutation"), exports);
|
|
38
|
+
__exportStar(require("./useSetDataAtPathMutation"), exports);
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
+
export * from './useCommitsQuery';
|
|
7
|
+
export * from './useCommitQuery';
|
|
6
8
|
export * from './useGetAllQuery';
|
|
9
|
+
export * from './useObjectsQuery';
|
|
10
|
+
export * from './useObjectQuery';
|
|
7
11
|
export * from './useRefsQuery';
|
|
8
12
|
export * from './useRefQuery';
|
|
9
13
|
export * from './useStoresQuery';
|
|
10
14
|
export * from './useStoreQuery';
|
|
11
|
-
export * from './useObjectsQuery';
|
|
12
|
-
export * from './useObjectQuery';
|
|
13
|
-
export * from './useCommitsQuery';
|
|
14
|
-
export * from './useCommitQuery';
|
|
@@ -19,12 +19,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
* @generated by @constructive-io/graphql-codegen
|
|
20
20
|
* DO NOT EDIT - changes will be overwritten
|
|
21
21
|
*/
|
|
22
|
+
__exportStar(require("./useCommitsQuery"), exports);
|
|
23
|
+
__exportStar(require("./useCommitQuery"), exports);
|
|
22
24
|
__exportStar(require("./useGetAllQuery"), exports);
|
|
25
|
+
__exportStar(require("./useObjectsQuery"), exports);
|
|
26
|
+
__exportStar(require("./useObjectQuery"), exports);
|
|
23
27
|
__exportStar(require("./useRefsQuery"), exports);
|
|
24
28
|
__exportStar(require("./useRefQuery"), exports);
|
|
25
29
|
__exportStar(require("./useStoresQuery"), exports);
|
|
26
30
|
__exportStar(require("./useStoreQuery"), exports);
|
|
27
|
-
__exportStar(require("./useObjectsQuery"), exports);
|
|
28
|
-
__exportStar(require("./useObjectQuery"), exports);
|
|
29
|
-
__exportStar(require("./useCommitsQuery"), exports);
|
|
30
|
-
__exportStar(require("./useCommitQuery"), exports);
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
+
export declare const commitKeys: {
|
|
7
|
+
/** All commit queries */ readonly all: readonly ["commit"];
|
|
8
|
+
/** List query keys */ readonly lists: () => readonly ["commit", "list"];
|
|
9
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["commit", "list", object];
|
|
10
|
+
/** Detail query keys */ readonly details: () => readonly ["commit", "detail"];
|
|
11
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["commit", "detail", string | number];
|
|
12
|
+
};
|
|
6
13
|
export declare const getAllRecordKeys: {
|
|
7
14
|
/** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
|
|
8
15
|
/** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
|
|
@@ -10,6 +17,13 @@ export declare const getAllRecordKeys: {
|
|
|
10
17
|
/** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
|
|
11
18
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
|
|
12
19
|
};
|
|
20
|
+
export declare const objectKeys: {
|
|
21
|
+
/** All object queries */ readonly all: readonly ["object"];
|
|
22
|
+
/** List query keys */ readonly lists: () => readonly ["object", "list"];
|
|
23
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["object", "list", object];
|
|
24
|
+
/** Detail query keys */ readonly details: () => readonly ["object", "detail"];
|
|
25
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["object", "detail", string | number];
|
|
26
|
+
};
|
|
13
27
|
export declare const refKeys: {
|
|
14
28
|
/** All ref queries */ readonly all: readonly ["ref"];
|
|
15
29
|
/** List query keys */ readonly lists: () => readonly ["ref", "list"];
|
|
@@ -24,20 +38,6 @@ export declare const storeKeys: {
|
|
|
24
38
|
/** Detail query keys */ readonly details: () => readonly ["store", "detail"];
|
|
25
39
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["store", "detail", string | number];
|
|
26
40
|
};
|
|
27
|
-
export declare const objectKeys: {
|
|
28
|
-
/** All object queries */ readonly all: readonly ["object"];
|
|
29
|
-
/** List query keys */ readonly lists: () => readonly ["object", "list"];
|
|
30
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["object", "list", object];
|
|
31
|
-
/** Detail query keys */ readonly details: () => readonly ["object", "detail"];
|
|
32
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["object", "detail", string | number];
|
|
33
|
-
};
|
|
34
|
-
export declare const commitKeys: {
|
|
35
|
-
/** All commit queries */ readonly all: readonly ["commit"];
|
|
36
|
-
/** List query keys */ readonly lists: () => readonly ["commit", "list"];
|
|
37
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["commit", "list", object];
|
|
38
|
-
/** Detail query keys */ readonly details: () => readonly ["commit", "detail"];
|
|
39
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["commit", "detail", string | number];
|
|
40
|
-
};
|
|
41
41
|
/**
|
|
42
42
|
|
|
43
43
|
// ============================================================================
|
|
@@ -61,6 +61,13 @@ export declare const commitKeys: {
|
|
|
61
61
|
* ```
|
|
62
62
|
*/
|
|
63
63
|
export declare const queryKeys: {
|
|
64
|
+
readonly commit: {
|
|
65
|
+
/** All commit queries */ readonly all: readonly ["commit"];
|
|
66
|
+
/** List query keys */ readonly lists: () => readonly ["commit", "list"];
|
|
67
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["commit", "list", object];
|
|
68
|
+
/** Detail query keys */ readonly details: () => readonly ["commit", "detail"];
|
|
69
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["commit", "detail", string | number];
|
|
70
|
+
};
|
|
64
71
|
readonly getAllRecord: {
|
|
65
72
|
/** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
|
|
66
73
|
/** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
|
|
@@ -68,6 +75,13 @@ export declare const queryKeys: {
|
|
|
68
75
|
/** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
|
|
69
76
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
|
|
70
77
|
};
|
|
78
|
+
readonly object: {
|
|
79
|
+
/** All object queries */ readonly all: readonly ["object"];
|
|
80
|
+
/** List query keys */ readonly lists: () => readonly ["object", "list"];
|
|
81
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["object", "list", object];
|
|
82
|
+
/** Detail query keys */ readonly details: () => readonly ["object", "detail"];
|
|
83
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["object", "detail", string | number];
|
|
84
|
+
};
|
|
71
85
|
readonly ref: {
|
|
72
86
|
/** All ref queries */ readonly all: readonly ["ref"];
|
|
73
87
|
/** List query keys */ readonly lists: () => readonly ["ref", "list"];
|
|
@@ -82,20 +96,6 @@ export declare const queryKeys: {
|
|
|
82
96
|
/** Detail query keys */ readonly details: () => readonly ["store", "detail"];
|
|
83
97
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["store", "detail", string | number];
|
|
84
98
|
};
|
|
85
|
-
readonly object: {
|
|
86
|
-
/** All object queries */ readonly all: readonly ["object"];
|
|
87
|
-
/** List query keys */ readonly lists: () => readonly ["object", "list"];
|
|
88
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["object", "list", object];
|
|
89
|
-
/** Detail query keys */ readonly details: () => readonly ["object", "detail"];
|
|
90
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["object", "detail", string | number];
|
|
91
|
-
};
|
|
92
|
-
readonly commit: {
|
|
93
|
-
/** All commit queries */ readonly all: readonly ["commit"];
|
|
94
|
-
/** List query keys */ readonly lists: () => readonly ["commit", "list"];
|
|
95
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["commit", "list", object];
|
|
96
|
-
/** Detail query keys */ readonly details: () => readonly ["commit", "detail"];
|
|
97
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["commit", "detail", string | number];
|
|
98
|
-
};
|
|
99
99
|
};
|
|
100
100
|
/** Type representing all available query key scopes */
|
|
101
101
|
export type QueryKeyScope = keyof typeof queryKeys;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.queryKeys = exports.
|
|
8
|
+
exports.queryKeys = exports.storeKeys = exports.refKeys = exports.objectKeys = exports.getAllRecordKeys = exports.commitKeys = void 0;
|
|
9
9
|
// ============================================================================
|
|
10
10
|
// This file provides a centralized, type-safe query key factory following
|
|
11
11
|
// the lukemorales query-key-factory pattern for React Query.
|
|
@@ -19,6 +19,13 @@ exports.queryKeys = exports.commitKeys = exports.objectKeys = exports.storeKeys
|
|
|
19
19
|
// ============================================================================
|
|
20
20
|
// Entity Query Keys
|
|
21
21
|
// ============================================================================
|
|
22
|
+
exports.commitKeys = {
|
|
23
|
+
/** All commit queries */ all: ['commit'],
|
|
24
|
+
/** List query keys */ lists: () => [...exports.commitKeys.all, 'list'],
|
|
25
|
+
/** List query key with variables */ list: (variables) => [...exports.commitKeys.lists(), variables],
|
|
26
|
+
/** Detail query keys */ details: () => [...exports.commitKeys.all, 'detail'],
|
|
27
|
+
/** Detail query key for specific item */ detail: (id) => [...exports.commitKeys.details(), id],
|
|
28
|
+
};
|
|
22
29
|
exports.getAllRecordKeys = {
|
|
23
30
|
/** All getAllRecord queries */ all: ['getallrecord'],
|
|
24
31
|
/** List query keys */ lists: () => [...exports.getAllRecordKeys.all, 'list'],
|
|
@@ -26,6 +33,13 @@ exports.getAllRecordKeys = {
|
|
|
26
33
|
/** Detail query keys */ details: () => [...exports.getAllRecordKeys.all, 'detail'],
|
|
27
34
|
/** Detail query key for specific item */ detail: (id) => [...exports.getAllRecordKeys.details(), id],
|
|
28
35
|
};
|
|
36
|
+
exports.objectKeys = {
|
|
37
|
+
/** All object queries */ all: ['object'],
|
|
38
|
+
/** List query keys */ lists: () => [...exports.objectKeys.all, 'list'],
|
|
39
|
+
/** List query key with variables */ list: (variables) => [...exports.objectKeys.lists(), variables],
|
|
40
|
+
/** Detail query keys */ details: () => [...exports.objectKeys.all, 'detail'],
|
|
41
|
+
/** Detail query key for specific item */ detail: (id) => [...exports.objectKeys.details(), id],
|
|
42
|
+
};
|
|
29
43
|
exports.refKeys = {
|
|
30
44
|
/** All ref queries */ all: ['ref'],
|
|
31
45
|
/** List query keys */ lists: () => [...exports.refKeys.all, 'list'],
|
|
@@ -40,20 +54,6 @@ exports.storeKeys = {
|
|
|
40
54
|
/** Detail query keys */ details: () => [...exports.storeKeys.all, 'detail'],
|
|
41
55
|
/** Detail query key for specific item */ detail: (id) => [...exports.storeKeys.details(), id],
|
|
42
56
|
};
|
|
43
|
-
exports.objectKeys = {
|
|
44
|
-
/** All object queries */ all: ['object'],
|
|
45
|
-
/** List query keys */ lists: () => [...exports.objectKeys.all, 'list'],
|
|
46
|
-
/** List query key with variables */ list: (variables) => [...exports.objectKeys.lists(), variables],
|
|
47
|
-
/** Detail query keys */ details: () => [...exports.objectKeys.all, 'detail'],
|
|
48
|
-
/** Detail query key for specific item */ detail: (id) => [...exports.objectKeys.details(), id],
|
|
49
|
-
};
|
|
50
|
-
exports.commitKeys = {
|
|
51
|
-
/** All commit queries */ all: ['commit'],
|
|
52
|
-
/** List query keys */ lists: () => [...exports.commitKeys.all, 'list'],
|
|
53
|
-
/** List query key with variables */ list: (variables) => [...exports.commitKeys.lists(), variables],
|
|
54
|
-
/** Detail query keys */ details: () => [...exports.commitKeys.all, 'detail'],
|
|
55
|
-
/** Detail query key for specific item */ detail: (id) => [...exports.commitKeys.details(), id],
|
|
56
|
-
};
|
|
57
57
|
/**
|
|
58
58
|
|
|
59
59
|
// ============================================================================
|
|
@@ -77,9 +77,9 @@ exports.commitKeys = {
|
|
|
77
77
|
* ```
|
|
78
78
|
*/
|
|
79
79
|
exports.queryKeys = {
|
|
80
|
+
commit: exports.commitKeys,
|
|
80
81
|
getAllRecord: exports.getAllRecordKeys,
|
|
82
|
+
object: exports.objectKeys,
|
|
81
83
|
ref: exports.refKeys,
|
|
82
84
|
store: exports.storeKeys,
|
|
83
|
-
object: exports.objectKeys,
|
|
84
|
-
commit: exports.commitKeys,
|
|
85
85
|
};
|