Skip to content

Commit

Permalink
feat(api): mark JSON as initialism (#2292)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and meorphis committed Jan 13, 2025
1 parent 0ba9745 commit 047e98f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export type BindingGetResponse = Array<
| BindingGetResponse.WorkersBindingKindDispatchNamespace
| BindingGetResponse.WorkersBindingKindDo
| BindingGetResponse.WorkersBindingKindHyperdrive
| BindingGetResponse.WorkersBindingKindJson
| BindingGetResponse.WorkersBindingKindJSON
| BindingGetResponse.WorkersBindingKindKVNamespace
| BindingGetResponse.WorkersBindingKindMTLSCERT
| BindingGetResponse.WorkersBindingKindPlainText
Expand Down Expand Up @@ -243,7 +243,7 @@ export namespace BindingGetResponse {
type: 'hyperdrive';
}

export interface WorkersBindingKindJson {
export interface WorkersBindingKindJSON {
/**
* JSON data to use.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export namespace ScriptUpdateParams {
| Metadata.WorkersBindingKindDispatchNamespace
| Metadata.WorkersBindingKindDo
| Metadata.WorkersBindingKindHyperdrive
| Metadata.WorkersBindingKindJson
| Metadata.WorkersBindingKindJSON
| Metadata.WorkersBindingKindKVNamespace
| Metadata.WorkersBindingKindMTLSCERT
| Metadata.WorkersBindingKindPlainText
Expand Down Expand Up @@ -588,7 +588,7 @@ export namespace ScriptUpdateParams {
type: 'hyperdrive';
}

export interface WorkersBindingKindJson {
export interface WorkersBindingKindJSON {
/**
* JSON data to use.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface SettingEditResponse {
| SettingEditResponse.WorkersBindingKindDispatchNamespace
| SettingEditResponse.WorkersBindingKindDo
| SettingEditResponse.WorkersBindingKindHyperdrive
| SettingEditResponse.WorkersBindingKindJson
| SettingEditResponse.WorkersBindingKindJSON
| SettingEditResponse.WorkersBindingKindKVNamespace
| SettingEditResponse.WorkersBindingKindMTLSCERT
| SettingEditResponse.WorkersBindingKindPlainText
Expand Down Expand Up @@ -318,7 +318,7 @@ export namespace SettingEditResponse {
type: 'hyperdrive';
}

export interface WorkersBindingKindJson {
export interface WorkersBindingKindJSON {
/**
* JSON data to use.
*/
Expand Down Expand Up @@ -578,7 +578,7 @@ export interface SettingGetResponse {
| SettingGetResponse.WorkersBindingKindDispatchNamespace
| SettingGetResponse.WorkersBindingKindDo
| SettingGetResponse.WorkersBindingKindHyperdrive
| SettingGetResponse.WorkersBindingKindJson
| SettingGetResponse.WorkersBindingKindJSON
| SettingGetResponse.WorkersBindingKindKVNamespace
| SettingGetResponse.WorkersBindingKindMTLSCERT
| SettingGetResponse.WorkersBindingKindPlainText
Expand Down Expand Up @@ -837,7 +837,7 @@ export namespace SettingGetResponse {
type: 'hyperdrive';
}

export interface WorkersBindingKindJson {
export interface WorkersBindingKindJSON {
/**
* JSON data to use.
*/
Expand Down Expand Up @@ -1110,7 +1110,7 @@ export namespace SettingEditParams {
| Settings.WorkersBindingKindDispatchNamespace
| Settings.WorkersBindingKindDo
| Settings.WorkersBindingKindHyperdrive
| Settings.WorkersBindingKindJson
| Settings.WorkersBindingKindJSON
| Settings.WorkersBindingKindKVNamespace
| Settings.WorkersBindingKindMTLSCERT
| Settings.WorkersBindingKindPlainText
Expand Down Expand Up @@ -1369,7 +1369,7 @@ export namespace SettingEditParams {
type: 'hyperdrive';
}

export interface WorkersBindingKindJson {
export interface WorkersBindingKindJSON {
/**
* JSON data to use.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/resources/workers/scripts/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export namespace ScriptUpdateParams {
| Metadata.WorkersBindingKindDispatchNamespace
| Metadata.WorkersBindingKindDo
| Metadata.WorkersBindingKindHyperdrive
| Metadata.WorkersBindingKindJson
| Metadata.WorkersBindingKindJSON
| Metadata.WorkersBindingKindKVNamespace
| Metadata.WorkersBindingKindMTLSCERT
| Metadata.WorkersBindingKindPlainText
Expand Down Expand Up @@ -720,7 +720,7 @@ export namespace ScriptUpdateParams {
type: 'hyperdrive';
}

export interface WorkersBindingKindJson {
export interface WorkersBindingKindJSON {
/**
* JSON data to use.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/resources/workers/scripts/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export namespace VersionCreateParams {
| Metadata.WorkersBindingKindDispatchNamespace
| Metadata.WorkersBindingKindDo
| Metadata.WorkersBindingKindHyperdrive
| Metadata.WorkersBindingKindJson
| Metadata.WorkersBindingKindJSON
| Metadata.WorkersBindingKindKVNamespace
| Metadata.WorkersBindingKindMTLSCERT
| Metadata.WorkersBindingKindPlainText
Expand Down Expand Up @@ -373,7 +373,7 @@ export namespace VersionCreateParams {
type: 'hyperdrive';
}

export interface WorkersBindingKindJson {
export interface WorkersBindingKindJSON {
/**
* JSON data to use.
*/
Expand Down

0 comments on commit 047e98f

Please sign in to comment.