@stonecrop/graphql-client 0.2.64 → 0.2.65
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/dist/gql/schema.js +4 -0
- package/dist/graphql-client.d.ts +57 -10
- package/dist/graphql-client.js.map +1 -1
- package/dist/graphql-client.umd.cjs.map +1 -1
- package/dist/graphql_client.tsbuildinfo +1 -1
- package/dist/queries.js +4 -0
- package/dist/src/gql/schema.d.ts +4 -0
- package/dist/src/gql/schema.d.ts.map +1 -1
- package/dist/src/queries.d.ts +4 -0
- package/dist/src/queries.d.ts.map +1 -1
- package/dist/{graphql_client/src → src}/tsdoc-metadata.json +1 -1
- package/dist/src/types/index.d.ts +16 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/types/index.js +4 -0
- package/package.json +7 -7
- package/src/gql/schema.ts +4 -0
- package/src/queries.ts +4 -0
- package/src/types/index.ts +17 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"5.
|
|
1
|
+
{"version":"5.7.2"}
|
package/dist/queries.js
CHANGED
package/dist/src/gql/schema.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/gql/schema.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,QAAQ,QA8Cb,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/gql/schema.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,QAAQ,QA8Cb,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
package/dist/src/queries.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/queries.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO;;CAYZ,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/queries.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,OAAO;;CAYZ,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file This file contains all the types that are used in the application.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* The type of the response from the `getMeta` query.
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
1
9
|
export type Meta = {
|
|
2
10
|
variables: {
|
|
3
11
|
doctype: string;
|
|
@@ -6,6 +14,10 @@ export type Meta = {
|
|
|
6
14
|
getMeta: MetaResponse;
|
|
7
15
|
};
|
|
8
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* The type of the response from the `getRecords` query.
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
9
21
|
export type MetaResponse = {
|
|
10
22
|
id: string;
|
|
11
23
|
name: string;
|
|
@@ -23,6 +35,10 @@ export type MetaResponse = {
|
|
|
23
35
|
eventName: string;
|
|
24
36
|
}[];
|
|
25
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* The type of the response from the `getMeta` query.
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
26
42
|
export type MetaParser = {
|
|
27
43
|
data: Meta['response'];
|
|
28
44
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,GAAG;IAClB,SAAS,EAAE;QACV,OAAO,EAAE,MAAM,CAAA;KACf,CAAA;IAED,QAAQ,EAAE;QACT,OAAO,EAAE,YAAY,CAAA;KACrB,CAAA;CACD,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE;QACT,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,SAAS,CAAC,EAAE,MAAM,CAAA;KAClB,CAAA;IACD,MAAM,EAAE;QACP,EAAE,EAAE,MAAM,CAAA;QACV,KAAK,EAAE,MAAM,CAAA;KACb,EAAE,CAAA;IACH,OAAO,EAAE;QACR,EAAE,EAAE,MAAM,CAAA;QACV,SAAS,EAAE,MAAM,CAAA;KACjB,EAAE,CAAA;CACH,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAA;CACtB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,MAAM,MAAM,IAAI,GAAG;IAClB,SAAS,EAAE;QACV,OAAO,EAAE,MAAM,CAAA;KACf,CAAA;IAED,QAAQ,EAAE;QACT,OAAO,EAAE,YAAY,CAAA;KACrB,CAAA;CACD,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE;QACT,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,SAAS,CAAC,EAAE,MAAM,CAAA;KAClB,CAAA;IACD,MAAM,EAAE;QACP,EAAE,EAAE,MAAM,CAAA;QACV,KAAK,EAAE,MAAM,CAAA;KACb,EAAE,CAAA;IACH,OAAO,EAAE;QACR,EAAE,EAAE,MAAM,CAAA;QACV,SAAS,EAAE,MAAM,CAAA;KACjB,EAAE,CAAA;CACH,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAA;CACtB,CAAA"}
|
package/dist/types/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/graphql-client",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.65",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"import": {
|
|
21
|
-
"types": "./dist/
|
|
21
|
+
"types": "./dist/src/index.d.ts",
|
|
22
22
|
"default": "./dist/graphql-client.js"
|
|
23
23
|
},
|
|
24
24
|
"require": "./dist/graphql-client.umd.cjs"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
|
-
"typings": "./dist/
|
|
27
|
+
"typings": "./dist/src/index.d.ts",
|
|
28
28
|
"files": [
|
|
29
29
|
"dist/*",
|
|
30
30
|
"src/*"
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"decimal.js": "^10.4.3",
|
|
34
34
|
"graphql": "~16.6.0",
|
|
35
35
|
"graphql-request": "~6.0.0",
|
|
36
|
-
"@stonecrop/stonecrop": "0.2.
|
|
36
|
+
"@stonecrop/stonecrop": "0.2.65"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@microsoft/api-documenter": "^7.
|
|
39
|
+
"@microsoft/api-documenter": "^7.26.2",
|
|
40
40
|
"@miragejs/graphql": "^0.1.13",
|
|
41
|
-
"@rushstack/heft": "^0.
|
|
41
|
+
"@rushstack/heft": "^0.68.6",
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
43
43
|
"@typescript-eslint/parser": "^7.14.1",
|
|
44
44
|
"@vitejs/plugin-vue": "^5.1.3",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"eslint-config-prettier": "^8.8.0",
|
|
48
48
|
"eslint-plugin-vue": "^9.11.1",
|
|
49
49
|
"miragejs": "^0.1.47",
|
|
50
|
-
"typescript": "^5.
|
|
50
|
+
"typescript": "^5.6.3",
|
|
51
51
|
"vite": "^5.4.5",
|
|
52
52
|
"vue": "^3.5.11",
|
|
53
53
|
"vue-router": "^4.4.0",
|
package/src/gql/schema.ts
CHANGED
package/src/queries.ts
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file This file contains all the types that are used in the application.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The type of the response from the `getMeta` query.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
1
10
|
export type Meta = {
|
|
2
11
|
variables: {
|
|
3
12
|
doctype: string
|
|
@@ -8,6 +17,10 @@ export type Meta = {
|
|
|
8
17
|
}
|
|
9
18
|
}
|
|
10
19
|
|
|
20
|
+
/**
|
|
21
|
+
* The type of the response from the `getRecords` query.
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
11
24
|
export type MetaResponse = {
|
|
12
25
|
id: string
|
|
13
26
|
name: string
|
|
@@ -26,6 +39,10 @@ export type MetaResponse = {
|
|
|
26
39
|
}[]
|
|
27
40
|
}
|
|
28
41
|
|
|
42
|
+
/**
|
|
43
|
+
* The type of the response from the `getMeta` query.
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
29
46
|
export type MetaParser = {
|
|
30
47
|
data: Meta['response']
|
|
31
48
|
}
|