@tinywork/glass 1.0.36 → 1.0.37

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 +5 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -438,7 +438,11 @@ declare global {
438
438
  ruleId?: string;
439
439
  }>;
440
440
 
441
- getDoc(id: string): IGlassExtensionInvokeResponse<DocSchema>;
441
+ deleteDoc(apiId: string): IGlassExtensionInvokeResponse<void>;
442
+
443
+ getDoc(
444
+ params: { apiId: string } | { pathname: string },
445
+ ): IGlassExtensionInvokeResponse<DocSchema>;
442
446
  getGroup(
443
447
  id: string,
444
448
  ): IGlassExtensionInvokeResponse<GroupSchema & { docs?: DocSchema[] }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "",
5
5
  "types": "index.d.ts",
6
6
  "files": [