@tinywork/glass 0.0.30 → 0.0.31

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 +2 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -155,6 +155,8 @@ export interface IGlassExtension {
155
155
  deactivate?(context: IGlassContext): Promise<void>;
156
156
  uninstall?(context: IGlassContext): Promise<void>;
157
157
  onDocChange?(context: IGlassContext, doc: DocFullSchema | null, originDoc: DocFullSchema | null): Promise<boolean>;
158
+ /** glass cli拉取接口文档 */
159
+ onDocCliUpdate?(context: IGlassContext, id: string): Promise<void>;
158
160
  onGroupChange?(context: IGlassContext, group: GroupSchema | null, originGroup: GroupSchema | null): Promise<boolean>;
159
161
  getDefaultRule?(context: IGlassContext, docs: DocSchema[], log: NetLog, rule?: {
160
162
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [