@constructive-io/react 0.28.2 → 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
|
@@ -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
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { commitKeys, getAllRecordKeys, objectKeys, refKeys, storeKeys } from './query-keys';
|
|
7
7
|
/**
|
|
8
8
|
// ============================================================================
|
|
9
9
|
// Invalidation Helpers
|
|
@@ -24,6 +24,17 @@ import { getAllRecordKeys, refKeys, storeKeys, objectKeys, commitKeys } from './
|
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
26
|
export const invalidate = {
|
|
27
|
+
/** Invalidate commit queries */ commit: {
|
|
28
|
+
/** Invalidate all commit queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
29
|
+
queryKey: commitKeys.all,
|
|
30
|
+
}),
|
|
31
|
+
/** Invalidate commit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
32
|
+
queryKey: commitKeys.lists(),
|
|
33
|
+
}),
|
|
34
|
+
/** Invalidate a specific commit */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
35
|
+
queryKey: commitKeys.detail(id),
|
|
36
|
+
}),
|
|
37
|
+
},
|
|
27
38
|
/** Invalidate getAllRecord queries */ getAllRecord: {
|
|
28
39
|
/** Invalidate all getAllRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
29
40
|
queryKey: getAllRecordKeys.all,
|
|
@@ -35,6 +46,17 @@ export const invalidate = {
|
|
|
35
46
|
queryKey: getAllRecordKeys.detail(id),
|
|
36
47
|
}),
|
|
37
48
|
},
|
|
49
|
+
/** Invalidate object queries */ object: {
|
|
50
|
+
/** Invalidate all object queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
51
|
+
queryKey: objectKeys.all,
|
|
52
|
+
}),
|
|
53
|
+
/** Invalidate object list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
54
|
+
queryKey: objectKeys.lists(),
|
|
55
|
+
}),
|
|
56
|
+
/** Invalidate a specific object */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
57
|
+
queryKey: objectKeys.detail(id),
|
|
58
|
+
}),
|
|
59
|
+
},
|
|
38
60
|
/** Invalidate ref queries */ ref: {
|
|
39
61
|
/** Invalidate all ref queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
40
62
|
queryKey: refKeys.all,
|
|
@@ -57,28 +79,6 @@ export const invalidate = {
|
|
|
57
79
|
queryKey: storeKeys.detail(id),
|
|
58
80
|
}),
|
|
59
81
|
},
|
|
60
|
-
/** Invalidate object queries */ object: {
|
|
61
|
-
/** Invalidate all object queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
62
|
-
queryKey: objectKeys.all,
|
|
63
|
-
}),
|
|
64
|
-
/** Invalidate object list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
65
|
-
queryKey: objectKeys.lists(),
|
|
66
|
-
}),
|
|
67
|
-
/** Invalidate a specific object */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
68
|
-
queryKey: objectKeys.detail(id),
|
|
69
|
-
}),
|
|
70
|
-
},
|
|
71
|
-
/** Invalidate commit queries */ commit: {
|
|
72
|
-
/** Invalidate all commit queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
73
|
-
queryKey: commitKeys.all,
|
|
74
|
-
}),
|
|
75
|
-
/** Invalidate commit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
76
|
-
queryKey: commitKeys.lists(),
|
|
77
|
-
}),
|
|
78
|
-
/** Invalidate a specific commit */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
79
|
-
queryKey: commitKeys.detail(id),
|
|
80
|
-
}),
|
|
81
|
-
},
|
|
82
82
|
};
|
|
83
83
|
/**
|
|
84
84
|
|
|
@@ -92,29 +92,29 @@ export const invalidate = {
|
|
|
92
92
|
* instead of just invalidating (which would trigger a refetch).
|
|
93
93
|
*/
|
|
94
94
|
export const remove = {
|
|
95
|
-
/** Remove
|
|
95
|
+
/** Remove commit from cache */ commit: (queryClient, id) => {
|
|
96
96
|
queryClient.removeQueries({
|
|
97
|
-
queryKey:
|
|
97
|
+
queryKey: commitKeys.detail(id),
|
|
98
98
|
});
|
|
99
99
|
},
|
|
100
|
-
/** Remove
|
|
100
|
+
/** Remove getAllRecord from cache */ getAllRecord: (queryClient, id) => {
|
|
101
101
|
queryClient.removeQueries({
|
|
102
|
-
queryKey:
|
|
102
|
+
queryKey: getAllRecordKeys.detail(id),
|
|
103
103
|
});
|
|
104
104
|
},
|
|
105
|
-
/** Remove
|
|
105
|
+
/** Remove object from cache */ object: (queryClient, id) => {
|
|
106
106
|
queryClient.removeQueries({
|
|
107
|
-
queryKey:
|
|
107
|
+
queryKey: objectKeys.detail(id),
|
|
108
108
|
});
|
|
109
109
|
},
|
|
110
|
-
/** Remove
|
|
110
|
+
/** Remove ref from cache */ ref: (queryClient, id) => {
|
|
111
111
|
queryClient.removeQueries({
|
|
112
|
-
queryKey:
|
|
112
|
+
queryKey: refKeys.detail(id),
|
|
113
113
|
});
|
|
114
114
|
},
|
|
115
|
-
/** Remove
|
|
115
|
+
/** Remove store from cache */ store: (queryClient, id) => {
|
|
116
116
|
queryClient.removeQueries({
|
|
117
|
-
queryKey:
|
|
117
|
+
queryKey: storeKeys.detail(id),
|
|
118
118
|
});
|
|
119
119
|
},
|
|
120
120
|
};
|
|
@@ -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
|
};
|
|
@@ -15,12 +15,24 @@
|
|
|
15
15
|
// ============================================================================
|
|
16
16
|
// Entity Mutation Keys
|
|
17
17
|
// ============================================================================
|
|
18
|
+
export const commitMutationKeys = {
|
|
19
|
+
/** All commit mutation keys */ all: ['mutation', 'commit'],
|
|
20
|
+
/** Create commit mutation key */ create: () => ['mutation', 'commit', 'create'],
|
|
21
|
+
/** Update commit mutation key */ update: (id) => ['mutation', 'commit', 'update', id],
|
|
22
|
+
/** Delete commit mutation key */ delete: (id) => ['mutation', 'commit', 'delete', id],
|
|
23
|
+
};
|
|
18
24
|
export const getAllRecordMutationKeys = {
|
|
19
25
|
/** All getAllRecord mutation keys */ all: ['mutation', 'getallrecord'],
|
|
20
26
|
/** Create getAllRecord mutation key */ create: () => ['mutation', 'getallrecord', 'create'],
|
|
21
27
|
/** Update getAllRecord mutation key */ update: (id) => ['mutation', 'getallrecord', 'update', id],
|
|
22
28
|
/** Delete getAllRecord mutation key */ delete: (id) => ['mutation', 'getallrecord', 'delete', id],
|
|
23
29
|
};
|
|
30
|
+
export const objectMutationKeys = {
|
|
31
|
+
/** All object mutation keys */ all: ['mutation', 'object'],
|
|
32
|
+
/** Create object mutation key */ create: () => ['mutation', 'object', 'create'],
|
|
33
|
+
/** Update object mutation key */ update: (id) => ['mutation', 'object', 'update', id],
|
|
34
|
+
/** Delete object mutation key */ delete: (id) => ['mutation', 'object', 'delete', id],
|
|
35
|
+
};
|
|
24
36
|
export const refMutationKeys = {
|
|
25
37
|
/** All ref mutation keys */ all: ['mutation', 'ref'],
|
|
26
38
|
/** Create ref mutation key */ create: () => ['mutation', 'ref', 'create'],
|
|
@@ -33,18 +45,6 @@ export const storeMutationKeys = {
|
|
|
33
45
|
/** Update store mutation key */ update: (id) => ['mutation', 'store', 'update', id],
|
|
34
46
|
/** Delete store mutation key */ delete: (id) => ['mutation', 'store', 'delete', id],
|
|
35
47
|
};
|
|
36
|
-
export const objectMutationKeys = {
|
|
37
|
-
/** All object mutation keys */ all: ['mutation', 'object'],
|
|
38
|
-
/** Create object mutation key */ create: () => ['mutation', 'object', 'create'],
|
|
39
|
-
/** Update object mutation key */ update: (id) => ['mutation', 'object', 'update', id],
|
|
40
|
-
/** Delete object mutation key */ delete: (id) => ['mutation', 'object', 'delete', id],
|
|
41
|
-
};
|
|
42
|
-
export const commitMutationKeys = {
|
|
43
|
-
/** All commit mutation keys */ all: ['mutation', 'commit'],
|
|
44
|
-
/** Create commit mutation key */ create: () => ['mutation', 'commit', 'create'],
|
|
45
|
-
/** Update commit mutation key */ update: (id) => ['mutation', 'commit', 'update', id],
|
|
46
|
-
/** Delete commit mutation key */ delete: (id) => ['mutation', 'commit', 'delete', id],
|
|
47
|
-
};
|
|
48
48
|
// ============================================================================
|
|
49
49
|
// Custom Mutation Keys
|
|
50
50
|
// ============================================================================
|
|
@@ -52,15 +52,15 @@ export const customMutationKeys = {
|
|
|
52
52
|
/** Mutation key for initEmptyRepo */ initEmptyRepo: (identifier) => identifier
|
|
53
53
|
? ['mutation', 'initEmptyRepo', identifier]
|
|
54
54
|
: ['mutation', 'initEmptyRepo'],
|
|
55
|
-
/** Mutation key for setDataAtPath */ setDataAtPath: (identifier) => identifier
|
|
56
|
-
? ['mutation', 'setDataAtPath', identifier]
|
|
57
|
-
: ['mutation', 'setDataAtPath'],
|
|
58
55
|
/** Mutation key for insertNodeAtPath */ insertNodeAtPath: (identifier) => identifier
|
|
59
56
|
? ['mutation', 'insertNodeAtPath', identifier]
|
|
60
57
|
: ['mutation', 'insertNodeAtPath'],
|
|
61
58
|
/** Mutation key for provisionBucket */ provisionBucket: (identifier) => identifier
|
|
62
59
|
? ['mutation', 'provisionBucket', identifier]
|
|
63
60
|
: ['mutation', 'provisionBucket'],
|
|
61
|
+
/** Mutation key for setDataAtPath */ setDataAtPath: (identifier) => identifier
|
|
62
|
+
? ['mutation', 'setDataAtPath', identifier]
|
|
63
|
+
: ['mutation', 'setDataAtPath'],
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
66
|
|
|
@@ -85,10 +85,10 @@ export const customMutationKeys = {
|
|
|
85
85
|
* ```
|
|
86
86
|
*/
|
|
87
87
|
export const mutationKeys = {
|
|
88
|
+
commit: commitMutationKeys,
|
|
88
89
|
getAllRecord: getAllRecordMutationKeys,
|
|
90
|
+
object: objectMutationKeys,
|
|
89
91
|
ref: refMutationKeys,
|
|
90
92
|
store: storeMutationKeys,
|
|
91
|
-
object: objectMutationKeys,
|
|
92
|
-
commit: commitMutationKeys,
|
|
93
93
|
custom: customMutationKeys,
|
|
94
94
|
};
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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;
|
|
@@ -16,6 +16,13 @@
|
|
|
16
16
|
// ============================================================================
|
|
17
17
|
// Entity Query Keys
|
|
18
18
|
// ============================================================================
|
|
19
|
+
export const commitKeys = {
|
|
20
|
+
/** All commit queries */ all: ['commit'],
|
|
21
|
+
/** List query keys */ lists: () => [...commitKeys.all, 'list'],
|
|
22
|
+
/** List query key with variables */ list: (variables) => [...commitKeys.lists(), variables],
|
|
23
|
+
/** Detail query keys */ details: () => [...commitKeys.all, 'detail'],
|
|
24
|
+
/** Detail query key for specific item */ detail: (id) => [...commitKeys.details(), id],
|
|
25
|
+
};
|
|
19
26
|
export const getAllRecordKeys = {
|
|
20
27
|
/** All getAllRecord queries */ all: ['getallrecord'],
|
|
21
28
|
/** List query keys */ lists: () => [...getAllRecordKeys.all, 'list'],
|
|
@@ -23,6 +30,13 @@ export const getAllRecordKeys = {
|
|
|
23
30
|
/** Detail query keys */ details: () => [...getAllRecordKeys.all, 'detail'],
|
|
24
31
|
/** Detail query key for specific item */ detail: (id) => [...getAllRecordKeys.details(), id],
|
|
25
32
|
};
|
|
33
|
+
export const objectKeys = {
|
|
34
|
+
/** All object queries */ all: ['object'],
|
|
35
|
+
/** List query keys */ lists: () => [...objectKeys.all, 'list'],
|
|
36
|
+
/** List query key with variables */ list: (variables) => [...objectKeys.lists(), variables],
|
|
37
|
+
/** Detail query keys */ details: () => [...objectKeys.all, 'detail'],
|
|
38
|
+
/** Detail query key for specific item */ detail: (id) => [...objectKeys.details(), id],
|
|
39
|
+
};
|
|
26
40
|
export const refKeys = {
|
|
27
41
|
/** All ref queries */ all: ['ref'],
|
|
28
42
|
/** List query keys */ lists: () => [...refKeys.all, 'list'],
|
|
@@ -37,20 +51,6 @@ export const storeKeys = {
|
|
|
37
51
|
/** Detail query keys */ details: () => [...storeKeys.all, 'detail'],
|
|
38
52
|
/** Detail query key for specific item */ detail: (id) => [...storeKeys.details(), id],
|
|
39
53
|
};
|
|
40
|
-
export const objectKeys = {
|
|
41
|
-
/** All object queries */ all: ['object'],
|
|
42
|
-
/** List query keys */ lists: () => [...objectKeys.all, 'list'],
|
|
43
|
-
/** List query key with variables */ list: (variables) => [...objectKeys.lists(), variables],
|
|
44
|
-
/** Detail query keys */ details: () => [...objectKeys.all, 'detail'],
|
|
45
|
-
/** Detail query key for specific item */ detail: (id) => [...objectKeys.details(), id],
|
|
46
|
-
};
|
|
47
|
-
export const commitKeys = {
|
|
48
|
-
/** All commit queries */ all: ['commit'],
|
|
49
|
-
/** List query keys */ lists: () => [...commitKeys.all, 'list'],
|
|
50
|
-
/** List query key with variables */ list: (variables) => [...commitKeys.lists(), variables],
|
|
51
|
-
/** Detail query keys */ details: () => [...commitKeys.all, 'detail'],
|
|
52
|
-
/** Detail query key for specific item */ detail: (id) => [...commitKeys.details(), id],
|
|
53
|
-
};
|
|
54
54
|
/**
|
|
55
55
|
|
|
56
56
|
// ============================================================================
|
|
@@ -74,9 +74,9 @@ export const commitKeys = {
|
|
|
74
74
|
* ```
|
|
75
75
|
*/
|
|
76
76
|
export const queryKeys = {
|
|
77
|
+
commit: commitKeys,
|
|
77
78
|
getAllRecord: getAllRecordKeys,
|
|
79
|
+
object: objectKeys,
|
|
78
80
|
ref: refKeys,
|
|
79
81
|
store: storeKeys,
|
|
80
|
-
object: objectKeys,
|
|
81
|
-
commit: commitKeys,
|
|
82
82
|
};
|