From e4d8e3282ff362108f7e4e54db83a700fcb8261b Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 6 Mar 2024 13:56:45 +0100 Subject: [PATCH] remove read_only, only readonly is used on the server --- output/schema/schema.json | 32 ++++++------------- output/typescript/types.ts | 4 --- .../snapshot/_types/SnapshotRepository.ts | 20 +++--------- 3 files changed, 14 insertions(+), 42 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index 28e2c77276..2d6a192245 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -182023,10 +182023,7 @@ } }, { - "aliases": [ - "readonly" - ], - "name": "read_only", + "name": "readonly", "required": false, "type": { "kind": "instance_of", @@ -182048,7 +182045,7 @@ } } ], - "specLocation": "snapshot/_types/SnapshotRepository.ts#L77-L86" + "specLocation": "snapshot/_types/SnapshotRepository.ts#L77-L83" }, { "kind": "interface", @@ -182164,10 +182161,7 @@ } }, { - "aliases": [ - "readonly" - ], - "name": "read_only", + "name": "readonly", "required": false, "type": { "kind": "instance_of", @@ -182189,7 +182183,7 @@ } } ], - "specLocation": "snapshot/_types/SnapshotRepository.ts#L88-L97" + "specLocation": "snapshot/_types/SnapshotRepository.ts#L85-L91" }, { "kind": "interface", @@ -182370,7 +182364,7 @@ } } ], - "specLocation": "snapshot/_types/SnapshotRepository.ts#L122-L127" + "specLocation": "snapshot/_types/SnapshotRepository.ts#L110-L115" }, { "kind": "type_alias", @@ -182589,10 +182583,7 @@ } }, { - "aliases": [ - "readonly" - ], - "name": "read_only", + "name": "readonly", "required": false, "type": { "kind": "instance_of", @@ -182647,7 +182638,7 @@ } } ], - "specLocation": "snapshot/_types/SnapshotRepository.ts#L99-L111" + "specLocation": "snapshot/_types/SnapshotRepository.ts#L93-L102" }, { "kind": "interface", @@ -182941,10 +182932,7 @@ } }, { - "aliases": [ - "readonly" - ], - "name": "read_only", + "name": "readonly", "required": false, "type": { "kind": "instance_of", @@ -182955,7 +182943,7 @@ } } ], - "specLocation": "snapshot/_types/SnapshotRepository.ts#L113-L120" + "specLocation": "snapshot/_types/SnapshotRepository.ts#L104-L108" }, { "kind": "interface", @@ -183633,7 +183621,7 @@ } } ], - "specLocation": "snapshot/_types/SnapshotRepository.ts#L129-L136" + "specLocation": "snapshot/_types/SnapshotRepository.ts#L117-L124" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index c96c789822..e4132e3854 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -17229,7 +17229,6 @@ export interface SnapshotAzureRepositorySettings extends SnapshotRepositorySetti client?: string container?: string base_path?: string - read_only?: boolean readonly?: boolean location_mode?: string } @@ -17248,7 +17247,6 @@ export interface SnapshotGcsRepositorySettings extends SnapshotRepositorySetting bucket: string client?: string base_path?: string - read_only?: boolean readonly?: boolean application_name?: string } @@ -17299,7 +17297,6 @@ export interface SnapshotS3RepositorySettings extends SnapshotRepositorySettings bucket: string client?: string base_path?: string - read_only?: boolean readonly?: boolean server_side_encryption?: boolean buffer_size?: ByteSize @@ -17339,7 +17336,6 @@ export interface SnapshotSharedFileSystemRepository extends SnapshotRepositoryBa export interface SnapshotSharedFileSystemRepositorySettings extends SnapshotRepositorySettingsBase { location: string max_number_of_snapshots?: integer - read_only?: boolean readonly?: boolean } diff --git a/specification/snapshot/_types/SnapshotRepository.ts b/specification/snapshot/_types/SnapshotRepository.ts index 0df5c5d906..67b294bcfc 100644 --- a/specification/snapshot/_types/SnapshotRepository.ts +++ b/specification/snapshot/_types/SnapshotRepository.ts @@ -78,10 +78,7 @@ export class AzureRepositorySettings extends RepositorySettingsBase { client?: string container?: string base_path?: string - /** - * @aliases readonly - */ - read_only?: boolean + readonly?: boolean location_mode?: string } @@ -89,10 +86,7 @@ export class GcsRepositorySettings extends RepositorySettingsBase { bucket: string client?: string base_path?: string - /** - * @aliases readonly - */ - read_only?: boolean + readonly?: boolean application_name?: string } @@ -100,10 +94,7 @@ 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 @@ -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 {