@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.
- package/dist/index.d.ts +5 -1
- 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
|
-
|
|
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;
|