@shopify/admin-graphql-api-utilities
Advanced tools
Comparing version 1.0.0 to 1.0.1-address-mocks-minified-beta.0
interface ParsedGid { | ||
id: string; | ||
params: Record<string, string>; | ||
params: { | ||
[key: string]: string; | ||
}; | ||
} | ||
@@ -8,10 +10,14 @@ export declare function parseGidType(gid: string): string; | ||
export declare function parseGidWithParams(gid: string): ParsedGid; | ||
export declare function composeGidFactory(namescape: string): (key: string, id: number | string, params?: Record<string, string>) => string; | ||
export declare const composeGid: (key: string, id: number | string, params?: Record<string, string>) => string; | ||
export declare function composeGidFactory(namescape: string): (key: string, id: number | string, params?: { | ||
[key: string]: string; | ||
}) => string; | ||
export declare const composeGid: (key: string, id: number | string, params?: { | ||
[key: string]: string; | ||
}) => string; | ||
interface Edge<T> { | ||
node: T; | ||
} | ||
export declare function nodesFromEdges<T>(edges: Array<Edge<T>>): T[]; | ||
export declare function keyFromEdges<T, K extends keyof T>(edges: Array<Edge<T>>, key: K): Array<T[K]>; | ||
export declare function nodesFromEdges<T>(edges: Edge<T>[]): T[]; | ||
export declare function keyFromEdges<T, K extends keyof T>(edges: Edge<T>[], key: K): T[K][]; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@shopify/admin-graphql-api-utilities", | ||
"version": "1.0.0", | ||
"version": "1.0.1-address-mocks-minified-beta.0", | ||
"license": "MIT", | ||
@@ -44,3 +44,3 @@ "description": "A set of utilities to use when consuming Shopify’s admin GraphQL API", | ||
}, | ||
"gitHead": "40de4af181104f298cbab42d2d3d68e228a9a31a" | ||
"gitHead": "1a19759d10db9ca65d346141b10e7b0654e023e6" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
210
0
16680
1