@tinywork/glass 1.0.26 → 1.0.28

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 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -247,6 +247,7 @@ declare global {
247
247
  statusCode?: number;
248
248
  status?: boolean;
249
249
  updatedAt?: string;
250
+ cache?: boolean;
250
251
  };
251
252
 
252
253
  type RewriteActionSchema = {
@@ -260,6 +261,7 @@ declare global {
260
261
  regex?: boolean;
261
262
  status?: boolean;
262
263
  updatedAt?: string;
264
+ cache?: boolean;
263
265
  };
264
266
 
265
267
  type FilterSchema = {
@@ -298,7 +300,7 @@ declare global {
298
300
  resourceType?: ResourceType;
299
301
  response?: any;
300
302
  rule?: RuleSchema;
301
- otherRules?: { id: string; name: string }[];
303
+ otherRules?: RuleSchema[];
302
304
  defaultRule?: RuleSchema;
303
305
  isImportant?: boolean;
304
306
  duration?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "",
5
5
  "types": "index.d.ts",
6
6
  "files": [