@tinywork/glass 1.0.41 → 1.0.43
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/index.d.ts +3 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -304,6 +304,8 @@ declare global {
|
|
|
304
304
|
defaultRule?: RuleSchema;
|
|
305
305
|
isImportant?: boolean;
|
|
306
306
|
duration?: number;
|
|
307
|
+
startTime?: number;
|
|
308
|
+
endTime?: number;
|
|
307
309
|
};
|
|
308
310
|
|
|
309
311
|
interface IGlassExtension {
|
|
@@ -485,6 +487,7 @@ declare global {
|
|
|
485
487
|
isFinish: boolean;
|
|
486
488
|
}): IGlassExtensionInvokeResponse<void>;
|
|
487
489
|
|
|
490
|
+
queryRules(): IGlassExtensionInvokeResponse<RuleSchema[]>;
|
|
488
491
|
getRule(
|
|
489
492
|
params: { apiId: string } | { ruleId: string },
|
|
490
493
|
): IGlassExtensionInvokeResponse<RuleSchema>;
|