github-schema 1.21.11 → 1.22.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/dist/github-schema.d.cts +32315 -1
- package/dist/github-schema.d.mts +32315 -1
- package/dist/index.cjs +11 -7
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/raw.cjs +13 -2
- package/dist/raw.d.cts +9 -1
- package/dist/raw.d.mts +9 -1
- package/dist/raw.mjs +11 -1
- package/package.json +8 -8
- package/dist/github-schema-9aJdA1Ch.d.cts +0 -32316
- package/dist/github-schema-DQBnmSO8.d.mts +0 -32316
- package/dist/raw-52kerwqc.d.mts +0 -10
- package/dist/raw-BzDaq_4U.mjs +0 -13
- package/dist/raw-CmEdncua.d.cts +0 -10
- package/dist/raw-Hx1rD-vR.cjs +0 -19
package/dist/raw-52kerwqc.d.mts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region src/raw.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Returns a GraphQL query string by interpolating variables into a template string.
|
|
4
|
-
* @param {TemplateStringsArray} raw - The template string.
|
|
5
|
-
* @param {...string} keys - The variables to interpolate.
|
|
6
|
-
* @returns {string} The interpolated GraphQL query string.
|
|
7
|
-
*/
|
|
8
|
-
declare function gql(raw: TemplateStringsArray, ...keys: string[]): string;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { gql as t };
|
package/dist/raw-BzDaq_4U.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region src/raw.ts
|
|
2
|
-
/**
|
|
3
|
-
* Returns a GraphQL query string by interpolating variables into a template string.
|
|
4
|
-
* @param {TemplateStringsArray} raw - The template string.
|
|
5
|
-
* @param {...string} keys - The variables to interpolate.
|
|
6
|
-
* @returns {string} The interpolated GraphQL query string.
|
|
7
|
-
*/
|
|
8
|
-
function gql(raw, ...keys) {
|
|
9
|
-
return keys.length === 0 ? raw[0] : String.raw({ raw }, ...keys);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { gql as t };
|
package/dist/raw-CmEdncua.d.cts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region src/raw.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Returns a GraphQL query string by interpolating variables into a template string.
|
|
4
|
-
* @param {TemplateStringsArray} raw - The template string.
|
|
5
|
-
* @param {...string} keys - The variables to interpolate.
|
|
6
|
-
* @returns {string} The interpolated GraphQL query string.
|
|
7
|
-
*/
|
|
8
|
-
declare function gql(raw: TemplateStringsArray, ...keys: string[]): string;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { gql as t };
|
package/dist/raw-Hx1rD-vR.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region src/raw.ts
|
|
3
|
-
/**
|
|
4
|
-
* Returns a GraphQL query string by interpolating variables into a template string.
|
|
5
|
-
* @param {TemplateStringsArray} raw - The template string.
|
|
6
|
-
* @param {...string} keys - The variables to interpolate.
|
|
7
|
-
* @returns {string} The interpolated GraphQL query string.
|
|
8
|
-
*/
|
|
9
|
-
function gql(raw, ...keys) {
|
|
10
|
-
return keys.length === 0 ? raw[0] : String.raw({ raw }, ...keys);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
Object.defineProperty(exports, 'gql', {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return gql;
|
|
18
|
-
}
|
|
19
|
-
});
|