@graphql-codegen/c-sharp-common 0.1.1 → 1.0.0-alpha-20230524082546-d7e1d0a4a
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/package.json
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/c-sharp-common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha-20230524082546-d7e1d0a4a",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
|
|
7
7
|
"graphql-tag": "2.12.6"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-codegen/plugin-helpers": "^
|
|
10
|
+
"@graphql-codegen/plugin-helpers": "^3.0.0",
|
|
11
11
|
"@graphql-codegen/visitor-plugin-common": "^2.12.1",
|
|
12
12
|
"auto-bind": "~4.0.0",
|
|
13
|
-
"change-case-all": "1.0.
|
|
13
|
+
"change-case-all": "1.0.15",
|
|
14
14
|
"tslib": "~2.4.0"
|
|
15
15
|
},
|
|
16
16
|
"repository": "git@github.com:dotansimha/graphql-code-generator.git",
|
|
17
17
|
"license": "MIT",
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">= 16.0.0"
|
|
20
|
+
},
|
|
18
21
|
"main": "cjs/index.js",
|
|
19
22
|
"module": "esm/index.js",
|
|
20
23
|
"typings": "typings/index.d.ts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
import { NameNode, StringValueNode } from 'graphql';
|
|
2
|
+
export type Access = 'private' | 'public' | 'protected';
|
|
3
|
+
export type Kind = 'namespace' | 'class' | 'record' | 'interface' | 'enum';
|
|
4
4
|
export declare class CSharpDeclarationBlock {
|
|
5
5
|
_name: string;
|
|
6
6
|
_extendStr: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
import { NameNode, StringValueNode } from 'graphql';
|
|
2
|
+
export type Access = 'private' | 'public' | 'protected';
|
|
3
|
+
export type Kind = 'namespace' | 'class' | 'record' | 'interface' | 'enum';
|
|
4
4
|
export declare class CSharpDeclarationBlock {
|
|
5
5
|
_name: string;
|
|
6
6
|
_extendStr: string[];
|
package/typings/utils.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { StringValueNode, TypeNode } from 'graphql';
|
|
2
|
+
import { CSharpFieldType, ListTypeField } from './c-sharp-field-types.cjs';
|
|
3
3
|
export declare function transformComment(comment: string | StringValueNode, indentLevel?: number): string;
|
|
4
4
|
export declare function isValueType(type: string): boolean;
|
|
5
5
|
export declare function getListTypeField(typeNode: TypeNode): ListTypeField | undefined;
|
package/typings/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { StringValueNode, TypeNode } from 'graphql';
|
|
2
|
+
import { CSharpFieldType, ListTypeField } from './c-sharp-field-types.js';
|
|
3
3
|
export declare function transformComment(comment: string | StringValueNode, indentLevel?: number): string;
|
|
4
4
|
export declare function isValueType(type: string): boolean;
|
|
5
5
|
export declare function getListTypeField(typeNode: TypeNode): ListTypeField | undefined;
|