@tinywork/glass 1.0.17 → 1.0.19
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 +8 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -390,6 +390,14 @@ declare global {
|
|
|
390
390
|
getItem<T>(key: string): IGlassExtensionInvokeResponse<T>;
|
|
391
391
|
setItem<T>(key: string, value: T): IGlassExtensionInvokeResponse<void>;
|
|
392
392
|
|
|
393
|
+
/** 保存cookie */
|
|
394
|
+
setCookie(params: Cookie): IGlassExtensionInvokeResponse<void>;
|
|
395
|
+
|
|
396
|
+
/** 获取cookie */
|
|
397
|
+
getCookie(
|
|
398
|
+
params: Omit<Cookie, "value">
|
|
399
|
+
): IGlassExtensionInvokeResponse<string>;
|
|
400
|
+
|
|
393
401
|
/** 保存文档组 */
|
|
394
402
|
saveGroup(group: GroupSchema): IGlassExtensionInvokeResponse<void>;
|
|
395
403
|
/** 批量保存文档组 */
|