graphql-codegen-plugin-typescript-swr 0.8.5 → 0.9.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/README.md +5 -0
- package/build/main/visitor.js +2 -2
- package/build/module/visitor.js +2 -2
- package/package.json +8 -5
- package/.editorconfig +0 -13
- package/.eslintrc.js +0 -63
- package/.github/CONTRIBUTING.md +0 -3
- package/.github/ISSUE_TEMPLATE.md +0 -9
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -7
- package/.github/workflows/main.yml +0 -28
- package/.gitignore +0 -8
- package/.prettierignore +0 -3
- package/.prettierrc.json +0 -4
- package/.vscode/extensions.json +0 -8
- package/.vscode/launch.json +0 -29
- package/.vscode/settings.json +0 -41
- package/build/tsconfig.main.tsbuildinfo +0 -1
- package/build/tsconfig.module.tsbuildinfo +0 -1
- package/dev-test/.env +0 -1
- package/dev-test/codegen.yml +0 -357
- package/dev-test/githunt/__generated__/comment-added.subscription.stencil-component.tsx +0 -47
- package/dev-test/githunt/__generated__/comment.query.stencil-component.tsx +0 -68
- package/dev-test/githunt/__generated__/comments-page-comment.fragment.stencil-component.tsx +0 -20
- package/dev-test/githunt/__generated__/current-user.query.stencil-component.tsx +0 -34
- package/dev-test/githunt/__generated__/feed-entry.fragment.stencil-component.tsx +0 -30
- package/dev-test/githunt/__generated__/feed.query.stencil-component.tsx +0 -40
- package/dev-test/githunt/__generated__/new-entry.mutation.stencil-component.tsx +0 -35
- package/dev-test/githunt/__generated__/repo-info.fragment.stencil-component.tsx +0 -26
- package/dev-test/githunt/__generated__/submit-comment.mutation.stencil-component.tsx +0 -35
- package/dev-test/githunt/__generated__/vote-buttons.fragment.stencil-component.tsx +0 -16
- package/dev-test/githunt/__generated__/vote.mutation.stencil-component.tsx +0 -41
- package/dev-test/githunt/comment-added.subscription.graphql +0 -11
- package/dev-test/githunt/comment.query.graphql +0 -33
- package/dev-test/githunt/comments-page-comment.fragment.graphql +0 -9
- package/dev-test/githunt/current-user.query.graphql +0 -6
- package/dev-test/githunt/feed-entry.fragment.graphql +0 -13
- package/dev-test/githunt/feed.query.graphql +0 -8
- package/dev-test/githunt/flow.flow.js +0 -367
- package/dev-test/githunt/graphql-declared-modules.d.ts +0 -87
- package/dev-test/githunt/new-entry.mutation.graphql +0 -5
- package/dev-test/githunt/repo-info.fragment.graphql +0 -12
- package/dev-test/githunt/schema.js +0 -3
- package/dev-test/githunt/schema.json +0 -1750
- package/dev-test/githunt/submit-comment.mutation.graphql +0 -5
- package/dev-test/githunt/typed-document-nodes.ts +0 -892
- package/dev-test/githunt/types.apolloAngular.sdk.ts +0 -570
- package/dev-test/githunt/types.apolloAngular.ts +0 -491
- package/dev-test/githunt/types.avoidOptionals.ts +0 -266
- package/dev-test/githunt/types.d.ts +0 -261
- package/dev-test/githunt/types.enumsAsTypes.ts +0 -261
- package/dev-test/githunt/types.flatten.preResolveTypes.ts +0 -289
- package/dev-test/githunt/types.immutableTypes.ts +0 -267
- package/dev-test/githunt/types.preResolveTypes.compatibility.ts +0 -368
- package/dev-test/githunt/types.preResolveTypes.onlyOperationTypes.ts +0 -156
- package/dev-test/githunt/types.preResolveTypes.ts +0 -293
- package/dev-test/githunt/types.reactApollo.customSuffix.tsx +0 -634
- package/dev-test/githunt/types.reactApollo.hooks.tsx +0 -621
- package/dev-test/githunt/types.reactApollo.preResolveTypes.tsx +0 -648
- package/dev-test/githunt/types.reactApollo.tsx +0 -621
- package/dev-test/githunt/types.reactApollo.v2.tsx +0 -635
- package/dev-test/githunt/types.stencilApollo.tsx +0 -484
- package/dev-test/githunt/types.ts +0 -266
- package/dev-test/githunt/types.urql.tsx +0 -444
- package/dev-test/githunt/types.vueApollo.ts +0 -647
- package/dev-test/githunt/vote-buttons.fragment.graphql +0 -6
- package/dev-test/githunt/vote.mutation.graphql +0 -9
- package/dev-test/setup.js +0 -3
- package/dev-test/test-message/documents.ts +0 -46
- package/dev-test/test-message/schema.graphql +0 -23
- package/dev-test/test-message/types.tsx +0 -237
- package/dev-test/test-schema/env.types.ts +0 -35
- package/dev-test/test-schema/flow-types.flow.js +0 -139
- package/dev-test/test-schema/local/schema-ast.js +0 -2
- package/dev-test/test-schema/local/schema-formats.js +0 -20
- package/dev-test/test-schema/local/schema-object.js +0 -2
- package/dev-test/test-schema/local/schema-text.js +0 -2
- package/dev-test/test-schema/local/schema.graphql +0 -8
- package/dev-test/test-schema/resolvers-federation.ts +0 -233
- package/dev-test/test-schema/resolvers-root.ts +0 -178
- package/dev-test/test-schema/resolvers-types.ts +0 -168
- package/dev-test/test-schema/schema-ast.js +0 -2
- package/dev-test/test-schema/schema-federation.graphql +0 -30
- package/dev-test/test-schema/schema-formats.js +0 -38
- package/dev-test/test-schema/schema-json.js +0 -2
- package/dev-test/test-schema/schema-object.js +0 -2
- package/dev-test/test-schema/schema-text.js +0 -2
- package/dev-test/test-schema/schema-with-imports.graphql +0 -9
- package/dev-test/test-schema/schema-with-root.graphql +0 -22
- package/dev-test/test-schema/schema.graphql +0 -19
- package/dev-test/test-schema/schema.json +0 -1070
- package/dev-test/test-schema/types.preResolveTypes.onlyOperationTypes.ts +0 -19
- package/dev-test/test-schema/types.preResolveTypes.ts +0 -44
- package/dev-test/test-schema/typings.avoidOptionals.ts +0 -27
- package/dev-test/test-schema/typings.enum.ts +0 -19
- package/dev-test/test-schema/typings.immutableTypes.ts +0 -27
- package/dev-test/test-schema/typings.ts +0 -156
- package/dev-test/test-schema/typings.wrapped.ts +0 -29
- package/dev-test/tsconfig.json +0 -18
- package/jest.config.js +0 -30
- package/renovate.json +0 -2
- package/src/config.ts +0 -29
- package/src/index.ts +0 -54
- package/src/visitor.ts +0 -259
- package/tests/outputs/autogenSWRKey.ts +0 -46
- package/tests/outputs/excludeQueries.ts +0 -13
- package/tests/outputs/infinite.ts +0 -49
- package/tests/outputs/mutations.ts +0 -19
- package/tests/outputs/rawRequest.ts +0 -19
- package/tests/outputs/straight.ts +0 -19
- package/tests/swr.spec.ts +0 -306
- package/tests/visitor.spec.ts +0 -19
- package/tsconfig.json +0 -32
- package/tsconfig.main.json +0 -11
- package/tsconfig.module.json +0 -13
- package/yarn.lock +0 -5359
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
declare module '*/comment-added.subscription.graphql' {
|
|
2
|
-
import { DocumentNode } from 'graphql';
|
|
3
|
-
const defaultDocument: DocumentNode;
|
|
4
|
-
export const onCommentAdded: DocumentNode;
|
|
5
|
-
|
|
6
|
-
export default defaultDocument;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare module '*/comment.query.graphql' {
|
|
10
|
-
import { DocumentNode } from 'graphql';
|
|
11
|
-
const defaultDocument: DocumentNode;
|
|
12
|
-
export const Comment: DocumentNode;
|
|
13
|
-
|
|
14
|
-
export default defaultDocument;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
declare module '*/comments-page-comment.fragment.graphql' {
|
|
18
|
-
import { DocumentNode } from 'graphql';
|
|
19
|
-
const defaultDocument: DocumentNode;
|
|
20
|
-
export const CommentsPageComment: DocumentNode;
|
|
21
|
-
|
|
22
|
-
export default defaultDocument;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
declare module '*/current-user.query.graphql' {
|
|
26
|
-
import { DocumentNode } from 'graphql';
|
|
27
|
-
const defaultDocument: DocumentNode;
|
|
28
|
-
export const CurrentUserForProfile: DocumentNode;
|
|
29
|
-
|
|
30
|
-
export default defaultDocument;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare module '*/feed-entry.fragment.graphql' {
|
|
34
|
-
import { DocumentNode } from 'graphql';
|
|
35
|
-
const defaultDocument: DocumentNode;
|
|
36
|
-
export const FeedEntry: DocumentNode;
|
|
37
|
-
|
|
38
|
-
export default defaultDocument;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
declare module '*/feed.query.graphql' {
|
|
42
|
-
import { DocumentNode } from 'graphql';
|
|
43
|
-
const defaultDocument: DocumentNode;
|
|
44
|
-
export const Feed: DocumentNode;
|
|
45
|
-
|
|
46
|
-
export default defaultDocument;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
declare module '*/new-entry.mutation.graphql' {
|
|
50
|
-
import { DocumentNode } from 'graphql';
|
|
51
|
-
const defaultDocument: DocumentNode;
|
|
52
|
-
export const submitRepository: DocumentNode;
|
|
53
|
-
|
|
54
|
-
export default defaultDocument;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
declare module '*/repo-info.fragment.graphql' {
|
|
58
|
-
import { DocumentNode } from 'graphql';
|
|
59
|
-
const defaultDocument: DocumentNode;
|
|
60
|
-
export const RepoInfo: DocumentNode;
|
|
61
|
-
|
|
62
|
-
export default defaultDocument;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
declare module '*/submit-comment.mutation.graphql' {
|
|
66
|
-
import { DocumentNode } from 'graphql';
|
|
67
|
-
const defaultDocument: DocumentNode;
|
|
68
|
-
export const submitComment: DocumentNode;
|
|
69
|
-
|
|
70
|
-
export default defaultDocument;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
declare module '*/vote-buttons.fragment.graphql' {
|
|
74
|
-
import { DocumentNode } from 'graphql';
|
|
75
|
-
const defaultDocument: DocumentNode;
|
|
76
|
-
export const VoteButtons: DocumentNode;
|
|
77
|
-
|
|
78
|
-
export default defaultDocument;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
declare module '*/vote.mutation.graphql' {
|
|
82
|
-
import { DocumentNode } from 'graphql';
|
|
83
|
-
const defaultDocument: DocumentNode;
|
|
84
|
-
export const vote: DocumentNode;
|
|
85
|
-
|
|
86
|
-
export default defaultDocument;
|
|
87
|
-
}
|