@cloudflare/workers-types 5.20261201.1 → 5.20261203.1
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/experimental/index.d.ts +0 -34
- package/experimental/index.ts +0 -34
- package/index.d.ts +0 -34
- package/index.ts +0 -34
- package/package.json +1 -1
package/experimental/index.d.ts
CHANGED
|
@@ -16753,40 +16753,6 @@ declare module "cloudflare:pipelines" {
|
|
|
16753
16753
|
send(records: T[]): Promise<void>;
|
|
16754
16754
|
}
|
|
16755
16755
|
}
|
|
16756
|
-
// PubSubMessage represents an incoming PubSub message.
|
|
16757
|
-
// The message includes metadata about the broker, the client, and the payload
|
|
16758
|
-
// itself.
|
|
16759
|
-
// https://developers.cloudflare.com/pub-sub/
|
|
16760
|
-
interface PubSubMessage {
|
|
16761
|
-
// Message ID
|
|
16762
|
-
readonly mid: number;
|
|
16763
|
-
// MQTT broker FQDN in the form mqtts://BROKER.NAMESPACE.cloudflarepubsub.com:PORT
|
|
16764
|
-
readonly broker: string;
|
|
16765
|
-
// The MQTT topic the message was sent on.
|
|
16766
|
-
readonly topic: string;
|
|
16767
|
-
// The client ID of the client that published this message.
|
|
16768
|
-
readonly clientId: string;
|
|
16769
|
-
// The unique identifier (JWT ID) used by the client to authenticate, if token
|
|
16770
|
-
// auth was used.
|
|
16771
|
-
readonly jti?: string;
|
|
16772
|
-
// A Unix timestamp (seconds from Jan 1, 1970), set when the Pub/Sub Broker
|
|
16773
|
-
// received the message from the client.
|
|
16774
|
-
readonly receivedAt: number;
|
|
16775
|
-
// An (optional) string with the MIME type of the payload, if set by the
|
|
16776
|
-
// client.
|
|
16777
|
-
readonly contentType: string;
|
|
16778
|
-
// Set to 1 when the payload is a UTF-8 string
|
|
16779
|
-
// https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901063
|
|
16780
|
-
readonly payloadFormatIndicator: number;
|
|
16781
|
-
// Pub/Sub (MQTT) payloads can be UTF-8 strings, or byte arrays.
|
|
16782
|
-
// You can use payloadFormatIndicator to inspect this before decoding.
|
|
16783
|
-
payload: string | Uint8Array;
|
|
16784
|
-
}
|
|
16785
|
-
// JsonWebKey extended by kid parameter
|
|
16786
|
-
interface JsonWebKeyWithKid extends JsonWebKey {
|
|
16787
|
-
// Key Identifier of the JWK
|
|
16788
|
-
readonly kid: string;
|
|
16789
|
-
}
|
|
16790
16756
|
interface RateLimitOptions {
|
|
16791
16757
|
key: string;
|
|
16792
16758
|
/**
|
package/experimental/index.ts
CHANGED
|
@@ -16663,40 +16663,6 @@ export type PagesPluginFunction<
|
|
|
16663
16663
|
> = (
|
|
16664
16664
|
context: EventPluginContext<Env, Params, Data, PluginArgs>,
|
|
16665
16665
|
) => Response | Promise<Response>;
|
|
16666
|
-
// PubSubMessage represents an incoming PubSub message.
|
|
16667
|
-
// The message includes metadata about the broker, the client, and the payload
|
|
16668
|
-
// itself.
|
|
16669
|
-
// https://developers.cloudflare.com/pub-sub/
|
|
16670
|
-
export interface PubSubMessage {
|
|
16671
|
-
// Message ID
|
|
16672
|
-
readonly mid: number;
|
|
16673
|
-
// MQTT broker FQDN in the form mqtts://BROKER.NAMESPACE.cloudflarepubsub.com:PORT
|
|
16674
|
-
readonly broker: string;
|
|
16675
|
-
// The MQTT topic the message was sent on.
|
|
16676
|
-
readonly topic: string;
|
|
16677
|
-
// The client ID of the client that published this message.
|
|
16678
|
-
readonly clientId: string;
|
|
16679
|
-
// The unique identifier (JWT ID) used by the client to authenticate, if token
|
|
16680
|
-
// auth was used.
|
|
16681
|
-
readonly jti?: string;
|
|
16682
|
-
// A Unix timestamp (seconds from Jan 1, 1970), set when the Pub/Sub Broker
|
|
16683
|
-
// received the message from the client.
|
|
16684
|
-
readonly receivedAt: number;
|
|
16685
|
-
// An (optional) string with the MIME type of the payload, if set by the
|
|
16686
|
-
// client.
|
|
16687
|
-
readonly contentType: string;
|
|
16688
|
-
// Set to 1 when the payload is a UTF-8 string
|
|
16689
|
-
// https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901063
|
|
16690
|
-
readonly payloadFormatIndicator: number;
|
|
16691
|
-
// Pub/Sub (MQTT) payloads can be UTF-8 strings, or byte arrays.
|
|
16692
|
-
// You can use payloadFormatIndicator to inspect this before decoding.
|
|
16693
|
-
payload: string | Uint8Array;
|
|
16694
|
-
}
|
|
16695
|
-
// JsonWebKey extended by kid parameter
|
|
16696
|
-
export interface JsonWebKeyWithKid extends JsonWebKey {
|
|
16697
|
-
// Key Identifier of the JWK
|
|
16698
|
-
readonly kid: string;
|
|
16699
|
-
}
|
|
16700
16666
|
export interface RateLimitOptions {
|
|
16701
16667
|
key: string;
|
|
16702
16668
|
/**
|
package/index.d.ts
CHANGED
|
@@ -16374,40 +16374,6 @@ declare module "cloudflare:pipelines" {
|
|
|
16374
16374
|
send(records: T[]): Promise<void>;
|
|
16375
16375
|
}
|
|
16376
16376
|
}
|
|
16377
|
-
// PubSubMessage represents an incoming PubSub message.
|
|
16378
|
-
// The message includes metadata about the broker, the client, and the payload
|
|
16379
|
-
// itself.
|
|
16380
|
-
// https://developers.cloudflare.com/pub-sub/
|
|
16381
|
-
interface PubSubMessage {
|
|
16382
|
-
// Message ID
|
|
16383
|
-
readonly mid: number;
|
|
16384
|
-
// MQTT broker FQDN in the form mqtts://BROKER.NAMESPACE.cloudflarepubsub.com:PORT
|
|
16385
|
-
readonly broker: string;
|
|
16386
|
-
// The MQTT topic the message was sent on.
|
|
16387
|
-
readonly topic: string;
|
|
16388
|
-
// The client ID of the client that published this message.
|
|
16389
|
-
readonly clientId: string;
|
|
16390
|
-
// The unique identifier (JWT ID) used by the client to authenticate, if token
|
|
16391
|
-
// auth was used.
|
|
16392
|
-
readonly jti?: string;
|
|
16393
|
-
// A Unix timestamp (seconds from Jan 1, 1970), set when the Pub/Sub Broker
|
|
16394
|
-
// received the message from the client.
|
|
16395
|
-
readonly receivedAt: number;
|
|
16396
|
-
// An (optional) string with the MIME type of the payload, if set by the
|
|
16397
|
-
// client.
|
|
16398
|
-
readonly contentType: string;
|
|
16399
|
-
// Set to 1 when the payload is a UTF-8 string
|
|
16400
|
-
// https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901063
|
|
16401
|
-
readonly payloadFormatIndicator: number;
|
|
16402
|
-
// Pub/Sub (MQTT) payloads can be UTF-8 strings, or byte arrays.
|
|
16403
|
-
// You can use payloadFormatIndicator to inspect this before decoding.
|
|
16404
|
-
payload: string | Uint8Array;
|
|
16405
|
-
}
|
|
16406
|
-
// JsonWebKey extended by kid parameter
|
|
16407
|
-
interface JsonWebKeyWithKid extends JsonWebKey {
|
|
16408
|
-
// Key Identifier of the JWK
|
|
16409
|
-
readonly kid: string;
|
|
16410
|
-
}
|
|
16411
16377
|
interface RateLimitOptions {
|
|
16412
16378
|
key: string;
|
|
16413
16379
|
/**
|
package/index.ts
CHANGED
|
@@ -16287,40 +16287,6 @@ export type PagesPluginFunction<
|
|
|
16287
16287
|
> = (
|
|
16288
16288
|
context: EventPluginContext<Env, Params, Data, PluginArgs>,
|
|
16289
16289
|
) => Response | Promise<Response>;
|
|
16290
|
-
// PubSubMessage represents an incoming PubSub message.
|
|
16291
|
-
// The message includes metadata about the broker, the client, and the payload
|
|
16292
|
-
// itself.
|
|
16293
|
-
// https://developers.cloudflare.com/pub-sub/
|
|
16294
|
-
export interface PubSubMessage {
|
|
16295
|
-
// Message ID
|
|
16296
|
-
readonly mid: number;
|
|
16297
|
-
// MQTT broker FQDN in the form mqtts://BROKER.NAMESPACE.cloudflarepubsub.com:PORT
|
|
16298
|
-
readonly broker: string;
|
|
16299
|
-
// The MQTT topic the message was sent on.
|
|
16300
|
-
readonly topic: string;
|
|
16301
|
-
// The client ID of the client that published this message.
|
|
16302
|
-
readonly clientId: string;
|
|
16303
|
-
// The unique identifier (JWT ID) used by the client to authenticate, if token
|
|
16304
|
-
// auth was used.
|
|
16305
|
-
readonly jti?: string;
|
|
16306
|
-
// A Unix timestamp (seconds from Jan 1, 1970), set when the Pub/Sub Broker
|
|
16307
|
-
// received the message from the client.
|
|
16308
|
-
readonly receivedAt: number;
|
|
16309
|
-
// An (optional) string with the MIME type of the payload, if set by the
|
|
16310
|
-
// client.
|
|
16311
|
-
readonly contentType: string;
|
|
16312
|
-
// Set to 1 when the payload is a UTF-8 string
|
|
16313
|
-
// https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901063
|
|
16314
|
-
readonly payloadFormatIndicator: number;
|
|
16315
|
-
// Pub/Sub (MQTT) payloads can be UTF-8 strings, or byte arrays.
|
|
16316
|
-
// You can use payloadFormatIndicator to inspect this before decoding.
|
|
16317
|
-
payload: string | Uint8Array;
|
|
16318
|
-
}
|
|
16319
|
-
// JsonWebKey extended by kid parameter
|
|
16320
|
-
export interface JsonWebKeyWithKid extends JsonWebKey {
|
|
16321
|
-
// Key Identifier of the JWK
|
|
16322
|
-
readonly kid: string;
|
|
16323
|
-
}
|
|
16324
16290
|
export interface RateLimitOptions {
|
|
16325
16291
|
key: string;
|
|
16326
16292
|
/**
|
package/package.json
CHANGED