@tinywork/glass 1.0.45 → 1.0.46
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/index.d.ts +5 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -421,6 +421,7 @@ declare global {
|
|
|
421
421
|
saveGroup(group: GroupSchema): IGlassExtensionInvokeResponse<void>;
|
|
422
422
|
/** 批量保存文档组 */
|
|
423
423
|
saveGroups(groups: GroupSchema[]): IGlassExtensionInvokeResponse<void>;
|
|
424
|
+
updateGroup(params: { id: string }): IGlassExtensionInvokeResponse<void>;
|
|
424
425
|
/** 保存文档 */
|
|
425
426
|
saveDoc(
|
|
426
427
|
doc: DocSchema,
|
|
@@ -461,6 +462,10 @@ declare global {
|
|
|
461
462
|
},
|
|
462
463
|
): IGlassExtensionInvokeResponse<void>;
|
|
463
464
|
|
|
465
|
+
updateDoc(
|
|
466
|
+
params: { apiId: string } | { pathname: string },
|
|
467
|
+
): IGlassExtensionInvokeResponse<void>;
|
|
468
|
+
|
|
464
469
|
getDoc(
|
|
465
470
|
params: { apiId: string } | { pathname: string },
|
|
466
471
|
): IGlassExtensionInvokeResponse<DocSchema>;
|