@tinywork/glass 1.0.18 → 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 +4 -11
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -391,19 +391,12 @@ declare global {
|
|
|
391
391
|
setItem<T>(key: string, value: T): IGlassExtensionInvokeResponse<void>;
|
|
392
392
|
|
|
393
393
|
/** 保存cookie */
|
|
394
|
-
setCookie(params:
|
|
395
|
-
name: string;
|
|
396
|
-
origin?: string;
|
|
397
|
-
path?: string;
|
|
398
|
-
value: string;
|
|
399
|
-
}): IGlassExtensionInvokeResponse<void>;
|
|
394
|
+
setCookie(params: Cookie): IGlassExtensionInvokeResponse<void>;
|
|
400
395
|
|
|
401
396
|
/** 获取cookie */
|
|
402
|
-
getCookie(
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
path?: string;
|
|
406
|
-
}): IGlassExtensionInvokeResponse<string>;
|
|
397
|
+
getCookie(
|
|
398
|
+
params: Omit<Cookie, "value">
|
|
399
|
+
): IGlassExtensionInvokeResponse<string>;
|
|
407
400
|
|
|
408
401
|
/** 保存文档组 */
|
|
409
402
|
saveGroup(group: GroupSchema): IGlassExtensionInvokeResponse<void>;
|