|
|
|
@ -3062,32 +3062,40 @@ export class Api<
|
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* No description |
|
|
|
|
* @description Read project details |
|
|
|
|
* |
|
|
|
|
* @tags Public |
|
|
|
|
* @name SharedViewMetaGet |
|
|
|
|
* @request GET:/api/v1/db/public/shared-view/{sharedViewUuid}/meta |
|
|
|
|
* @response `200` `object` OK |
|
|
|
|
* @name SharedBaseGet |
|
|
|
|
* @request GET:/api/v1/db/public/shared-base/{sharedBaseUuid}/meta |
|
|
|
|
* @response `200` `{ project_id?: string }` OK |
|
|
|
|
*/ |
|
|
|
|
sharedViewMetaGet: (sharedViewUuid: string, params: RequestParams = {}) => |
|
|
|
|
this.request<object, any>({ |
|
|
|
|
path: `/api/v1/db/public/shared-view/${sharedViewUuid}/meta`, |
|
|
|
|
sharedBaseGet: (sharedBaseUuid: string, params: RequestParams = {}) => |
|
|
|
|
this.request<{ project_id?: string }, any>({ |
|
|
|
|
path: `/api/v1/db/public/shared-base/${sharedBaseUuid}/meta`, |
|
|
|
|
method: 'GET', |
|
|
|
|
format: 'json', |
|
|
|
|
...params, |
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @description Read project details |
|
|
|
|
* No description |
|
|
|
|
* |
|
|
|
|
* @tags Public |
|
|
|
|
* @name SharedBaseGet |
|
|
|
|
* @request GET:/api/v1/db/public/shared-base/{sharedBaseUuid}/meta |
|
|
|
|
* @response `200` `{ project_id?: string }` OK |
|
|
|
|
* @name SharedViewMetaGet |
|
|
|
|
* @request GET:/api/v1/db/public/shared-view/{sharedViewUuid}/meta |
|
|
|
|
* @response `200` `(ViewType & { relatedMetas?: any, client?: string, columns?: (GridColumnType | FormColumnType | GalleryColumnType), model?: TableType } & { view?: (FormType | GridType | GalleryType) })` OK |
|
|
|
|
*/ |
|
|
|
|
sharedBaseGet: (sharedBaseUuid: string, params: RequestParams = {}) => |
|
|
|
|
this.request<{ project_id?: string }, any>({ |
|
|
|
|
path: `/api/v1/db/public/shared-base/${sharedBaseUuid}/meta`, |
|
|
|
|
sharedViewMetaGet: (sharedViewUuid: string, params: RequestParams = {}) => |
|
|
|
|
this.request< |
|
|
|
|
ViewType & { |
|
|
|
|
relatedMetas?: any; |
|
|
|
|
client?: string; |
|
|
|
|
columns?: GridColumnType | FormColumnType | GalleryColumnType; |
|
|
|
|
model?: TableType; |
|
|
|
|
} & { view?: FormType | GridType | GalleryType }, |
|
|
|
|
any |
|
|
|
|
>({ |
|
|
|
|
path: `/api/v1/db/public/shared-view/${sharedViewUuid}/meta`, |
|
|
|
|
method: 'GET', |
|
|
|
|
format: 'json', |
|
|
|
|
...params, |
|
|
|
|