@graphql-codegen/plugin-helpers 2.7.1 → 2.7.2-alpha-20221025134913-ec8a36be2
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/cjs/index.js +0 -1
- package/esm/index.js +0 -1
- package/package.json +1 -1
- package/typings/index.d.cts +0 -1
- package/typings/index.d.ts +0 -1
- package/typings/types.d.cts +1 -1
- package/typings/types.d.ts +1 -1
- package/cjs/errors.js +0 -18
- package/esm/errors.js +0 -13
- package/typings/errors.d.cts +0 -7
- package/typings/errors.d.ts +0 -7
package/cjs/index.js
CHANGED
|
@@ -8,7 +8,6 @@ tslib_1.__exportStar(require("./types.js"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./utils.js"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./helpers.js"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./federation.js"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./errors.js"), exports);
|
|
12
11
|
tslib_1.__exportStar(require("./getCachedDocumentNodeFromSchema.js"), exports);
|
|
13
12
|
tslib_1.__exportStar(require("./oldVisit.js"), exports);
|
|
14
13
|
tslib_1.__exportStar(require("./profiler.js"), exports);
|
package/esm/index.js
CHANGED
|
@@ -3,7 +3,6 @@ export * from './types.js';
|
|
|
3
3
|
export * from './utils.js';
|
|
4
4
|
export * from './helpers.js';
|
|
5
5
|
export * from './federation.js';
|
|
6
|
-
export * from './errors.js';
|
|
7
6
|
export * from './getCachedDocumentNodeFromSchema.js';
|
|
8
7
|
export * from './oldVisit.js';
|
|
9
8
|
export * from './profiler.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/plugin-helpers",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.2-alpha-20221025134913-ec8a36be2",
|
|
4
4
|
"description": "GraphQL Code Generator common utils and types",
|
|
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"
|
package/typings/index.d.cts
CHANGED
|
@@ -3,7 +3,6 @@ export * from './types.cjs';
|
|
|
3
3
|
export * from './utils.cjs';
|
|
4
4
|
export * from './helpers.cjs';
|
|
5
5
|
export * from './federation.cjs';
|
|
6
|
-
export * from './errors.cjs';
|
|
7
6
|
export * from './getCachedDocumentNodeFromSchema.cjs';
|
|
8
7
|
export * from './oldVisit.cjs';
|
|
9
8
|
export * from './profiler.cjs';
|
package/typings/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from './types.js';
|
|
|
3
3
|
export * from './utils.js';
|
|
4
4
|
export * from './helpers.js';
|
|
5
5
|
export * from './federation.js';
|
|
6
|
-
export * from './errors.js';
|
|
7
6
|
export * from './getCachedDocumentNodeFromSchema.js';
|
|
8
7
|
export * from './oldVisit.js';
|
|
9
8
|
export * from './profiler.js';
|
package/typings/types.d.cts
CHANGED
|
@@ -199,7 +199,7 @@ export declare namespace Types {
|
|
|
199
199
|
type NamedPlugin = string;
|
|
200
200
|
type NamedPreset = string;
|
|
201
201
|
type OutputConfig = NamedPlugin | ConfiguredPlugin;
|
|
202
|
-
type PresetNamesBase = 'client' | 'near-operation-file' | 'gql-tag-operations' | 'graphql-modules' | 'import-types
|
|
202
|
+
type PresetNamesBase = 'client' | 'near-operation-file' | 'gql-tag-operations' | 'graphql-modules' | 'import-types';
|
|
203
203
|
type PresetNames = `${PresetNamesBase}-preset` | PresetNamesBase;
|
|
204
204
|
/**
|
|
205
205
|
* @additionalProperties false
|
package/typings/types.d.ts
CHANGED
|
@@ -199,7 +199,7 @@ export declare namespace Types {
|
|
|
199
199
|
type NamedPlugin = string;
|
|
200
200
|
type NamedPreset = string;
|
|
201
201
|
type OutputConfig = NamedPlugin | ConfiguredPlugin;
|
|
202
|
-
type PresetNamesBase = 'client' | 'near-operation-file' | 'gql-tag-operations' | 'graphql-modules' | 'import-types
|
|
202
|
+
type PresetNamesBase = 'client' | 'near-operation-file' | 'gql-tag-operations' | 'graphql-modules' | 'import-types';
|
|
203
203
|
type PresetNames = `${PresetNamesBase}-preset` | PresetNamesBase;
|
|
204
204
|
/**
|
|
205
205
|
* @additionalProperties false
|
package/cjs/errors.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isDetailedError = exports.DetailedError = void 0;
|
|
4
|
-
class DetailedError extends Error {
|
|
5
|
-
constructor(message, details, source) {
|
|
6
|
-
super(message);
|
|
7
|
-
this.message = message;
|
|
8
|
-
this.details = details;
|
|
9
|
-
this.source = source;
|
|
10
|
-
Object.setPrototypeOf(this, DetailedError.prototype);
|
|
11
|
-
Error.captureStackTrace(this, DetailedError);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.DetailedError = DetailedError;
|
|
15
|
-
function isDetailedError(error) {
|
|
16
|
-
return error.details;
|
|
17
|
-
}
|
|
18
|
-
exports.isDetailedError = isDetailedError;
|
package/esm/errors.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export class DetailedError extends Error {
|
|
2
|
-
constructor(message, details, source) {
|
|
3
|
-
super(message);
|
|
4
|
-
this.message = message;
|
|
5
|
-
this.details = details;
|
|
6
|
-
this.source = source;
|
|
7
|
-
Object.setPrototypeOf(this, DetailedError.prototype);
|
|
8
|
-
Error.captureStackTrace(this, DetailedError);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export function isDetailedError(error) {
|
|
12
|
-
return error.details;
|
|
13
|
-
}
|
package/typings/errors.d.cts
DELETED
package/typings/errors.d.ts
DELETED