Skip to content

Commit

Permalink
remove read_only, only readonly is used on the server
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez committed Mar 6, 2024
1 parent 428feaf commit e4d8e32
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 42 deletions.
32 changes: 10 additions & 22 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 4 additions & 16 deletions specification/snapshot/_types/SnapshotRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,32 +78,23 @@ export class AzureRepositorySettings extends RepositorySettingsBase {
client?: string
container?: string
base_path?: string
/**
* @aliases readonly
*/
read_only?: boolean
readonly?: boolean
location_mode?: string
}

export class GcsRepositorySettings extends RepositorySettingsBase {
bucket: string
client?: string
base_path?: string
/**
* @aliases readonly
*/
read_only?: boolean
readonly?: boolean
application_name?: string
}

export class S3RepositorySettings extends RepositorySettingsBase {
bucket: string
client?: string
base_path?: string
/**
* @aliases readonly
*/
read_only?: boolean
readonly?: boolean
server_side_encryption?: boolean
buffer_size?: ByteSize
canned_acl?: string
Expand All @@ -113,10 +104,7 @@ export class S3RepositorySettings extends RepositorySettingsBase {
export class SharedFileSystemRepositorySettings extends RepositorySettingsBase {
location: string
max_number_of_snapshots?: integer
/**
* @aliases readonly
*/
read_only?: boolean
readonly?: boolean
}

export class ReadOnlyUrlRepositorySettings extends RepositorySettingsBase {
Expand Down

0 comments on commit e4d8e32

Please sign in to comment.