Browse Source

fix: dtxp type correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5174/head
Pranav C 2 years ago
parent
commit
4770210568
  1. 36
      packages/nocodb-sdk/src/lib/Api.ts
  2. 30
      scripts/sdk/swagger.json

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

@ -203,8 +203,8 @@ export interface FilterType {
project_id?: string; project_id?: string;
base_id?: string; base_id?: string;
fk_parent_id?: string; fk_parent_id?: string;
fk_view_id?: string; fk_view_id?: string | null;
fk_hook_id?: string; fk_hook_id?: string | null;
} }
export interface FilterReqType { export interface FilterReqType {
@ -219,8 +219,8 @@ export interface FilterReqType {
project_id?: string; project_id?: string;
base_id?: string; base_id?: string;
fk_parent_id?: string; fk_parent_id?: string;
fk_view_id?: string; fk_view_id?: string | null;
fk_hook_id?: string; fk_hook_id?: string | null;
} }
export interface FilterListType { export interface FilterListType {
@ -273,8 +273,8 @@ export interface ColumnType {
cc?: string; cc?: string;
csn?: string; csn?: string;
dtx?: string; dtx?: string;
dtxp?: string; dtxp?: string | number | null;
dtxs?: string; dtxs?: string | number | null;
au?: boolean; au?: boolean;
deleted?: boolean; deleted?: boolean;
visible?: boolean; visible?: boolean;
@ -448,7 +448,7 @@ export interface KanbanType {
fk_model_id?: string; fk_model_id?: string;
fk_grp_col_id?: string | null; fk_grp_col_id?: string | null;
fk_cover_image_col_id?: string; fk_cover_image_col_id?: string;
meta?: string | object; meta?: object | null | string;
} }
export interface GeoLocationType { export interface GeoLocationType {
@ -546,7 +546,7 @@ export interface FormColumnType {
export interface PaginatedType { export interface PaginatedType {
pageSize?: number; pageSize?: number;
totalRows?: number; totalRows?: number;
sort?: string | any[]; sort?: string | SortType[];
isFirstPage?: boolean; isFirstPage?: boolean;
isLastPage?: boolean; isLastPage?: boolean;
page?: number; page?: number;
@ -615,7 +615,7 @@ export interface HookType {
event?: 'after' | 'before'; event?: 'after' | 'before';
operation?: 'insert' | 'delete' | 'update'; operation?: 'insert' | 'delete' | 'update';
async?: boolean; async?: boolean;
payload?: string; payload?: any;
url?: string; url?: string;
headers?: string; headers?: string;
condition?: boolean; condition?: boolean;
@ -635,10 +635,10 @@ export interface HookReqType {
event: 'after' | 'before'; event: 'after' | 'before';
operation: 'insert' | 'delete' | 'update'; operation: 'insert' | 'delete' | 'update';
async?: string | number | null; async?: string | number | null;
payload?: string; payload?: any;
url?: string; url?: string | null;
headers?: string; headers?: string | null;
condition?: boolean; condition?: boolean | null;
notification: object; notification: object;
retries?: number; retries?: number;
retry_interval?: number; retry_interval?: number;
@ -693,7 +693,7 @@ export interface PluginType {
tags?: string; tags?: string;
category?: string; category?: string;
input_schema?: string; input_schema?: string;
input?: string | null; input?: string | number | null;
creator?: string; creator?: string;
creator_website?: string; creator_website?: string;
price?: string; price?: string;
@ -722,12 +722,12 @@ export interface HookLogType {
id?: string; id?: string;
base_id?: string; base_id?: string;
project_id?: string; project_id?: string;
fk_hook_id?: string; fk_hook_id?: string | null;
type?: string; type?: string;
event?: string; event?: string;
operation?: string; operation?: string;
test_call?: boolean; test_call?: boolean;
payload?: string; payload?: any;
conditions?: string; conditions?: string;
notifications?: string; notifications?: string;
error_code?: string; error_code?: string;
@ -792,8 +792,8 @@ export interface NormalColumnRequestType {
cc?: string; cc?: string;
csn?: string; csn?: string;
dtx?: string; dtx?: string;
dtxp?: string | null; dtxp?: string | number | null;
dtxs?: string | null; dtxs?: string | number | null;
au?: boolean; au?: boolean;
} }

30
scripts/sdk/swagger.json

@ -8507,10 +8507,30 @@
"type": "string" "type": "string"
}, },
"dtxp": { "dtxp": {
"type": "string" "oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}, },
"dtxs": { "dtxs": {
"type": "string" "oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}, },
"au": { "au": {
"type": "boolean" "type": "boolean"
@ -10291,6 +10311,9 @@
{ {
"type": "string" "type": "string"
}, },
{
"type": "number"
},
{ {
"type": "null" "type": "null"
} }
@ -10301,6 +10324,9 @@
{ {
"type": "string" "type": "string"
}, },
{
"type": "number"
},
{ {
"type": "null" "type": "null"
} }

Loading…
Cancel
Save