@smartive/graphql-magic 22.2.1 → 22.2.2
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/.github/workflows/docs.yml +3 -3
- package/.github/workflows/release.yml +3 -3
- package/.github/workflows/testing.yml +6 -2
- package/.nvmrc +1 -1
- package/CHANGELOG.md +6 -3
- package/docker-compose.yml +1 -2
- package/eslint.config.mjs +54 -51
- package/package.json +5 -6
- package/tests/api/__snapshots__/delete.spec.ts.snap +1 -1
- package/tests/api/__snapshots__/inheritance.spec.ts.snap +1 -1
- package/tests/api/__snapshots__/query.spec.ts.snap +1 -1
- package/tests/generated/client/index.ts +22 -33
- package/tests/unit/__snapshots__/resolve.spec.ts.snap +1 -1
|
@@ -8,14 +8,14 @@ jobs:
|
|
|
8
8
|
docs:
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
10
|
steps:
|
|
11
|
-
- uses: actions/checkout@
|
|
11
|
+
- uses: actions/checkout@v6
|
|
12
12
|
with:
|
|
13
13
|
persist-credentials: false
|
|
14
14
|
|
|
15
15
|
- name: Setup Node
|
|
16
|
-
uses: actions/setup-node@
|
|
16
|
+
uses: actions/setup-node@v6
|
|
17
17
|
with:
|
|
18
|
-
node-version: '
|
|
18
|
+
node-version: '24'
|
|
19
19
|
- name: Install and Build
|
|
20
20
|
run: |
|
|
21
21
|
cd docs
|
|
@@ -10,12 +10,12 @@ jobs:
|
|
|
10
10
|
name: build and release
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@v6
|
|
14
14
|
with:
|
|
15
15
|
submodules: true
|
|
16
|
-
- uses: actions/setup-node@
|
|
16
|
+
- uses: actions/setup-node@v6
|
|
17
17
|
with:
|
|
18
|
-
node-version:
|
|
18
|
+
node-version: 24
|
|
19
19
|
- run: npm ci
|
|
20
20
|
- run: npm run build
|
|
21
21
|
- name: semantic release
|
|
@@ -15,9 +15,13 @@ jobs:
|
|
|
15
15
|
matrix:
|
|
16
16
|
node:
|
|
17
17
|
- version: 22
|
|
18
|
+
- version: 24
|
|
18
19
|
postgres:
|
|
19
|
-
- version: 13
|
|
20
20
|
- version: 14
|
|
21
|
+
- version: 15
|
|
22
|
+
- version: 16
|
|
23
|
+
- version: 17
|
|
24
|
+
- version: 18
|
|
21
25
|
name: test and build package (node ${{ matrix.node.version }}, postgres ${{ matrix.postgres.version }})
|
|
22
26
|
runs-on: ubuntu-latest
|
|
23
27
|
container: node:${{ matrix.node.version }}-alpine
|
|
@@ -40,7 +44,7 @@ jobs:
|
|
|
40
44
|
|
|
41
45
|
steps:
|
|
42
46
|
- name: Checkout code
|
|
43
|
-
uses: actions/checkout@
|
|
47
|
+
uses: actions/checkout@v6
|
|
44
48
|
- name: Install dependencies
|
|
45
49
|
run: npm ci
|
|
46
50
|
- name: Lint
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
24
|
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
## <small>22.2.
|
|
1
|
+
## <small>22.2.2 (2025-12-02)</small>
|
|
2
2
|
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* fix(deps): update typescript typings (major) (#311) ([c80bad1](https://github.com/smartive/graphql-magic/commit/c80bad1)), closes [#311](https://github.com/smartive/graphql-magic/issues/311)
|
|
4
|
+
* chore: add support for PostgreSQL 18 (#391) ([30e5113](https://github.com/smartive/graphql-magic/commit/30e5113)), closes [#391](https://github.com/smartive/graphql-magic/issues/391)
|
|
5
|
+
* chore(deps): update dependency @smartive/eslint-config to v7 (#375) ([87f11a5](https://github.com/smartive/graphql-magic/commit/87f11a5)), closes [#375](https://github.com/smartive/graphql-magic/issues/375)
|
|
6
|
+
* chore(deps): update dependency jest to v30 (#392) ([8caf454](https://github.com/smartive/graphql-magic/commit/8caf454)), closes [#392](https://github.com/smartive/graphql-magic/issues/392)
|
|
7
|
+
* chore(deps): update node.js to v24 (#372) ([90ff619](https://github.com/smartive/graphql-magic/commit/90ff619)), closes [#372](https://github.com/smartive/graphql-magic/issues/372)
|
package/docker-compose.yml
CHANGED
package/eslint.config.mjs
CHANGED
|
@@ -1,60 +1,63 @@
|
|
|
1
|
-
import { config } from
|
|
2
|
-
import tsParser from
|
|
1
|
+
import { config } from '@smartive/eslint-config';
|
|
2
|
+
import tsParser from '@typescript-eslint/parser';
|
|
3
3
|
|
|
4
4
|
export default [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
...config('typescript'),
|
|
6
|
+
{
|
|
7
|
+
files: ['src/**/*.ts', 'tests/**/*.ts'],
|
|
8
|
+
languageOptions: {
|
|
9
|
+
parser: tsParser,
|
|
10
|
+
ecmaVersion: 5,
|
|
11
|
+
sourceType: 'script',
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
rules: {
|
|
19
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
20
|
-
"@typescript-eslint/no-floating-promises": ["error"],
|
|
21
|
-
"no-constant-binary-expression": "error",
|
|
13
|
+
parserOptions: {
|
|
14
|
+
projectService: { defaultProject: './tsconfig.eslint.json' },
|
|
15
|
+
},
|
|
16
|
+
},
|
|
22
17
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
rules: {
|
|
19
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
20
|
+
'@typescript-eslint/no-floating-promises': ['error'],
|
|
21
|
+
'no-constant-binary-expression': 'error',
|
|
26
22
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
message: 'Import [module] from lodash/[module] instead',
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
patterns: [
|
|
37
|
-
{
|
|
38
|
-
group: ['lodash/set'],
|
|
39
|
-
message: 'Import [module] from lodash/fp/[module] instead',
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
},
|
|
43
|
-
],
|
|
23
|
+
'no-console': [
|
|
24
|
+
'error',
|
|
25
|
+
{
|
|
26
|
+
allow: ['info', 'warn', 'error', 'trace', 'time', 'timeEnd'],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
44
29
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
30
|
+
'no-restricted-imports': [
|
|
31
|
+
'error',
|
|
32
|
+
{
|
|
33
|
+
paths: [
|
|
34
|
+
{
|
|
35
|
+
name: 'lodash',
|
|
36
|
+
message: 'Import [module] from lodash/[module] instead',
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
patterns: [
|
|
40
|
+
{
|
|
41
|
+
group: ['lodash/set'],
|
|
42
|
+
message: 'Import [module] from lodash/fp/[module] instead',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
58
45
|
},
|
|
46
|
+
],
|
|
47
|
+
|
|
48
|
+
// Disable rules causing the most errors
|
|
49
|
+
'@typescript-eslint/no-unsafe-argument': 'off',
|
|
50
|
+
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
51
|
+
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
52
|
+
'@typescript-eslint/no-unsafe-return': 'off',
|
|
53
|
+
'@typescript-eslint/no-unsafe-call': 'off',
|
|
54
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
55
|
+
'@typescript-eslint/restrict-template-expressions': 'off',
|
|
56
|
+
'@typescript-eslint/no-base-to-string': 'off',
|
|
57
|
+
'@typescript-eslint/no-misused-promises': 'off',
|
|
58
|
+
'@typescript-eslint/require-await': 'off',
|
|
59
|
+
'@typescript-eslint/no-unsafe-function-type': 'off',
|
|
60
|
+
eqeqeq: 'off',
|
|
59
61
|
},
|
|
62
|
+
},
|
|
60
63
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartive/graphql-magic",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@graphql-codegen/typescript": "^4.0.1",
|
|
46
46
|
"@graphql-codegen/typescript-operations": "^4.0.1",
|
|
47
47
|
"@graphql-codegen/typescript-resolvers": "^4.0.1",
|
|
48
|
-
"@types/node": "^
|
|
48
|
+
"@types/node": "^24.0.0",
|
|
49
49
|
"code-block-writer": "^13.0.0",
|
|
50
50
|
"commander": "^14.0.0",
|
|
51
51
|
"dayjs": "^1.11.10",
|
|
@@ -64,19 +64,18 @@
|
|
|
64
64
|
"knex": "^3.0.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@smartive/eslint-config": "
|
|
67
|
+
"@smartive/eslint-config": "7.0.0",
|
|
68
68
|
"@smartive/prettier-config": "3.1.2",
|
|
69
|
-
"@types/jest": "
|
|
69
|
+
"@types/jest": "30.0.0",
|
|
70
70
|
"@types/lodash": "4.17.21",
|
|
71
71
|
"@types/luxon": "3.7.1",
|
|
72
72
|
"@types/pg": "8.15.6",
|
|
73
|
-
"@types/uuid": "10.0.0",
|
|
74
73
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
75
74
|
"create-ts-index": "1.14.0",
|
|
76
75
|
"del-cli": "6.0.0",
|
|
77
76
|
"esbuild": "0.27.0",
|
|
78
77
|
"eslint": "9.39.1",
|
|
79
|
-
"jest": "
|
|
78
|
+
"jest": "30.2.0",
|
|
80
79
|
"mock-knex": "0.4.13",
|
|
81
80
|
"prettier": "3.7.3",
|
|
82
81
|
"ts-jest": "29.4.6",
|
|
@@ -17,7 +17,6 @@ export type Scalars = {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
export type AnotherObject = {
|
|
20
|
-
__typename: 'AnotherObject';
|
|
21
20
|
deleteRootId: Maybe<Scalars['ID']['output']>;
|
|
22
21
|
deleteRootType: Maybe<Scalars['String']['output']>;
|
|
23
22
|
deleted: Scalars['Boolean']['output'];
|
|
@@ -67,7 +66,6 @@ export type AnotherObjectWhereUnique = {
|
|
|
67
66
|
};
|
|
68
67
|
|
|
69
68
|
export type Answer = Reaction & {
|
|
70
|
-
__typename: 'Answer';
|
|
71
69
|
childAnswers: Array<Answer>;
|
|
72
70
|
childQuestions: Array<Question>;
|
|
73
71
|
childReactions: Array<Reaction>;
|
|
@@ -157,17 +155,14 @@ export type CreateSomeObject = {
|
|
|
157
155
|
};
|
|
158
156
|
|
|
159
157
|
export type Duck = {
|
|
160
|
-
__typename: 'Duck';
|
|
161
158
|
name: Maybe<Scalars['String']['output']>;
|
|
162
159
|
};
|
|
163
160
|
|
|
164
161
|
export type Eagle = {
|
|
165
|
-
__typename: 'Eagle';
|
|
166
162
|
name: Maybe<Scalars['String']['output']>;
|
|
167
163
|
};
|
|
168
164
|
|
|
169
165
|
export type Mutation = {
|
|
170
|
-
__typename: 'Mutation';
|
|
171
166
|
createAnswer: Answer;
|
|
172
167
|
createQuestion: Question;
|
|
173
168
|
createReview: Review;
|
|
@@ -293,7 +288,6 @@ export enum Order {
|
|
|
293
288
|
}
|
|
294
289
|
|
|
295
290
|
export type Query = {
|
|
296
|
-
__typename: 'Query';
|
|
297
291
|
anotherObjects: Array<AnotherObject>;
|
|
298
292
|
answer: Answer;
|
|
299
293
|
answers: Array<Answer>;
|
|
@@ -384,7 +378,6 @@ export type QuerysomeObjectArgs = {
|
|
|
384
378
|
};
|
|
385
379
|
|
|
386
380
|
export type Question = Reaction & {
|
|
387
|
-
__typename: 'Question';
|
|
388
381
|
childAnswers: Array<Answer>;
|
|
389
382
|
childQuestions: Array<Question>;
|
|
390
383
|
childReactions: Array<Reaction>;
|
|
@@ -531,7 +524,6 @@ export type ReactionWhereUnique = {
|
|
|
531
524
|
};
|
|
532
525
|
|
|
533
526
|
export type Review = Reaction & {
|
|
534
|
-
__typename: 'Review';
|
|
535
527
|
childAnswers: Array<Answer>;
|
|
536
528
|
childQuestions: Array<Question>;
|
|
537
529
|
childReactions: Array<Reaction>;
|
|
@@ -618,7 +610,6 @@ export enum SomeEnum {
|
|
|
618
610
|
}
|
|
619
611
|
|
|
620
612
|
export type SomeObject = {
|
|
621
|
-
__typename: 'SomeObject';
|
|
622
613
|
another: Maybe<AnotherObject>;
|
|
623
614
|
createdAt: Scalars['DateTime']['output'];
|
|
624
615
|
createdBy: User;
|
|
@@ -665,7 +656,6 @@ export type SomeObjectWhereUnique = {
|
|
|
665
656
|
};
|
|
666
657
|
|
|
667
658
|
export type SomeRawObject = {
|
|
668
|
-
__typename: 'SomeRawObject';
|
|
669
659
|
field: Maybe<Scalars['String']['output']>;
|
|
670
660
|
};
|
|
671
661
|
|
|
@@ -688,7 +678,6 @@ export type UpdateSomeObject = {
|
|
|
688
678
|
};
|
|
689
679
|
|
|
690
680
|
export type User = {
|
|
691
|
-
__typename: 'User';
|
|
692
681
|
createdAnswers: Array<Answer>;
|
|
693
682
|
createdManyObjects: Array<SomeObject>;
|
|
694
683
|
createdQuestions: Array<Question>;
|
|
@@ -860,34 +849,34 @@ export type DeleteAnotherObjectMutation = { deleteAnotherObject: string };
|
|
|
860
849
|
export type GetAnotherObjectQueryVariables = Exact<{ [key: string]: never; }>;
|
|
861
850
|
|
|
862
851
|
|
|
863
|
-
export type GetAnotherObjectQuery = { anotherObjects: Array<{
|
|
852
|
+
export type GetAnotherObjectQuery = { anotherObjects: Array<{ id: string, deleted: boolean }> };
|
|
864
853
|
|
|
865
854
|
export type GetReactionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
866
855
|
|
|
867
856
|
|
|
868
|
-
export type GetReactionsQuery = { reactions: Array<{
|
|
857
|
+
export type GetReactionsQuery = { reactions: Array<{ type: ReactionType, content: string | null } | { type: ReactionType, content: string | null } | { rating: number | null, type: ReactionType, content: string | null }> };
|
|
869
858
|
|
|
870
859
|
export type GetReactionQueryVariables = Exact<{ [key: string]: never; }>;
|
|
871
860
|
|
|
872
861
|
|
|
873
|
-
export type GetReactionQuery = { reaction: {
|
|
862
|
+
export type GetReactionQuery = { reaction: { type: ReactionType, content: string | null } | { type: ReactionType, content: string | null } | { rating: number | null, type: ReactionType, content: string | null } };
|
|
874
863
|
|
|
875
864
|
export type GetReviewsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
876
865
|
|
|
877
866
|
|
|
878
|
-
export type GetReviewsQuery = { reviews: Array<{
|
|
867
|
+
export type GetReviewsQuery = { reviews: Array<{ type: ReactionType, content: string | null, rating: number | null }> };
|
|
879
868
|
|
|
880
869
|
export type GetReviewQueryVariables = Exact<{ [key: string]: never; }>;
|
|
881
870
|
|
|
882
871
|
|
|
883
|
-
export type GetReviewQuery = { review: {
|
|
872
|
+
export type GetReviewQuery = { review: { type: ReactionType, content: string | null, rating: number | null } };
|
|
884
873
|
|
|
885
874
|
export type CreateReviewMutationVariables = Exact<{
|
|
886
875
|
data: CreateReview;
|
|
887
876
|
}>;
|
|
888
877
|
|
|
889
878
|
|
|
890
|
-
export type CreateReviewMutation = { createReview: {
|
|
879
|
+
export type CreateReviewMutation = { createReview: { content: string | null, rating: number | null } };
|
|
891
880
|
|
|
892
881
|
export type UpdateReviewMutationVariables = Exact<{
|
|
893
882
|
id: Scalars['ID']['input'];
|
|
@@ -895,42 +884,42 @@ export type UpdateReviewMutationVariables = Exact<{
|
|
|
895
884
|
}>;
|
|
896
885
|
|
|
897
886
|
|
|
898
|
-
export type UpdateReviewMutation = { updateReview: {
|
|
887
|
+
export type UpdateReviewMutation = { updateReview: { content: string | null, rating: number | null } };
|
|
899
888
|
|
|
900
889
|
export type SomeQueryQueryVariables = Exact<{ [key: string]: never; }>;
|
|
901
890
|
|
|
902
891
|
|
|
903
|
-
export type SomeQueryQuery = { manyObjects: Array<{
|
|
892
|
+
export type SomeQueryQuery = { manyObjects: Array<{ id: string, field: string | null, xyz: number, another: { id: string, manyObjects: Array<{ id: string, field: string | null }> } | null }> };
|
|
904
893
|
|
|
905
894
|
export type ReverseFiltersQueryQueryVariables = Exact<{ [key: string]: never; }>;
|
|
906
895
|
|
|
907
896
|
|
|
908
|
-
export type ReverseFiltersQueryQuery = { all: Array<{
|
|
897
|
+
export type ReverseFiltersQueryQuery = { all: Array<{ id: string, manyObjects: Array<{ float: number }> }>, withFloat0: Array<{ id: string, manyObjects: Array<{ float: number }> }>, withFloat0_5: Array<{ id: string, manyObjects: Array<{ float: number }> }>, noneFloat0: Array<{ id: string, manyObjects: Array<{ float: number }> }>, noneFloat0_5: Array<{ id: string, manyObjects: Array<{ float: number }> }>, noneFloat2: Array<{ id: string, manyObjects: Array<{ float: number }> }> };
|
|
909
898
|
|
|
910
899
|
export type NotQueryQueryVariables = Exact<{ [key: string]: never; }>;
|
|
911
900
|
|
|
912
901
|
|
|
913
|
-
export type NotQueryQuery = { manyObjects: Array<{
|
|
902
|
+
export type NotQueryQuery = { manyObjects: Array<{ id: string }> };
|
|
914
903
|
|
|
915
904
|
export type AndQueryQueryVariables = Exact<{ [key: string]: never; }>;
|
|
916
905
|
|
|
917
906
|
|
|
918
|
-
export type AndQueryQuery = { manyObjects: Array<{
|
|
907
|
+
export type AndQueryQuery = { manyObjects: Array<{ id: string }> };
|
|
919
908
|
|
|
920
909
|
export type OrQueryQueryVariables = Exact<{ [key: string]: never; }>;
|
|
921
910
|
|
|
922
911
|
|
|
923
|
-
export type OrQueryQuery = { manyObjects: Array<{
|
|
912
|
+
export type OrQueryQuery = { manyObjects: Array<{ id: string }> };
|
|
924
913
|
|
|
925
914
|
export type NullFilterQueryQueryVariables = Exact<{ [key: string]: never; }>;
|
|
926
915
|
|
|
927
916
|
|
|
928
|
-
export type NullFilterQueryQuery = { all: Array<{
|
|
917
|
+
export type NullFilterQueryQuery = { all: Array<{ id: string, field: string | null }>, withNullField: Array<{ id: string, field: string | null }>, withNotNullField: Array<{ id: string, field: string | null }>, withSpecificField: Array<{ id: string, field: string | null }>, withComplexFilter: Array<{ id: string, field: string | null }>, withNestedFilter: Array<{ id: string, field: string | null, another: { manyObjects: Array<{ id: string, field: string | null }> } | null }> };
|
|
929
918
|
|
|
930
919
|
export type NullRelationFilterQueryQueryVariables = Exact<{ [key: string]: never; }>;
|
|
931
920
|
|
|
932
921
|
|
|
933
|
-
export type NullRelationFilterQueryQuery = { all: Array<{
|
|
922
|
+
export type NullRelationFilterQueryQuery = { all: Array<{ id: string, another: { id: string } | null }>, withNullAnother: Array<{ id: string, another: { id: string } | null }>, withNotNullAnother: Array<{ id: string, another: { id: string } | null }> };
|
|
934
923
|
|
|
935
924
|
export type DeleteAnotherObjectMutationMutationVariables = Exact<{
|
|
936
925
|
id: Scalars['ID']['input'];
|
|
@@ -951,7 +940,7 @@ export type CreateSomeObjectMutationMutationVariables = Exact<{
|
|
|
951
940
|
}>;
|
|
952
941
|
|
|
953
942
|
|
|
954
|
-
export type CreateSomeObjectMutationMutation = { createSomeObject: {
|
|
943
|
+
export type CreateSomeObjectMutationMutation = { createSomeObject: { id: string } };
|
|
955
944
|
|
|
956
945
|
export type UpdateSomeObjectMutationMutationVariables = Exact<{
|
|
957
946
|
id: Scalars['ID']['input'];
|
|
@@ -959,7 +948,7 @@ export type UpdateSomeObjectMutationMutationVariables = Exact<{
|
|
|
959
948
|
}>;
|
|
960
949
|
|
|
961
950
|
|
|
962
|
-
export type UpdateSomeObjectMutationMutation = { updateSomeObject: {
|
|
951
|
+
export type UpdateSomeObjectMutationMutation = { updateSomeObject: { id: string } };
|
|
963
952
|
|
|
964
953
|
export type DeleteSomeObjectMutationMutationVariables = Exact<{
|
|
965
954
|
id: Scalars['ID']['input'];
|
|
@@ -980,7 +969,7 @@ export type CreateReviewMutationMutationVariables = Exact<{
|
|
|
980
969
|
}>;
|
|
981
970
|
|
|
982
971
|
|
|
983
|
-
export type CreateReviewMutationMutation = { createReview: {
|
|
972
|
+
export type CreateReviewMutationMutation = { createReview: { id: string } };
|
|
984
973
|
|
|
985
974
|
export type UpdateReviewMutationMutationVariables = Exact<{
|
|
986
975
|
id: Scalars['ID']['input'];
|
|
@@ -988,7 +977,7 @@ export type UpdateReviewMutationMutationVariables = Exact<{
|
|
|
988
977
|
}>;
|
|
989
978
|
|
|
990
979
|
|
|
991
|
-
export type UpdateReviewMutationMutation = { updateReview: {
|
|
980
|
+
export type UpdateReviewMutationMutation = { updateReview: { id: string } };
|
|
992
981
|
|
|
993
982
|
export type DeleteReviewMutationMutationVariables = Exact<{
|
|
994
983
|
id: Scalars['ID']['input'];
|
|
@@ -1009,7 +998,7 @@ export type CreateQuestionMutationMutationVariables = Exact<{
|
|
|
1009
998
|
}>;
|
|
1010
999
|
|
|
1011
1000
|
|
|
1012
|
-
export type CreateQuestionMutationMutation = { createQuestion: {
|
|
1001
|
+
export type CreateQuestionMutationMutation = { createQuestion: { id: string } };
|
|
1013
1002
|
|
|
1014
1003
|
export type UpdateQuestionMutationMutationVariables = Exact<{
|
|
1015
1004
|
id: Scalars['ID']['input'];
|
|
@@ -1017,7 +1006,7 @@ export type UpdateQuestionMutationMutationVariables = Exact<{
|
|
|
1017
1006
|
}>;
|
|
1018
1007
|
|
|
1019
1008
|
|
|
1020
|
-
export type UpdateQuestionMutationMutation = { updateQuestion: {
|
|
1009
|
+
export type UpdateQuestionMutationMutation = { updateQuestion: { id: string } };
|
|
1021
1010
|
|
|
1022
1011
|
export type DeleteQuestionMutationMutationVariables = Exact<{
|
|
1023
1012
|
id: Scalars['ID']['input'];
|
|
@@ -1038,7 +1027,7 @@ export type CreateAnswerMutationMutationVariables = Exact<{
|
|
|
1038
1027
|
}>;
|
|
1039
1028
|
|
|
1040
1029
|
|
|
1041
|
-
export type CreateAnswerMutationMutation = { createAnswer: {
|
|
1030
|
+
export type CreateAnswerMutationMutation = { createAnswer: { id: string } };
|
|
1042
1031
|
|
|
1043
1032
|
export type UpdateAnswerMutationMutationVariables = Exact<{
|
|
1044
1033
|
id: Scalars['ID']['input'];
|
|
@@ -1046,7 +1035,7 @@ export type UpdateAnswerMutationMutationVariables = Exact<{
|
|
|
1046
1035
|
}>;
|
|
1047
1036
|
|
|
1048
1037
|
|
|
1049
|
-
export type UpdateAnswerMutationMutation = { updateAnswer: {
|
|
1038
|
+
export type UpdateAnswerMutationMutation = { updateAnswer: { id: string } };
|
|
1050
1039
|
|
|
1051
1040
|
export type DeleteAnswerMutationMutationVariables = Exact<{
|
|
1052
1041
|
id: Scalars['ID']['input'];
|