@distilled.cloud/cloudflare 0.16.7 → 0.16.9
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.
|
@@ -2067,6 +2067,14 @@ export interface PutScriptRequest {
|
|
|
2067
2067
|
name: string;
|
|
2068
2068
|
type: "artifacts";
|
|
2069
2069
|
namespace: string;
|
|
2070
|
+
} | {
|
|
2071
|
+
name: string;
|
|
2072
|
+
type: "ratelimit";
|
|
2073
|
+
namespaceId: string;
|
|
2074
|
+
simple: {
|
|
2075
|
+
limit: number;
|
|
2076
|
+
period: number;
|
|
2077
|
+
};
|
|
2070
2078
|
})[];
|
|
2071
2079
|
bodyPart?: string;
|
|
2072
2080
|
compatibilityDate?: string;
|
|
@@ -2121,6 +2129,12 @@ export interface PutScriptRequest {
|
|
|
2121
2129
|
headSamplingRate?: number | null;
|
|
2122
2130
|
persist?: boolean;
|
|
2123
2131
|
} | null;
|
|
2132
|
+
traces?: {
|
|
2133
|
+
enabled: boolean;
|
|
2134
|
+
headSamplingRate?: number;
|
|
2135
|
+
destinations?: string[];
|
|
2136
|
+
persist?: boolean;
|
|
2137
|
+
};
|
|
2124
2138
|
};
|
|
2125
2139
|
placement?: {
|
|
2126
2140
|
mode: "smart";
|
|
@@ -2190,6 +2204,12 @@ export interface PutScriptResponse {
|
|
|
2190
2204
|
headSamplingRate?: number | null;
|
|
2191
2205
|
persist?: boolean | null;
|
|
2192
2206
|
} | null;
|
|
2207
|
+
traces?: {
|
|
2208
|
+
enabled: boolean;
|
|
2209
|
+
headSamplingRate?: number | null;
|
|
2210
|
+
destinations?: string[] | null;
|
|
2211
|
+
persist?: boolean | null;
|
|
2212
|
+
} | null;
|
|
2193
2213
|
} | null;
|
|
2194
2214
|
/** Configuration for [Smart Placement](https://developers.cloudflare.com/workers/configuration/smart-placement). Specify either mode for Smart Placement, or one of region/hostname/host for targeted place */
|
|
2195
2215
|
placement?: {
|
|
@@ -2975,6 +2995,12 @@ export interface GetScriptScriptAndVersionSettingResponse {
|
|
|
2975
2995
|
headSamplingRate?: number | null;
|
|
2976
2996
|
persist?: boolean | null;
|
|
2977
2997
|
} | null;
|
|
2998
|
+
traces?: {
|
|
2999
|
+
enabled: boolean;
|
|
3000
|
+
headSamplingRate?: number | null;
|
|
3001
|
+
destinations?: string[] | null;
|
|
3002
|
+
persist?: boolean | null;
|
|
3003
|
+
} | null;
|
|
2978
3004
|
} | null;
|
|
2979
3005
|
/** Configuration for [Smart Placement](https://developers.cloudflare.com/workers/configuration/smart-placement). Specify either mode for Smart Placement, or one of region/hostname/host for targeted place */
|
|
2980
3006
|
placement?: unknown | null;
|
|
@@ -3479,6 +3505,12 @@ export interface GetScriptSettingResponse {
|
|
|
3479
3505
|
headSamplingRate?: number | null;
|
|
3480
3506
|
persist?: boolean | null;
|
|
3481
3507
|
} | null;
|
|
3508
|
+
traces?: {
|
|
3509
|
+
enabled: boolean;
|
|
3510
|
+
headSamplingRate?: number | null;
|
|
3511
|
+
destinations?: string[] | null;
|
|
3512
|
+
persist?: boolean | null;
|
|
3513
|
+
} | null;
|
|
3482
3514
|
} | null;
|
|
3483
3515
|
/** Tags associated with the Worker. */
|
|
3484
3516
|
tags?: string[] | null;
|
|
@@ -3509,6 +3541,12 @@ export interface PatchScriptSettingRequest {
|
|
|
3509
3541
|
headSamplingRate?: number | null;
|
|
3510
3542
|
persist?: boolean;
|
|
3511
3543
|
} | null;
|
|
3544
|
+
traces?: {
|
|
3545
|
+
enabled: boolean;
|
|
3546
|
+
headSamplingRate?: number;
|
|
3547
|
+
destinations?: string[];
|
|
3548
|
+
persist?: boolean;
|
|
3549
|
+
};
|
|
3512
3550
|
} | null;
|
|
3513
3551
|
/** Body param: Tags associated with the Worker. */
|
|
3514
3552
|
tags?: string[] | null;
|
|
@@ -3534,6 +3572,12 @@ export interface PatchScriptSettingResponse {
|
|
|
3534
3572
|
headSamplingRate?: number | null;
|
|
3535
3573
|
persist?: boolean | null;
|
|
3536
3574
|
} | null;
|
|
3575
|
+
traces?: {
|
|
3576
|
+
enabled: boolean;
|
|
3577
|
+
headSamplingRate?: number | null;
|
|
3578
|
+
destinations?: string[] | null;
|
|
3579
|
+
persist?: boolean | null;
|
|
3580
|
+
} | null;
|
|
3537
3581
|
} | null;
|
|
3538
3582
|
/** Tags associated with the Worker. */
|
|
3539
3583
|
tags?: string[] | null;
|