Browse Source

chore(sdk): regenerate Api.ts

pull/5222/head
Wing-Kam Wong 2 years ago
parent
commit
7e1299300e
  1. 55
      packages/nocodb-sdk/src/lib/Api.ts

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

@ -681,7 +681,7 @@ export interface FormType {
*/ */
fk_model_id?: string; fk_model_id?: string;
/** /**
* Base I * Base ID
* @example md_rsu68aqjsbyqtl * @example md_rsu68aqjsbyqtl
*/ */
base_id?: string; base_id?: string;
@ -769,46 +769,53 @@ export interface FormReqType {
* Model for Form Column * Model for Form Column
*/ */
export interface FormColumnType { export interface FormColumnType {
created_at?: string; /** Unique ID */
description?: string; id?: IdType;
/** Form Column Description (Not in use) */
description?: StringOrNullType;
/** Foreign Key to Column */ /** Foreign Key to Column */
fk_column_id?: IdType; fk_column_id?: IdType;
fk_view_id?: string; /** Model for ID */
help?: any; fk_view_id?: IdType;
id?: string; /** Form Column Help Text */
label?: string; help?: StringOrNullType;
/** Model for Meta */ /** Form Column Label */
label?: StringOrNullType;
/** Meta Info */
meta?: MetaType; meta?: MetaType;
/**
* The order among all the columns in the form
* @example 1
*/
order?: number; order?: number;
/** Model for Bool */ /** Is this form column required in submission? */
required?: BoolType; required?: BoolType;
/** Model for Bool */ /** Is this column shown in Form? */
show?: BoolType; show?: BoolType;
updated_at?: string; /** Form Column UUID (Not in use) */
uuid?: any; uuid?: StringOrNullType;
} }
/** /**
* Model for Form Column Request * Model for Form Column Request
*/ */
export interface FormColumnReqType { export interface FormColumnReqType {
description?: string; /** Form Column Description (Not in use) */
help?: any; description?: StringOrNullType;
label?: string; /** Form Column Help Text */
/** Model for Meta */ help?: StringOrNullType;
/** Form Column Label */
label?: StringOrNullType;
/** Meta Info */
meta?: MetaType; meta?: MetaType;
/** The order among all the columns in the form */
order?: number; order?: number;
/** Model for Bool */ /** Is this form column required in submission? */
required?: BoolType; required?: BoolType;
/** Model for Bool */ /** Is this column shown in Form? */
show?: BoolType; show?: BoolType;
} }
/**
* Model for Form Create
*/
export type FormCreateReqType = FormReqType;
/** /**
* Model for Formula * Model for Formula
*/ */
@ -3994,7 +4001,7 @@ export class Api<
*/ */
formCreate: ( formCreate: (
tableId: IdType, tableId: IdType,
data: FormCreateReqType, data: FormReqType,
params: RequestParams = {} params: RequestParams = {}
) => ) =>
this.request<FormType, any>({ this.request<FormType, any>({

Loading…
Cancel
Save