@cloudflare/types
Advanced tools
Comparing version 6.25.0 to 6.26.0
@@ -171,3 +171,3 @@ import { TypeFromCodec } from '@cloudflare/util-en-garde'; | ||
build_image_major_version: import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").NumberC>, import("io-ts").UndefinedC]>>; | ||
usage_model: import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"bundled">>, import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"unbound">>]>>, import("io-ts").UndefinedC]>>; | ||
usage_model: import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"bundled">>, import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"unbound">>, import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"standard">>]>>, import("io-ts").UndefinedC]>>; | ||
}>; | ||
@@ -200,3 +200,3 @@ export declare type DeploymentConfigEnv = TypeFromCodec<typeof DeploymentConfigEnv>; | ||
build_image_major_version: import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").NumberC>, import("io-ts").UndefinedC]>>; | ||
usage_model: import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"bundled">>, import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"unbound">>]>>, import("io-ts").UndefinedC]>>; | ||
usage_model: import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"bundled">>, import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"unbound">>, import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"standard">>]>>, import("io-ts").UndefinedC]>>; | ||
}>>>; | ||
@@ -256,3 +256,3 @@ export declare type DeploymentConfigs = TypeFromCodec<typeof DeploymentConfigs>; | ||
build_image_major_version: import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").NumberC>, import("io-ts").UndefinedC]>>; | ||
usage_model: import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"bundled">>, import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"unbound">>]>>, import("io-ts").UndefinedC]>>; | ||
usage_model: import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").UnionC<[import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"bundled">>, import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"unbound">>, import("@cloudflare/util-en-garde").Codec<import("io-ts").LiteralC<"standard">>]>>, import("io-ts").UndefinedC]>>; | ||
}>>>; | ||
@@ -443,3 +443,3 @@ latest_deployment: import("@cloudflare/util-en-garde").ObjectCodec<{ | ||
export declare type UploadFileGroupPayload = TypeFromCodec<typeof UploadFileGroupPayload>; | ||
export declare const FunctionsUsageModel: import("../utils/enumerable").Enumerable<"bundled" | "unbound">; | ||
export declare const FunctionsUsageModel: import("../utils/enumerable").Enumerable<"standard" | "bundled" | "unbound">; | ||
export declare type FunctionsUsageModel = TypeFromEnumerable<typeof FunctionsUsageModel>; | ||
@@ -446,0 +446,0 @@ export declare const AccountSettingsResult: import("@cloudflare/util-en-garde").ObjectCodec<{ |
@@ -98,3 +98,3 @@ import { eg } from '@cloudflare/util-en-garde'; | ||
build_image_major_version: eg.number.optional, | ||
usage_model: eg.union([eg.literal('bundled'), eg.literal('unbound')]).optional | ||
usage_model: eg.union([eg.literal('bundled'), eg.literal('unbound'), eg.literal('standard')]).optional | ||
}); | ||
@@ -172,3 +172,3 @@ export var DeploymentConfigs = eg.record(eg.union([eg.literal('production'), eg.literal('preview')]), DeploymentConfigEnv); | ||
}); | ||
export var FunctionsUsageModel = enumerable(['bundled', 'unbound']); | ||
export var FunctionsUsageModel = enumerable(['bundled', 'unbound', 'standard']); | ||
export var AccountSettingsResult = eg.object({ | ||
@@ -175,0 +175,0 @@ default_usage_model: eg.string |
@@ -120,3 +120,3 @@ "use strict"; | ||
build_image_major_version: _utilEnGarde.eg.number.optional, | ||
usage_model: _utilEnGarde.eg.union([_utilEnGarde.eg.literal('bundled'), _utilEnGarde.eg.literal('unbound')]).optional | ||
usage_model: _utilEnGarde.eg.union([_utilEnGarde.eg.literal('bundled'), _utilEnGarde.eg.literal('unbound'), _utilEnGarde.eg.literal('standard')]).optional | ||
}); | ||
@@ -199,3 +199,3 @@ exports.DeploymentConfigEnv = DeploymentConfigEnv; | ||
exports.UploadFileGroupPayload = UploadFileGroupPayload; | ||
var FunctionsUsageModel = (0, _enumerable.enumerable)(['bundled', 'unbound']); | ||
var FunctionsUsageModel = (0, _enumerable.enumerable)(['bundled', 'unbound', 'standard']); | ||
exports.FunctionsUsageModel = FunctionsUsageModel; | ||
@@ -202,0 +202,0 @@ var AccountSettingsResult = _utilEnGarde.eg.object({ |
{ | ||
"name": "@cloudflare/types", | ||
"description": "Cloudflare API data types and various type helpers.", | ||
"version": "6.25.0", | ||
"version": "6.26.0", | ||
"types": "./dist/index.d.ts", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@cloudflare/intl-types": "^1.5.3", | ||
"@cloudflare/intl-types": "^1.5.4", | ||
"@cloudflare/util-en-garde": "^8.0.10" | ||
@@ -29,0 +29,0 @@ }, |
@@ -167,3 +167,7 @@ import { eg, TypeFromCodec } from '@cloudflare/util-en-garde'; | ||
build_image_major_version: eg.number.optional, | ||
usage_model: eg.union([eg.literal('bundled'), eg.literal('unbound')]).optional | ||
usage_model: eg.union([ | ||
eg.literal('bundled'), | ||
eg.literal('unbound'), | ||
eg.literal('standard') | ||
]).optional | ||
}); | ||
@@ -269,3 +273,7 @@ | ||
export const FunctionsUsageModel = enumerable(['bundled', 'unbound']); | ||
export const FunctionsUsageModel = enumerable([ | ||
'bundled', | ||
'unbound', | ||
'standard' | ||
]); | ||
export type FunctionsUsageModel = TypeFromEnumerable< | ||
@@ -272,0 +280,0 @@ typeof FunctionsUsageModel |
Sorry, the diff of this file is too big to display
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
1487799
18160