@tinywork/glass 1.0.31 → 1.0.33

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -443,6 +443,10 @@ declare global {
443
443
  id: string
444
444
  ): IGlassExtensionInvokeResponse<GroupSchema & { docs?: DocSchema[] }>;
445
445
 
446
+ agentConfirm(params: {
447
+ content: string;
448
+ }): IGlassExtensionInvokeResponse<boolean>;
449
+
446
450
  getRule(
447
451
  params: { apiId: string } | { ruleId: string }
448
452
  ): IGlassExtensionInvokeResponse<RuleSchema>;
@@ -462,8 +466,9 @@ declare global {
462
466
  getVersionCases(versionId: string): IGlassExtensionInvokeResponse<Case[]>;
463
467
  saveVersionCases(
464
468
  versionId: string,
465
- cases: CaseData
469
+ cases: Case[]
466
470
  ): IGlassExtensionInvokeResponse<void>;
471
+ execVersionCases(versionId: string): IGlassExtensionInvokeResponse<void>;
467
472
 
468
473
  /** 批量保存文档 */
469
474
  saveDocs(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "",
5
5
  "types": "index.d.ts",
6
6
  "files": [