@tinywork/glass 1.0.48 → 1.0.50

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 +3 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -295,12 +295,8 @@ declare global {
295
295
  };
296
296
 
297
297
  type BatchSchema = BatchItemSchema & {
298
- mocks?: Array<{
299
- mockId: string;
300
- }>;
301
- actions?: Array<{
302
- actionId?: string;
303
- }>;
298
+ mocks?: Array<MockModelSchema>;
299
+ actions?: Array<RewriteActionSchema>;
304
300
  };
305
301
 
306
302
  type NetLog = {
@@ -529,7 +525,7 @@ declare global {
529
525
  actionIds?: string[];
530
526
  }[],
531
527
  ): IGlassExtensionInvokeResponse<void>;
532
- queryBatchs(): IGlassExtensionInvokeResponse<BatchSchema[]>;
528
+ queryBatches(): IGlassExtensionInvokeResponse<BatchSchema[]>;
533
529
  saveBatch(batch: BatchSchema): IGlassExtensionInvokeResponse<void>;
534
530
  changeBatchStatus(
535
531
  params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "",
5
5
  "types": "index.d.ts",
6
6
  "files": [