Browse Source

fix(nocodb-sdk): incorrect type

pull/5168/head
Wing-Kam Wong 2 years ago
parent
commit
fbbc69fd72
  1. 2
      packages/nocodb-sdk/src/lib/Api.ts
  2. 4
      scripts/sdk/swagger.json

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

@ -502,7 +502,7 @@ export interface HookType {
description?: string; description?: string;
env?: string; env?: string;
type?: string; type?: string;
event?: 'After' | 'Before'; event?: 'after' | 'before';
operation?: 'insert' | 'delete' | 'update'; operation?: 'insert' | 'delete' | 'update';
async?: boolean; async?: boolean;
payload?: string; payload?: string;

4
scripts/sdk/swagger.json

@ -9175,8 +9175,8 @@
"event": { "event": {
"type": "string", "type": "string",
"enum": [ "enum": [
"After", "after",
"Before" "before"
] ]
}, },
"operation": { "operation": {

Loading…
Cancel
Save