dbgate-types 6.1.2 → 6.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dbinfo.d.ts +13 -0
- package/package.json +1 -1
package/dbinfo.d.ts
CHANGED
|
@@ -157,6 +157,18 @@ export interface TriggerInfo extends SqlObjectInfo {
|
|
|
157
157
|
eventType?: 'INSERT' | 'UPDATE' | 'DELETE' | 'TRUNCATE';
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
export interface SchedulerEventInfo extends SqlObjectInfo {
|
|
161
|
+
definer: string;
|
|
162
|
+
eventType: 'RECURRING' | 'ONE TIME';
|
|
163
|
+
onCompletion: 'PRESERVE' | 'NOT PRESERVE';
|
|
164
|
+
status: 'ENABLED' | 'DISABLED';
|
|
165
|
+
lastExecuted?: string;
|
|
166
|
+
intervalValue: number;
|
|
167
|
+
intervalField: string;
|
|
168
|
+
starts: string;
|
|
169
|
+
executeAt: string;
|
|
170
|
+
}
|
|
171
|
+
|
|
160
172
|
export interface SchemaInfo {
|
|
161
173
|
objectId?: string;
|
|
162
174
|
schemaName: string;
|
|
@@ -171,6 +183,7 @@ export interface DatabaseInfoObjects {
|
|
|
171
183
|
procedures: ProcedureInfo[];
|
|
172
184
|
functions: FunctionInfo[];
|
|
173
185
|
triggers: TriggerInfo[];
|
|
186
|
+
schedulerEvents: SchedulerEventInfo[];
|
|
174
187
|
}
|
|
175
188
|
|
|
176
189
|
export interface DatabaseInfo extends DatabaseInfoObjects {
|
package/package.json
CHANGED