From dba5e4dc4ab70f05c6720c47f3f595ef504f451d Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Thu, 28 Nov 2024 14:48:01 +0000 Subject: [PATCH] fix: move snapshot swagger definition to ee --- packages/nocodb/src/schema/swagger.json | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index 045b8a547d..a461fe00fe 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -27331,6 +27331,45 @@ } } }, + "Snapshot": { + "description": "Model for Snapshot", + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Id", + "description": "Unique ID" + }, + "title": { + "type": "string", + "description": "Title of the Snapshot" + }, + "base_id": { + "$ref": "#/components/schemas/Id", + "description": "Foreign Key to Base" + }, + "snapshot_base_id": { + "$ref": "#/components/schemas/Id", + "description": "Foreign Key to Snapshot Base" + }, + "fk_workspace_id": { + "$ref": "#/components/schemas/Id", + "description": "Foreign Key to Workspace" + }, + "created_at": { + "format": "date", + "type": "string", + "description": "Date of creation" + }, + "created_by" : { + "$ref": "#/components/schemas/Id", + "description": "User ID of the creator" + }, + "status": { + "type": "string", + "description": "Status of the Snapshot" + } + } + }, "ExtensionReq": { "type": "object", "properties": {