delta-comic-core 0.0.5 → 0.0.6

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.
@@ -44,21 +44,26 @@ export declare const useConfig: import('pinia').StoreDefinition<"config", Pick<{
44
44
  form: ConfigDescription;
45
45
  value: Ref<any>;
46
46
  }>>;
47
- $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: UniFormResult<T["config"][K]>; };
47
+ $load: <T extends ConfigPointer>(pointer: T) => Ref<{ [K in keyof T["config"]]: UniFormResult<T["config"][K]>; }>;
48
+ $isExistConfig: (pointer: ConfigPointer) => boolean;
49
+ $resignerConfig: (pointer: ConfigPointer) => void;
48
50
  }, "form">, Pick<{
49
51
  isDark: import('vue').ComputedRef<boolean>;
50
52
  form: import('vue').ShallowReactive<Map<symbol, {
51
53
  form: ConfigDescription;
52
54
  value: Ref<any>;
53
55
  }>>;
54
- $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: UniFormResult<T["config"][K]>; };
56
+ $load: <T extends ConfigPointer>(pointer: T) => Ref<{ [K in keyof T["config"]]: UniFormResult<T["config"][K]>; }>;
57
+ $isExistConfig: (pointer: ConfigPointer) => boolean;
58
+ $resignerConfig: (pointer: ConfigPointer) => void;
55
59
  }, "isDark">, Pick<{
56
60
  isDark: import('vue').ComputedRef<boolean>;
57
61
  form: import('vue').ShallowReactive<Map<symbol, {
58
62
  form: ConfigDescription;
59
63
  value: Ref<any>;
60
64
  }>>;
61
- $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: UniFormResult<T["config"][K]>; };
62
- }, "$load">>;
63
- export declare const resignerConfig: (pointer: ConfigPointer) => void;
65
+ $load: <T extends ConfigPointer>(pointer: T) => Ref<{ [K in keyof T["config"]]: UniFormResult<T["config"][K]>; }>;
66
+ $isExistConfig: (pointer: ConfigPointer) => boolean;
67
+ $resignerConfig: (pointer: ConfigPointer) => void;
68
+ }, "$load" | "$isExistConfig" | "$resignerConfig">>;
64
69
  export {};
package/dist/index.d.ts CHANGED
@@ -2252,22 +2252,28 @@ export declare const Store: {
2252
2252
  form: import('./config').ConfigDescription;
2253
2253
  value: import('vue').Ref<any>;
2254
2254
  }>>;
2255
- $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; };
2255
+ $load: <T extends ConfigPointer>(pointer: T) => import('vue').Ref<{ [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; }>;
2256
+ $isExistConfig: (pointer: ConfigPointer) => boolean;
2257
+ $resignerConfig: (pointer: ConfigPointer) => void;
2256
2258
  }, "form">, Pick<{
2257
2259
  isDark: import('vue').ComputedRef<boolean>;
2258
2260
  form: import('vue').ShallowReactive<Map<symbol, {
2259
2261
  form: import('./config').ConfigDescription;
2260
2262
  value: import('vue').Ref<any>;
2261
2263
  }>>;
2262
- $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; };
2264
+ $load: <T extends ConfigPointer>(pointer: T) => import('vue').Ref<{ [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; }>;
2265
+ $isExistConfig: (pointer: ConfigPointer) => boolean;
2266
+ $resignerConfig: (pointer: ConfigPointer) => void;
2263
2267
  }, "isDark">, Pick<{
2264
2268
  isDark: import('vue').ComputedRef<boolean>;
2265
2269
  form: import('vue').ShallowReactive<Map<symbol, {
2266
2270
  form: import('./config').ConfigDescription;
2267
2271
  value: import('vue').Ref<any>;
2268
2272
  }>>;
2269
- $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; };
2270
- }, "$load">>;
2273
+ $load: <T extends ConfigPointer>(pointer: T) => import('vue').Ref<{ [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; }>;
2274
+ $isExistConfig: (pointer: ConfigPointer) => boolean;
2275
+ $resignerConfig: (pointer: ConfigPointer) => void;
2276
+ }, "$load" | "$isExistConfig" | "$resignerConfig">>;
2271
2277
  appConfig: ConfigPointer<{
2272
2278
  recordHistory: {
2273
2279
  type: "switch";
package/dist/pack.tgz CHANGED
Binary file
@@ -33,6 +33,7 @@ export interface RawItem {
33
33
  description?: string;
34
34
  thisEp: RawEp;
35
35
  commentSendable: boolean;
36
+ customIsSafe?: boolean;
36
37
  }
37
38
  export declare abstract class Item extends Struct<RawItem> implements RawItem {
38
39
  abstract like(signal?: AbortSignal): PromiseLike<boolean>;
@@ -58,6 +59,7 @@ export declare abstract class Item extends Struct<RawItem> implements RawItem {
58
59
  $$plugin: string;
59
60
  $$meta: MetaData;
60
61
  thisEp: RawEp;
62
+ customIsSafe?: boolean;
61
63
  get $thisEp(): Ep;
62
64
  constructor(v: RawItem);
63
65
  commentSendable: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "delta-comic-core",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "我曾亲眼见证神的熟视无睹.",
5
5
  "homepage": "https://github.com/wenxig/delta-comic-core",
6
6
  "repository": {