From c731351a77498974120e2466a6b33983ceb6f474 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 Jul 2026 19:20:52 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...DatasetsClient.ApiDatasetsViewsCreate.g.cs | 15 ++++++ ...sClient.ApiDatasetsViewsPartialUpdate.g.cs | 15 ++++++ ...DatasetsClient.ApiDatasetsViewsUpdate.g.cs | 15 ++++++ ...DatasetsClient.ApiDatasetsViewsCreate.g.cs | 12 +++++ ...sClient.ApiDatasetsViewsPartialUpdate.g.cs | 12 +++++ ...DatasetsClient.ApiDatasetsViewsUpdate.g.cs | 12 +++++ .../LabelStudio.Models.DatasetView.g.cs | 33 ++++++++++++ ...LabelStudio.Models.DatasetViewRequest.g.cs | 33 ++++++++++++ ...udio.Models.PatchedDatasetViewRequest.g.cs | 33 ++++++++++++ .../Generated/LabelStudio.Models.View.g.cs | 33 ++++++++++++ src/libs/LabelStudio/openapi.yaml | 52 +++++++++++++++++++ 11 files changed, 265 insertions(+) diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsCreate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsCreate.g.cs index 6f6bb6d9..2791d23f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsCreate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsCreate.g.cs @@ -444,6 +444,15 @@ partial void ProcessApiDatasetsViewsCreateResponseContent( /// Dataset ID /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -463,6 +472,9 @@ partial void ProcessApiDatasetsViewsCreateResponseContent( int dataset, object? data = default, global::LabelStudio.FilterGroupRequest? filterGroup = default, + bool? isLocked = default, + global::System.DateTime? lockedAt = default, + int? lockedBy = default, int? order = default, object? ordering = default, object? selectedItems = default, @@ -475,6 +487,9 @@ partial void ProcessApiDatasetsViewsCreateResponseContent( Data = data, Dataset = dataset, FilterGroup = filterGroup, + IsLocked = isLocked, + LockedAt = lockedAt, + LockedBy = lockedBy, Order = order, Ordering = ordering, SelectedItems = selectedItems, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsPartialUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsPartialUpdate.g.cs index 1f3620db..419897c1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsPartialUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsPartialUpdate.g.cs @@ -454,6 +454,15 @@ partial void ProcessApiDatasetsViewsPartialUpdateResponseContent( /// Dataset ID /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -474,6 +483,9 @@ partial void ProcessApiDatasetsViewsPartialUpdateResponseContent( object? data = default, int? dataset = default, global::LabelStudio.FilterGroupRequest? filterGroup = default, + bool? isLocked = default, + global::System.DateTime? lockedAt = default, + int? lockedBy = default, int? order = default, object? ordering = default, object? selectedItems = default, @@ -486,6 +498,9 @@ partial void ProcessApiDatasetsViewsPartialUpdateResponseContent( Data = data, Dataset = dataset, FilterGroup = filterGroup, + IsLocked = isLocked, + LockedAt = lockedAt, + LockedBy = lockedBy, Order = order, Ordering = ordering, SelectedItems = selectedItems, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsUpdate.g.cs index 610e8fcb..841c531c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsViewsUpdate.g.cs @@ -454,6 +454,15 @@ partial void ProcessApiDatasetsViewsUpdateResponseContent( /// Dataset ID /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -474,6 +483,9 @@ partial void ProcessApiDatasetsViewsUpdateResponseContent( int dataset, object? data = default, global::LabelStudio.FilterGroupRequest? filterGroup = default, + bool? isLocked = default, + global::System.DateTime? lockedAt = default, + int? lockedBy = default, int? order = default, object? ordering = default, object? selectedItems = default, @@ -486,6 +498,9 @@ partial void ProcessApiDatasetsViewsUpdateResponseContent( Data = data, Dataset = dataset, FilterGroup = filterGroup, + IsLocked = isLocked, + LockedAt = lockedAt, + LockedBy = lockedBy, Order = order, Ordering = ordering, SelectedItems = selectedItems, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsCreate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsCreate.g.cs index 0a4e4c22..c9c32049 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsCreate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsCreate.g.cs @@ -41,6 +41,15 @@ public partial interface IDatasetsClient /// Dataset ID /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -60,6 +69,9 @@ public partial interface IDatasetsClient int dataset, object? data = default, global::LabelStudio.FilterGroupRequest? filterGroup = default, + bool? isLocked = default, + global::System.DateTime? lockedAt = default, + int? lockedBy = default, int? order = default, object? ordering = default, object? selectedItems = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsPartialUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsPartialUpdate.g.cs index 73435dd1..41646cac 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsPartialUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsPartialUpdate.g.cs @@ -46,6 +46,15 @@ public partial interface IDatasetsClient /// Dataset ID /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -66,6 +75,9 @@ public partial interface IDatasetsClient object? data = default, int? dataset = default, global::LabelStudio.FilterGroupRequest? filterGroup = default, + bool? isLocked = default, + global::System.DateTime? lockedAt = default, + int? lockedBy = default, int? order = default, object? ordering = default, object? selectedItems = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsUpdate.g.cs index 06fc30c8..e2b6c834 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsViewsUpdate.g.cs @@ -46,6 +46,15 @@ public partial interface IDatasetsClient /// Dataset ID /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -66,6 +75,9 @@ public partial interface IDatasetsClient int dataset, object? data = default, global::LabelStudio.FilterGroupRequest? filterGroup = default, + bool? isLocked = default, + global::System.DateTime? lockedAt = default, + int? lockedBy = default, int? order = default, object? ordering = default, object? selectedItems = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatasetView.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatasetView.g.cs index fa924080..714c24a2 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatasetView.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatasetView.g.cs @@ -34,6 +34,24 @@ public sealed partial class DatasetView [global::System.Text.Json.Serialization.JsonPropertyName("id")] public int Id { get; set; } = default!; + /// + /// Whether this data manager tab is locked against configuration changes + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_locked")] + public bool? IsLocked { get; set; } + + /// + /// Time when this view was locked + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked_at")] + public global::System.DateTime? LockedAt { get; set; } + + /// + /// User who locked this view + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked_by")] + public int? LockedBy { get; set; } + /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -74,6 +92,15 @@ public sealed partial class DatasetView /// Custom view data /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -96,6 +123,9 @@ public DatasetView( int dataset, object? data, global::LabelStudio.FilterGroup? filterGroup, + bool? isLocked, + global::System.DateTime? lockedAt, + int? lockedBy, int? order, object? ordering, object? selectedItems, @@ -106,6 +136,9 @@ public DatasetView( this.Dataset = dataset; this.FilterGroup = filterGroup; this.Id = id; + this.IsLocked = isLocked; + this.LockedAt = lockedAt; + this.LockedBy = lockedBy; this.Order = order; this.Ordering = ordering; this.SelectedItems = selectedItems; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatasetViewRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatasetViewRequest.g.cs index 0cd66765..cb118cda 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatasetViewRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatasetViewRequest.g.cs @@ -27,6 +27,24 @@ public sealed partial class DatasetViewRequest [global::System.Text.Json.Serialization.JsonPropertyName("filter_group")] public global::LabelStudio.FilterGroupRequest? FilterGroup { get; set; } + /// + /// Whether this data manager tab is locked against configuration changes + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_locked")] + public bool? IsLocked { get; set; } + + /// + /// Time when this view was locked + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked_at")] + public global::System.DateTime? LockedAt { get; set; } + + /// + /// User who locked this view + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked_by")] + public int? LockedBy { get; set; } + /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -67,6 +85,15 @@ public sealed partial class DatasetViewRequest /// Custom view data /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -86,6 +113,9 @@ public DatasetViewRequest( int dataset, object? data, global::LabelStudio.FilterGroupRequest? filterGroup, + bool? isLocked, + global::System.DateTime? lockedAt, + int? lockedBy, int? order, object? ordering, object? selectedItems, @@ -94,6 +124,9 @@ public DatasetViewRequest( this.Data = data; this.Dataset = dataset; this.FilterGroup = filterGroup; + this.IsLocked = isLocked; + this.LockedAt = lockedAt; + this.LockedBy = lockedBy; this.Order = order; this.Ordering = ordering; this.SelectedItems = selectedItems; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetViewRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetViewRequest.g.cs index bb58a5e5..078b2d16 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetViewRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetViewRequest.g.cs @@ -26,6 +26,24 @@ public sealed partial class PatchedDatasetViewRequest [global::System.Text.Json.Serialization.JsonPropertyName("filter_group")] public global::LabelStudio.FilterGroupRequest? FilterGroup { get; set; } + /// + /// Whether this data manager tab is locked against configuration changes + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_locked")] + public bool? IsLocked { get; set; } + + /// + /// Time when this view was locked + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked_at")] + public global::System.DateTime? LockedAt { get; set; } + + /// + /// User who locked this view + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked_by")] + public int? LockedBy { get; set; } + /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -66,6 +84,15 @@ public sealed partial class PatchedDatasetViewRequest /// Dataset ID /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -85,6 +112,9 @@ public PatchedDatasetViewRequest( object? data, int? dataset, global::LabelStudio.FilterGroupRequest? filterGroup, + bool? isLocked, + global::System.DateTime? lockedAt, + int? lockedBy, int? order, object? ordering, object? selectedItems, @@ -93,6 +123,9 @@ public PatchedDatasetViewRequest( this.Data = data; this.Dataset = dataset; this.FilterGroup = filterGroup; + this.IsLocked = isLocked; + this.LockedAt = lockedAt; + this.LockedBy = lockedBy; this.Order = order; this.Ordering = ordering; this.SelectedItems = selectedItems; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.View.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.View.g.cs index fa318e74..9973b0b3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.View.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.View.g.cs @@ -27,6 +27,24 @@ public sealed partial class View [global::System.Text.Json.Serialization.JsonPropertyName("id")] public int Id { get; set; } = default!; + /// + /// Whether this data manager tab is locked against configuration changes + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_locked")] + public bool? IsLocked { get; set; } + + /// + /// Time when this view was locked + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked_at")] + public global::System.DateTime? LockedAt { get; set; } + + /// + /// User who locked this view + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked_by")] + public int? LockedBy { get; set; } + /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -74,6 +92,15 @@ public sealed partial class View /// Custom view data /// /// + /// + /// Whether this data manager tab is locked against configuration changes + /// + /// + /// Time when this view was locked + /// + /// + /// User who locked this view + /// /// /// Position of the tab, starting at the left in data manager and increasing as the tabs go left to right /// @@ -96,6 +123,9 @@ public View( int project, object? data, global::LabelStudio.FilterGroup? filterGroup, + bool? isLocked, + global::System.DateTime? lockedAt, + int? lockedBy, int? order, object? ordering, object? selectedItems, @@ -105,6 +135,9 @@ public View( this.Data = data; this.FilterGroup = filterGroup; this.Id = id; + this.IsLocked = isLocked; + this.LockedAt = lockedAt; + this.LockedBy = lockedBy; this.Order = order; this.Ordering = ordering; this.Project = project; diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml index fe0fdfd6..c6ee61fd 100644 --- a/src/libs/LabelStudio/openapi.yaml +++ b/src/libs/LabelStudio/openapi.yaml @@ -29055,6 +29055,19 @@ components: id: readOnly: true type: integer + is_locked: + description: Whether this data manager tab is locked against configuration changes + nullable: true + type: boolean + locked_at: + description: Time when this view was locked + format: date-time + nullable: true + type: string + locked_by: + description: User who locked this view + nullable: true + type: integer order: description: Position of the tab, starting at the left in data manager and increasing as the tabs go left to right maximum: 2147483647 @@ -29085,6 +29098,19 @@ components: type: integer filter_group: $ref: '#/components/schemas/FilterGroupRequest' + is_locked: + description: Whether this data manager tab is locked against configuration changes + nullable: true + type: boolean + locked_at: + description: Time when this view was locked + format: date-time + nullable: true + type: string + locked_by: + description: User who locked this view + nullable: true + type: integer order: description: Position of the tab, starting at the left in data manager and increasing as the tabs go left to right maximum: 2147483647 @@ -38119,6 +38145,19 @@ components: type: integer filter_group: $ref: '#/components/schemas/FilterGroupRequest' + is_locked: + description: Whether this data manager tab is locked against configuration changes + nullable: true + type: boolean + locked_at: + description: Time when this view was locked + format: date-time + nullable: true + type: string + locked_by: + description: User who locked this view + nullable: true + type: integer order: description: Position of the tab, starting at the left in data manager and increasing as the tabs go left to right maximum: 2147483647 @@ -43643,6 +43682,19 @@ components: id: readOnly: true type: integer + is_locked: + description: Whether this data manager tab is locked against configuration changes + nullable: true + type: boolean + locked_at: + description: Time when this view was locked + format: date-time + nullable: true + type: string + locked_by: + description: User who locked this view + nullable: true + type: integer order: description: Position of the tab, starting at the left in data manager and increasing as the tabs go left to right maximum: 2147483647