@tinywork/glass 0.0.29 → 0.0.30

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/dist/index.d.ts +5 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -108,7 +108,11 @@ export interface IGlassContext {
108
108
  /** 批量更新rule的本地数据 */
109
109
  saveExamples: (ruleId: string, examples: {
110
110
  id: string;
111
- example: any;
111
+ contentType?: string;
112
+ example?: string;
113
+ name?: string;
114
+ statusCode?: number;
115
+ status?: boolean;
112
116
  }[]) => Promise<{
113
117
  success: boolean;
114
118
  message?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [