Browse Source

fix: sync dependencies

pull/8990/head
DarkPhoenix2704 4 months ago
parent
commit
8edc86a89f
No known key found for this signature in database
GPG Key ID: 3F76B10622A07849
  1. 4
      packages/nc-gui/package.json
  2. 90
      packages/nocodb-sdk/src/lib/Api.ts
  3. 541
      pnpm-lock.yaml

4
packages/nc-gui/package.json

@ -62,6 +62,7 @@
"dagre": "^0.8.5", "dagre": "^0.8.5",
"dayjs": "^1.11.11", "dayjs": "^1.11.11",
"deep-object-diff": "^1.1.9", "deep-object-diff": "^1.1.9",
"embla-carousel-vue": "^8.1.7",
"emoji-mart-vue-fast": "^15.0.2", "emoji-mart-vue-fast": "^15.0.2",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"fuse.js": "^6.6.2", "fuse.js": "^6.6.2",
@ -79,7 +80,10 @@
"nocodb-sdk": "workspace:^", "nocodb-sdk": "workspace:^",
"papaparse": "^5.4.1", "papaparse": "^5.4.1",
"parse-github-url": "^1.0.2", "parse-github-url": "^1.0.2",
"pdfobject": "^2.3.0",
"pdfobject-vue": "^0.0.4",
"pinia": "^2.1.7", "pinia": "^2.1.7",
"plyr": "^3.7.8",
"qrcode": "^1.5.3", "qrcode": "^1.5.3",
"rfdc": "^1.3.1", "rfdc": "^1.3.1",
"showdown": "^2.1.0", "showdown": "^2.1.0",

90
packages/nocodb-sdk/src/lib/Api.ts

@ -9332,6 +9332,55 @@ export class Api<
...params, ...params,
}), }),
/**
* @description Download attachment from a shared view
*
* @tags Public
* @name DataAttachmentDownload
* @summary Get Shared View Attachment
* @request GET:/api/v2/public/shared-view/{sharedViewUuid}/downloadAttachment/{columnId}/{rowId}
* @response `200` `{
\** URL to download the attachment *\
url?: string,
\** Path to download the attachment *\
path?: string,
}` OK
* @response `400` `{
\** @example BadRequest [Error]: <ERROR MESSAGE> *\
msg: string,
}`
*/
dataAttachmentDownload: (
sharedViewUuid: string,
columnId: IdType,
rowId: any,
query?: {
/** URL or Path of the attachment */
urlOrPath?: string;
},
params: RequestParams = {}
) =>
this.request<
{
/** URL to download the attachment */
url?: string;
/** Path to download the attachment */
path?: string;
},
{
/** @example BadRequest [Error]: <ERROR MESSAGE> */
msg: string;
}
>({
path: `/api/v2/public/shared-view/${sharedViewUuid}/downloadAttachment/${columnId}/${rowId}`,
method: 'GET',
query: query,
format: 'json',
...params,
}),
/** /**
* @description List Shared View Grouped Data * @description List Shared View Grouped Data
* *
@ -11826,6 +11875,47 @@ export class Api<
...params, ...params,
}), }),
/**
* @description Download attachment from a given row
*
* @tags DB Data Table Row
* @name AttachmentDownload
* @summary Download Attachment
* @request GET:/api/v2/downloadAttachment/{modelId}/{columnId}/{rowId}
* @response `200` `{
\** URL to download attachment *\
url?: string,
\** Path to download attachment *\
path?: string,
}` OK
*/
attachmentDownload: (
modelId: string,
columnId: string,
rowId: string,
query?: {
/** URL or Path of the attachment */
urlOrPath?: string;
},
params: RequestParams = {}
) =>
this.request<
{
/** URL to download attachment */
url?: string;
/** Path to download attachment */
path?: string;
},
any
>({
path: `/api/v2/downloadAttachment/${modelId}/${columnId}/${rowId}`,
method: 'GET',
query: query,
format: 'json',
...params,
}),
/** /**
* @description Copy links from the one cell and paste them into another cell or delete all records from cell * @description Copy links from the one cell and paste them into another cell or delete all records from cell
* *

541
pnpm-lock.yaml

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save