@graphql-mesh/utils 1.0.0-alpha-3fc47d119.0 → 1.0.0-alpha-20230420181317-a95037648
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/apply-transforms.js +35 -0
- package/cjs/defaultImportFn.js +57 -0
- package/cjs/extract-resolvers.js +23 -0
- package/cjs/fileURLToPath.js +50 -0
- package/cjs/fs-operations.js +65 -0
- package/cjs/getHeadersObj.js +61 -0
- package/cjs/global-lru-cache.js +9 -0
- package/cjs/group-transforms.js +17 -0
- package/cjs/index.js +20 -0
- package/cjs/load-from-module-export-expression.js +29 -0
- package/cjs/logger.js +127 -0
- package/cjs/package.json +1 -0
- package/cjs/parseAndPrintWithCache.js +42 -0
- package/cjs/pubsub.js +57 -0
- package/cjs/read-file-or-url.js +132 -0
- package/cjs/resolve-additional-resolvers.js +350 -0
- package/cjs/sanitize-name-for-graphql.js +96 -0
- package/cjs/with-cancel.js +34 -0
- package/cjs/with-cookies.js +18 -0
- package/cjs/with-filter.js +53 -0
- package/esm/apply-transforms.js +29 -0
- package/esm/defaultImportFn.js +32 -0
- package/esm/extract-resolvers.js +19 -0
- package/esm/fileURLToPath.js +46 -0
- package/esm/fs-operations.js +57 -0
- package/esm/getHeadersObj.js +57 -0
- package/esm/global-lru-cache.js +4 -0
- package/esm/group-transforms.js +13 -0
- package/esm/index.js +17 -0
- package/esm/load-from-module-export-expression.js +25 -0
- package/esm/logger.js +118 -0
- package/esm/parseAndPrintWithCache.js +37 -0
- package/esm/pubsub.js +53 -0
- package/esm/read-file-or-url.js +124 -0
- package/esm/resolve-additional-resolvers.js +344 -0
- package/esm/sanitize-name-for-graphql.js +91 -0
- package/esm/with-cancel.js +30 -0
- package/esm/with-cookies.js +14 -0
- package/esm/with-filter.js +49 -0
- package/package.json +28 -23
- package/typings/apply-transforms.d.cts +6 -0
- package/{apply-transforms.d.ts → typings/apply-transforms.d.ts} +3 -3
- package/typings/defaultImportFn.d.cts +2 -0
- package/typings/defaultImportFn.d.ts +2 -0
- package/typings/extract-resolvers.d.ts +2 -0
- package/typings/fileURLToPath.d.ts +1 -0
- package/typings/fs-operations.d.ts +7 -0
- package/typings/getHeadersObj.d.cts +1 -0
- package/typings/getHeadersObj.d.ts +1 -0
- package/typings/global-lru-cache.d.cts +3 -0
- package/{global-lru-cache.d.ts → typings/global-lru-cache.d.ts} +2 -2
- package/typings/group-transforms.d.ts +5 -0
- package/typings/index.d.cts +17 -0
- package/typings/index.d.ts +17 -0
- package/typings/load-from-module-export-expression.d.cts +8 -0
- package/{load-from-module-export-expression.d.ts → typings/load-from-module-export-expression.d.ts} +1 -1
- package/typings/logger.d.cts +22 -0
- package/{logger.d.ts → typings/logger.d.ts} +1 -1
- package/typings/parseAndPrintWithCache.d.ts +4 -0
- package/typings/pubsub.d.cts +13 -0
- package/{pubsub.d.ts → typings/pubsub.d.ts} +3 -2
- package/typings/read-file-or-url.d.cts +14 -0
- package/{read-file-or-url.d.ts → typings/read-file-or-url.d.ts} +3 -3
- package/typings/resolve-additional-resolvers.d.cts +4 -0
- package/{resolve-additional-resolvers.d.ts → typings/resolve-additional-resolvers.d.ts} +1 -1
- package/typings/sanitize-name-for-graphql.d.cts +2 -0
- package/{sanitize-name-for-graphql.d.ts → typings/sanitize-name-for-graphql.d.ts} +1 -0
- package/typings/with-cancel.d.cts +1 -0
- package/typings/with-cancel.d.ts +1 -0
- package/typings/with-cookies.d.cts +3 -0
- package/typings/with-cookies.d.ts +3 -0
- package/typings/with-filter.d.cts +4 -0
- package/typings/with-filter.d.ts +4 -0
- package/defaultImportFn.d.ts +0 -1
- package/getHeadersObj.d.ts +0 -1
- package/index.d.ts +0 -16
- package/index.js +0 -1112
- package/index.mjs +0 -1054
- package/with-cancel.d.ts +0 -1
- package/with-filter.d.ts +0 -4
- /package/{extract-resolvers.d.ts → typings/extract-resolvers.d.cts} +0 -0
- /package/{fileURLToPath.d.ts → typings/fileURLToPath.d.cts} +0 -0
- /package/{fs-operations.d.ts → typings/fs-operations.d.cts} +0 -0
- /package/{group-transforms.d.ts → typings/group-transforms.d.cts} +0 -0
- /package/{parseAndPrintWithCache.d.ts → typings/parseAndPrintWithCache.d.cts} +0 -0
package/with-cancel.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function withCancel<T>(asyncIterable: AsyncIterable<T>, onCancel: () => void): AsyncIterable<T | undefined>;
|
package/with-filter.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare type FilterFn<TSource = any, TArgs = any, TContext = any> = (rootValue?: TSource, args?: TArgs, context?: TContext, info?: any) => boolean | Promise<boolean>;
|
|
2
|
-
export declare type ResolverFn<TSource = any, TArgs = any, TContext = any> = (rootValue?: TSource, args?: TArgs, context?: TContext, info?: any) => AsyncIterator<any> | Promise<AsyncIterator<any>>;
|
|
3
|
-
export declare type WithFilter<TSource = any, TArgs = any, TContext = any> = (asyncIteratorFn: ResolverFn<TSource, TArgs, TContext>, filterFn: FilterFn<TSource, TArgs, TContext>) => ResolverFn<TSource, TArgs, TContext>;
|
|
4
|
-
export declare function withFilter<TSource = any, TArgs = any, TContext = any>(asyncIteratorFn: ResolverFn<TSource, TArgs, TContext>, filterFn: FilterFn<TSource, TArgs, TContext>): ResolverFn<TSource, TArgs, TContext>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|