@takeshape/util
Advanced tools
Comparing version 10.38.0 to 10.39.2
@@ -292,2 +292,3 @@ /// <reference types="stripe/types/crypto/crypto" /> | ||
bandwidth?: number; | ||
apiCdn?: boolean; | ||
}; | ||
@@ -348,2 +349,4 @@ export declare const DEFAULT_ENTITLEMENTS: Entitlements; | ||
bandwidth: number; | ||
apiCdnBandwidth: number; | ||
graphqlCdnRequests: number; | ||
workflows: number; | ||
@@ -358,3 +361,5 @@ contentEntries: number; | ||
bandwidth: string; | ||
} & Omit<BillingUsage, 'bandwidth'>; | ||
apiCdnBandwidth: string; | ||
graphqlCdnRequests: string; | ||
} & Omit<BillingUsage, 'bandwidth' | 'apiCdnBandwidth' | 'graphqlCdnRequests'>; | ||
//# sourceMappingURL=billing.d.ts.map |
@@ -27,3 +27,4 @@ "use strict"; | ||
importFromCSV: false, | ||
minScheduleTriggerInterval: DEFAULT_MIN_SCHEDULE_TRIGGER_INTERVAL | ||
minScheduleTriggerInterval: DEFAULT_MIN_SCHEDULE_TRIGGER_INTERVAL, | ||
apiCdn: false | ||
}; | ||
@@ -30,0 +31,0 @@ |
@@ -17,3 +17,5 @@ export type NamingConfig = { | ||
export declare function dynamoTableName(params: NamingParams, name: string): string; | ||
export declare const variantResourceName: (params: NamingParams, name: string) => string; | ||
export declare const sharedResourceName: (params: NamingParams, name: string) => string; | ||
export declare function variantBucketName(params: NamingParams, name: string): string; | ||
export declare function sharedBucketName(params: NamingParams, name: string): string; | ||
@@ -20,0 +22,0 @@ export declare const sharedTopicName: (params: NamingParams, name: string) => string; |
@@ -11,2 +11,4 @@ "use strict"; | ||
exports.sharedTopicName = exports.sharedResourceName = void 0; | ||
exports.variantBucketName = variantBucketName; | ||
exports.variantResourceName = void 0; | ||
var _camelCase = _interopRequireDefault(require("lodash/camelCase")); | ||
@@ -57,2 +59,8 @@ var _kebabCase = _interopRequireDefault(require("lodash/kebabCase")); | ||
} | ||
const variantResourceName = exports.variantResourceName = prefixName.bind(null, { | ||
withVariant: true, | ||
withRegion: false, | ||
separator: '--', | ||
case: 'kebabCase' | ||
}); | ||
const sharedResourceName = exports.sharedResourceName = prefixName.bind(null, { | ||
@@ -64,2 +72,9 @@ withVariant: false, | ||
}); | ||
function variantBucketName(params, name) { | ||
return prefixName({ | ||
withVariant: true, | ||
withRegion: true, | ||
separator: '--' | ||
}, params, name); | ||
} | ||
function sharedBucketName(params, name) { | ||
@@ -66,0 +81,0 @@ return prefixName({ |
@@ -18,3 +18,4 @@ import invariant from 'tiny-invariant'; | ||
importFromCSV: false, | ||
minScheduleTriggerInterval: DEFAULT_MIN_SCHEDULE_TRIGGER_INTERVAL | ||
minScheduleTriggerInterval: DEFAULT_MIN_SCHEDULE_TRIGGER_INTERVAL, | ||
apiCdn: false | ||
}; | ||
@@ -21,0 +22,0 @@ |
@@ -45,2 +45,8 @@ import camelCase from 'lodash/camelCase'; | ||
} | ||
export const variantResourceName = prefixName.bind(null, { | ||
withVariant: true, | ||
withRegion: false, | ||
separator: '--', | ||
case: 'kebabCase' | ||
}); | ||
export const sharedResourceName = prefixName.bind(null, { | ||
@@ -52,2 +58,9 @@ withVariant: false, | ||
}); | ||
export function variantBucketName(params, name) { | ||
return prefixName({ | ||
withVariant: true, | ||
withRegion: true, | ||
separator: '--' | ||
}, params, name); | ||
} | ||
export function sharedBucketName(params, name) { | ||
@@ -54,0 +67,0 @@ return prefixName({ |
{ | ||
"name": "@takeshape/util", | ||
"version": "10.38.0", | ||
"version": "10.39.2", | ||
"description": "Shared utilities", | ||
@@ -36,3 +36,3 @@ "homepage": "https://www.takeshape.io", | ||
"url-parse": "^1.5.3", | ||
"@takeshape/routing": "10.38.0" | ||
"@takeshape/routing": "10.39.2" | ||
}, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
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
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
210890
4784
+ Added@takeshape/routing@10.39.2(transitive)
- Removed@takeshape/routing@10.38.0(transitive)
Updated@takeshape/routing@10.39.2