Browse Source

chore(sdk): regenerate Api.ts

pull/5222/head
Wing-Kam Wong 2 years ago
parent
commit
2916537dc3
  1. 145
      packages/nocodb-sdk/src/lib/Api.ts

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

@ -17,9 +17,15 @@ export interface ApiTokenType {
id?: IdType; id?: IdType;
/** Foreign Key to User */ /** Foreign Key to User */
fk_user_id?: IdType; fk_user_id?: IdType;
/** API Token Description */ /**
* API Token Description
* @example This API Token is for ABC application
*/
description?: string; description?: string;
/** API Token */ /**
* API Token
* @example DYh540o8hbWpUGdarekECKLdN5OhlgCUWutVJYX2
*/
token?: string; token?: string;
} }
@ -661,30 +667,101 @@ export interface FilterReqType {
* Model for Form * Model for Form
*/ */
export interface FormType { export interface FormType {
/** Model for StringOrNull */ /** Unique ID */
id?: IdType;
/** Banner Image URL. Not in use currently. */
banner_image_url?: StringOrNullType; banner_image_url?: StringOrNullType;
/** Form Columns */
columns?: FormColumnType[]; columns?: FormColumnType[];
/** Model for StringOrNull */ /** Email to sned after form is submitted */
email?: StringOrNullType; email?: StringOrNullType;
/**
* Foreign Key to Model
* @example md_rsu68aqjsbyqtl
*/
fk_model_id?: string; fk_model_id?: string;
/**
* Base I
* @example md_rsu68aqjsbyqtl
*/
base_id?: string;
/**
* The heading of the form
* @example My Form
*/
heading?: string; heading?: string;
/** Unique ID */ /**
id?: IdType; * Lock Type of this view
* @example collaborative
*/
lock_type?: 'collaborative' | 'locked' | 'personal'; lock_type?: 'collaborative' | 'locked' | 'personal';
/** Model for StringOrNull */ /** Logo URL. Not in use currently. */
logo_url?: StringOrNullType; logo_url?: StringOrNullType;
/** Model for Meta */ /** Meta Info for this view */
meta?: MetaType; meta?: MetaType;
/** Model for StringOrNull */ /** The numbers of seconds to redirect after form submission */
redirect_after_secs?: StringOrNullType; redirect_after_secs?: StringOrNullType;
/** Model for StringOrNull */ /** URL to redirect after submission */
redirect_url?: StringOrNullType; redirect_url?: StringOrNullType;
/** Model for Bool */ /** Show `Blank Form` after 5 seconds */
show_blank_form?: BoolType; show_blank_form?: BoolType;
/**
* The subheading of the form
* @example My Form Subheading
*/
subheading?: string; subheading?: string;
/** Model for Bool */ /** Show `Submit Another Form` button */
submit_another_form?: BoolType; submit_another_form?: BoolType;
success_msg?: string; /** Custom message after the form is successfully submitted */
success_msg?: StringOrNullType;
/**
* Form View Title
* @example Form View 1
*/
title?: string;
}
/**
* Model for Form Request
*/
export interface FormReqType {
/** Banner Image URL. Not in use currently. */
banner_image_url?: StringOrNullType;
/** Email to sned after form is submitted */
email?: StringOrNullType;
/**
* The heading of the form
* @example My Form
*/
heading?: string;
/**
* Lock Type of this view
* @example collaborative
*/
lock_type?: 'collaborative' | 'locked' | 'personal';
/** Logo URL. Not in use currently. */
logo_url?: StringOrNullType;
/** Meta Info for this view */
meta?: MetaType;
/** The numbers of seconds to redirect after form submission */
redirect_after_secs?: StringOrNullType;
/** URL to redirect after submission */
redirect_url?: StringOrNullType;
/** Show `Blank Form` after 5 seconds */
show_blank_form?: BoolType;
/**
* The subheading of the form
* @example My Form Subheading
*/
subheading?: string;
/** Show `Submit Another Form` button */
submit_another_form?: BoolType;
/** Custom message after the form is successfully submitted */
success_msg?: StringOrNullType;
/**
* The title of the form
* @example My Form
*/
title?: string; title?: string;
} }
@ -732,46 +809,6 @@ export interface FormColumnReqType {
*/ */
export type FormCreateReqType = FormReqType; export type FormCreateReqType = FormReqType;
/**
* Model for Form Request
*/
export interface FormReqType {
/** Banner Image URL. Not in use currently. */
banner_image_url?: StringOrNullType;
/** Model for StringOrNull */
email?: StringOrNullType;
/**
* The heading of the form
* @example My Form
*/
heading?: string;
lock_type?: 'collaborative' | 'locked' | 'personal';
/** Logo URL. Not in use currently. */
logo_url?: StringOrNullType;
/** Meta Info for this view */
meta?: MetaType;
/** The numbers of seconds to redirect after form submission */
redirect_after_secs?: StringOrNullType;
/** URL to redirect after submission */
redirect_url?: StringOrNullType;
/** Show `Blank Form` after 5 seconds */
show_blank_form?: BoolType;
/**
* The subheading of the form
* @example My Form Subheading
*/
subheading?: string;
/** Show `Submit Another Form` button */
submit_another_form?: BoolType;
/** Custom message after the form is successfully submitted */
success_msg?: StringOrNullType;
/**
* The title of the form
* @example My Form
*/
title?: string;
}
/** /**
* Model for Formula * Model for Formula
*/ */
@ -1680,7 +1717,7 @@ export interface ProjectUserReqType {
*/ */
email: string; email: string;
/** Project User Role */ /** Project User Role */
roles: 'commenter' | 'editor' | 'guest' | 'owner' | 'viewer'; roles: 'commenter' | 'editor' | 'guest' | 'owner' | 'viewer' | 'creator';
} }
/** /**

Loading…
Cancel
Save