@vuetify/one 2.0.0 → 2.1.0

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/dist/index.d.ts CHANGED
@@ -5,7 +5,52 @@ import { PiniaPluginContext } from 'pinia';
5
5
 
6
6
  declare const aliases: any;
7
7
 
8
- declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<{
8
+ type Team = {
9
+ id: string;
10
+ name: string;
11
+ inviteCode: string;
12
+ members: {
13
+ id: string;
14
+ name: string;
15
+ picture: string;
16
+ }[];
17
+ owner: {
18
+ id: string;
19
+ name: string;
20
+ picture: string;
21
+ };
22
+ };
23
+
24
+ interface Sponsorship {
25
+ id: string;
26
+ platform: string;
27
+ interval: 'month' | 'year' | 'once';
28
+ target: string;
29
+ tierName: string;
30
+ amount: number;
31
+ isActive: boolean;
32
+ createdAt: Date;
33
+ }
34
+ interface Identity {
35
+ id: string;
36
+ emails: string[];
37
+ provider: string;
38
+ userId: string;
39
+ userHandle: string;
40
+ primary: boolean;
41
+ }
42
+ interface User {
43
+ id: string;
44
+ isAdmin: boolean;
45
+ name: string;
46
+ picture: string;
47
+ settings: Record<string, any> | null;
48
+ createdAt: string;
49
+ identities: Identity[];
50
+ sponsorships: Sponsorship[];
51
+ team: Team;
52
+ }
53
+ declare const useAuthStore: pinia.StoreDefinition<"auth", Pick<{
9
54
  user: globalThis.Ref<{
10
55
  id: string;
11
56
  isAdmin: boolean;
@@ -24,17 +69,72 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
24
69
  sponsorships: {
25
70
  id: string;
26
71
  platform: string;
27
- interval: 'month' | 'year' | 'once';
72
+ interval: "month" | "year" | "once";
28
73
  target: string;
29
74
  tierName: string;
30
75
  amount: number;
31
76
  isActive: boolean;
32
77
  createdAt: Date;
33
78
  }[];
79
+ team: {
80
+ id: string;
81
+ name: string;
82
+ inviteCode: string;
83
+ members: {
84
+ id: string;
85
+ name: string;
86
+ picture: string;
87
+ }[];
88
+ owner: {
89
+ id: string;
90
+ name: string;
91
+ picture: string;
92
+ };
93
+ };
94
+ } | null, User | {
95
+ id: string;
96
+ isAdmin: boolean;
97
+ name: string;
98
+ picture: string;
99
+ settings: Record<string, any> | null;
100
+ createdAt: string;
101
+ identities: {
102
+ id: string;
103
+ emails: string[];
104
+ provider: string;
105
+ userId: string;
106
+ userHandle: string;
107
+ primary: boolean;
108
+ }[];
109
+ sponsorships: {
110
+ id: string;
111
+ platform: string;
112
+ interval: "month" | "year" | "once";
113
+ target: string;
114
+ tierName: string;
115
+ amount: number;
116
+ isActive: boolean;
117
+ createdAt: Date;
118
+ }[];
119
+ team: {
120
+ id: string;
121
+ name: string;
122
+ inviteCode: string;
123
+ members: {
124
+ id: string;
125
+ name: string;
126
+ picture: string;
127
+ }[];
128
+ owner: {
129
+ id: string;
130
+ name: string;
131
+ picture: string;
132
+ };
133
+ };
34
134
  } | null>;
35
135
  url: string;
36
- dialog: globalThis.Ref<boolean>;
37
- isLoading: vue.ShallowRef<boolean>;
136
+ dialog: globalThis.Ref<boolean, boolean>;
137
+ isLoading: vue.ShallowRef<boolean, boolean>;
38
138
  findIdentity: (provider: string) => {
39
139
  id: string;
40
140
  emails: string[];
@@ -47,11 +147,11 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
47
147
  (force?: boolean): Promise<void>;
48
148
  promise: Promise<void> | null;
49
149
  };
50
- login: (provider?: 'github' | 'discord' | 'shopify') => Promise<void>;
150
+ login: (provider?: "github" | "discord" | "shopify") => Promise<void>;
51
151
  logout: (identity?: string) => Promise<void>;
52
152
  lastLoginProvider: () => string | null;
53
153
  sync: () => Promise<void>;
54
- }, "url" | "user" | "dialog" | "isLoading">>, Pick<{
154
+ }, "url" | "user" | "dialog" | "isLoading">, Pick<{
55
155
  user: globalThis.Ref<{
56
156
  id: string;
57
157
  isAdmin: boolean;
@@ -70,17 +170,72 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
70
170
  sponsorships: {
71
171
  id: string;
72
172
  platform: string;
73
- interval: 'month' | 'year' | 'once';
173
+ interval: "month" | "year" | "once";
174
+ target: string;
175
+ tierName: string;
176
+ amount: number;
177
+ isActive: boolean;
178
+ createdAt: Date;
179
+ }[];
180
+ team: {
181
+ id: string;
182
+ name: string;
183
+ inviteCode: string;
184
+ members: {
185
+ id: string;
186
+ name: string;
187
+ picture: string;
188
+ }[];
189
+ owner: {
190
+ id: string;
191
+ name: string;
192
+ picture: string;
193
+ };
194
+ };
195
+ } | null, User | {
196
+ id: string;
197
+ isAdmin: boolean;
198
+ name: string;
199
+ picture: string;
200
+ settings: Record<string, any> | null;
201
+ createdAt: string;
202
+ identities: {
203
+ id: string;
204
+ emails: string[];
205
+ provider: string;
206
+ userId: string;
207
+ userHandle: string;
208
+ primary: boolean;
209
+ }[];
210
+ sponsorships: {
211
+ id: string;
212
+ platform: string;
213
+ interval: "month" | "year" | "once";
74
214
  target: string;
75
215
  tierName: string;
76
216
  amount: number;
77
217
  isActive: boolean;
78
218
  createdAt: Date;
79
219
  }[];
220
+ team: {
221
+ id: string;
222
+ name: string;
223
+ inviteCode: string;
224
+ members: {
225
+ id: string;
226
+ name: string;
227
+ picture: string;
228
+ }[];
229
+ owner: {
230
+ id: string;
231
+ name: string;
232
+ picture: string;
233
+ };
234
+ };
80
235
  } | null>;
81
236
  url: string;
82
- dialog: globalThis.Ref<boolean>;
83
- isLoading: vue.ShallowRef<boolean>;
237
+ dialog: globalThis.Ref<boolean, boolean>;
238
+ isLoading: vue.ShallowRef<boolean, boolean>;
84
239
  findIdentity: (provider: string) => {
85
240
  id: string;
86
241
  emails: string[];
@@ -93,7 +248,7 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
93
248
  (force?: boolean): Promise<void>;
94
249
  promise: Promise<void> | null;
95
250
  };
96
- login: (provider?: 'github' | 'discord' | 'shopify') => Promise<void>;
251
+ login: (provider?: "github" | "discord" | "shopify") => Promise<void>;
97
252
  logout: (identity?: string) => Promise<void>;
98
253
  lastLoginProvider: () => string | null;
99
254
  sync: () => Promise<void>;
@@ -116,17 +271,72 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
116
271
  sponsorships: {
117
272
  id: string;
118
273
  platform: string;
119
- interval: 'month' | 'year' | 'once';
274
+ interval: "month" | "year" | "once";
275
+ target: string;
276
+ tierName: string;
277
+ amount: number;
278
+ isActive: boolean;
279
+ createdAt: Date;
280
+ }[];
281
+ team: {
282
+ id: string;
283
+ name: string;
284
+ inviteCode: string;
285
+ members: {
286
+ id: string;
287
+ name: string;
288
+ picture: string;
289
+ }[];
290
+ owner: {
291
+ id: string;
292
+ name: string;
293
+ picture: string;
294
+ };
295
+ };
296
+ } | null, User | {
297
+ id: string;
298
+ isAdmin: boolean;
299
+ name: string;
300
+ picture: string;
301
+ settings: Record<string, any> | null;
302
+ createdAt: string;
303
+ identities: {
304
+ id: string;
305
+ emails: string[];
306
+ provider: string;
307
+ userId: string;
308
+ userHandle: string;
309
+ primary: boolean;
310
+ }[];
311
+ sponsorships: {
312
+ id: string;
313
+ platform: string;
314
+ interval: "month" | "year" | "once";
120
315
  target: string;
121
316
  tierName: string;
122
317
  amount: number;
123
318
  isActive: boolean;
124
319
  createdAt: Date;
125
320
  }[];
321
+ team: {
322
+ id: string;
323
+ name: string;
324
+ inviteCode: string;
325
+ members: {
326
+ id: string;
327
+ name: string;
328
+ picture: string;
329
+ }[];
330
+ owner: {
331
+ id: string;
332
+ name: string;
333
+ picture: string;
334
+ };
335
+ };
126
336
  } | null>;
127
337
  url: string;
128
- dialog: globalThis.Ref<boolean>;
129
- isLoading: vue.ShallowRef<boolean>;
338
+ dialog: globalThis.Ref<boolean, boolean>;
339
+ isLoading: vue.ShallowRef<boolean, boolean>;
130
340
  findIdentity: (provider: string) => {
131
341
  id: string;
132
342
  emails: string[];
@@ -139,7 +349,7 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
139
349
  (force?: boolean): Promise<void>;
140
350
  promise: Promise<void> | null;
141
351
  };
142
- login: (provider?: 'github' | 'discord' | 'shopify') => Promise<void>;
352
+ login: (provider?: "github" | "discord" | "shopify") => Promise<void>;
143
353
  logout: (identity?: string) => Promise<void>;
144
354
  lastLoginProvider: () => string | null;
145
355
  sync: () => Promise<void>;
@@ -178,7 +388,7 @@ interface Banner {
178
388
  site: ('*' | 'dev' | 'vbin' | 'vplay' | 'docs' | 'home' | 'server')[];
179
389
  };
180
390
  }
181
- interface State$3 {
391
+ interface State$2 {
182
392
  all: Ref<Banner[]>;
183
393
  aall: Ref<Banner[]>;
184
394
  isLoading: ShallowRef<boolean>;
@@ -192,7 +402,7 @@ interface State$3 {
192
402
  store: (data: FormData) => Promise<Banner>;
193
403
  update: (slug: string, data: FormData) => Promise<Banner>;
194
404
  }
195
- declare const useBannersStore: pinia.StoreDefinition<"banners", pinia._UnwrapAll<Pick<State$3, "isLoading" | "all" | "aall" | "record">>, Pick<State$3, "server" | "banner">, Pick<State$3, "show" | "admin" | "destroy" | "index" | "store" | "update">>;
405
+ declare const useBannersStore: pinia.StoreDefinition<"banners", Pick<State$2, "isLoading" | "all" | "aall" | "record">, Pick<State$2, "server" | "banner">, Pick<State$2, "show" | "admin" | "destroy" | "index" | "store" | "update">>;
196
406
 
197
407
  type Bin = {
198
408
  id: string;
@@ -202,8 +412,8 @@ type Bin = {
202
412
  owner: Record<string, unknown>;
203
413
  visibility: 'private' | 'public';
204
414
  };
205
- declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<{
206
- isLoading: vue.ShallowRef<boolean>;
415
+ declare const useBinsStore: pinia.StoreDefinition<"bins", Pick<{
416
+ isLoading: vue.ShallowRef<boolean, boolean>;
207
417
  isOwner: globalThis.ComputedRef<boolean>;
208
418
  pinned: globalThis.ComputedRef<{
209
419
  id: string;
@@ -211,7 +421,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
211
421
  favorite: boolean;
212
422
  pinned: boolean;
213
423
  owner: Record<string, unknown>;
214
- visibility: 'private' | 'public';
424
+ visibility: "private" | "public";
215
425
  }[]>;
216
426
  favorites: globalThis.ComputedRef<{
217
427
  id: string;
@@ -219,7 +429,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
219
429
  favorite: boolean;
220
430
  pinned: boolean;
221
431
  owner: Record<string, unknown>;
222
- visibility: 'private' | 'public';
432
+ visibility: "private" | "public";
223
433
  }[]>;
224
434
  all: globalThis.Ref<{
225
435
  id: string;
@@ -227,13 +437,20 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
227
437
  favorite: boolean;
228
438
  pinned: boolean;
229
439
  owner: Record<string, unknown>;
230
- visibility: 'private' | 'public';
440
+ visibility: "private" | "public";
441
+ }[], Bin[] | {
442
+ id: string;
443
+ content: string;
444
+ favorite: boolean;
445
+ pinned: boolean;
446
+ owner: Record<string, unknown>;
447
+ visibility: "private" | "public";
231
448
  }[]>;
232
449
  create: (bin: Bin) => Promise<{
233
450
  bin: Bin;
234
451
  }>;
235
452
  delete: (id: string) => Promise<boolean>;
236
- current: globalThis.Ref<Bin | undefined>;
453
+ current: globalThis.Ref<Bin | undefined, Bin | undefined>;
237
454
  find: (id: string) => Promise<{
238
455
  bin: Bin | undefined;
239
456
  }>;
@@ -243,7 +460,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
243
460
  favorite: boolean;
244
461
  pinned: boolean;
245
462
  owner: Record<string, unknown>;
246
- visibility: 'private' | 'public';
463
+ visibility: "private" | "public";
247
464
  }[]>;
248
465
  update: (bin: Bin, id: string) => Promise<{
249
466
  bin: Bin;
@@ -251,8 +468,8 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
251
468
  updateOrCreate: (bin: Bin, id?: string) => Promise<{
252
469
  bin: Bin;
253
470
  }>;
254
- }, "isLoading" | "all" | "current">>, Pick<{
255
- isLoading: vue.ShallowRef<boolean>;
471
+ }, "isLoading" | "all" | "current">, Pick<{
472
+ isLoading: vue.ShallowRef<boolean, boolean>;
256
473
  isOwner: globalThis.ComputedRef<boolean>;
257
474
  pinned: globalThis.ComputedRef<{
258
475
  id: string;
@@ -260,7 +477,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
260
477
  favorite: boolean;
261
478
  pinned: boolean;
262
479
  owner: Record<string, unknown>;
263
- visibility: 'private' | 'public';
480
+ visibility: "private" | "public";
264
481
  }[]>;
265
482
  favorites: globalThis.ComputedRef<{
266
483
  id: string;
@@ -268,7 +485,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
268
485
  favorite: boolean;
269
486
  pinned: boolean;
270
487
  owner: Record<string, unknown>;
271
- visibility: 'private' | 'public';
488
+ visibility: "private" | "public";
272
489
  }[]>;
273
490
  all: globalThis.Ref<{
274
491
  id: string;
@@ -276,13 +493,20 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
276
493
  favorite: boolean;
277
494
  pinned: boolean;
278
495
  owner: Record<string, unknown>;
279
- visibility: 'private' | 'public';
496
+ visibility: "private" | "public";
497
+ }[], Bin[] | {
498
+ id: string;
499
+ content: string;
500
+ favorite: boolean;
501
+ pinned: boolean;
502
+ owner: Record<string, unknown>;
503
+ visibility: "private" | "public";
280
504
  }[]>;
281
505
  create: (bin: Bin) => Promise<{
282
506
  bin: Bin;
283
507
  }>;
284
508
  delete: (id: string) => Promise<boolean>;
285
- current: globalThis.Ref<Bin | undefined>;
509
+ current: globalThis.Ref<Bin | undefined, Bin | undefined>;
286
510
  find: (id: string) => Promise<{
287
511
  bin: Bin | undefined;
288
512
  }>;
@@ -292,7 +516,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
292
516
  favorite: boolean;
293
517
  pinned: boolean;
294
518
  owner: Record<string, unknown>;
295
- visibility: 'private' | 'public';
519
+ visibility: "private" | "public";
296
520
  }[]>;
297
521
  update: (bin: Bin, id: string) => Promise<{
298
522
  bin: Bin;
@@ -301,7 +525,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
301
525
  bin: Bin;
302
526
  }>;
303
527
  }, "pinned" | "isOwner" | "favorites">, Pick<{
304
- isLoading: vue.ShallowRef<boolean>;
528
+ isLoading: vue.ShallowRef<boolean, boolean>;
305
529
  isOwner: globalThis.ComputedRef<boolean>;
306
530
  pinned: globalThis.ComputedRef<{
307
531
  id: string;
@@ -309,7 +533,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
309
533
  favorite: boolean;
310
534
  pinned: boolean;
311
535
  owner: Record<string, unknown>;
312
- visibility: 'private' | 'public';
536
+ visibility: "private" | "public";
313
537
  }[]>;
314
538
  favorites: globalThis.ComputedRef<{
315
539
  id: string;
@@ -317,7 +541,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
317
541
  favorite: boolean;
318
542
  pinned: boolean;
319
543
  owner: Record<string, unknown>;
320
- visibility: 'private' | 'public';
544
+ visibility: "private" | "public";
321
545
  }[]>;
322
546
  all: globalThis.Ref<{
323
547
  id: string;
@@ -325,13 +549,20 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
325
549
  favorite: boolean;
326
550
  pinned: boolean;
327
551
  owner: Record<string, unknown>;
328
- visibility: 'private' | 'public';
552
+ visibility: "private" | "public";
553
+ }[], Bin[] | {
554
+ id: string;
555
+ content: string;
556
+ favorite: boolean;
557
+ pinned: boolean;
558
+ owner: Record<string, unknown>;
559
+ visibility: "private" | "public";
329
560
  }[]>;
330
561
  create: (bin: Bin) => Promise<{
331
562
  bin: Bin;
332
563
  }>;
333
564
  delete: (id: string) => Promise<boolean>;
334
- current: globalThis.Ref<Bin | undefined>;
565
+ current: globalThis.Ref<Bin | undefined, Bin | undefined>;
335
566
  find: (id: string) => Promise<{
336
567
  bin: Bin | undefined;
337
568
  }>;
@@ -341,7 +572,7 @@ declare const useBinsStore: pinia.StoreDefinition<"bins", pinia._UnwrapAll<Pick<
341
572
  favorite: boolean;
342
573
  pinned: boolean;
343
574
  owner: Record<string, unknown>;
344
- visibility: 'private' | 'public';
575
+ visibility: "private" | "public";
345
576
  }[]>;
346
577
  update: (bin: Bin, id: string) => Promise<{
347
578
  bin: Bin;
@@ -355,9 +586,9 @@ declare const useHttpStore: pinia.StoreDefinition<"http", {
355
586
  url: string;
356
587
  }, {}, {
357
588
  fetch<T = any>(url: string, options?: RequestInit): Promise<T>;
358
- post<T_1 = any>(url: string, body?: any, options?: RequestInit): Promise<T_1>;
359
- form<T_2 = any>(url: string, body?: any, options?: RequestInit): Promise<T_2>;
360
- get<T_3 = any>(url: string, options?: RequestInit): Promise<T_3>;
589
+ post<T = any>(url: string, body?: any, options?: RequestInit): Promise<T>;
590
+ form<T = any>(url: string, body?: any, options?: RequestInit): Promise<T>;
591
+ get<T = any>(url: string, options?: RequestInit): Promise<T>;
361
592
  delete(url: string, options?: RequestInit): Promise<Response>;
362
593
  }>;
363
594
 
@@ -366,6 +597,7 @@ interface SubscriptionItemPlan {
366
597
  amount: number;
367
598
  currency: string;
368
599
  interval: 'month' | 'year';
600
+ type: 'solo' | 'team';
369
601
  }
370
602
  interface SubscriptionItem {
371
603
  id: string;
@@ -379,14 +611,27 @@ interface Info {
379
611
  currentPeriodEnd: number;
380
612
  items: SubscriptionItem[];
381
613
  }
382
- declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
383
- info: globalThis.Ref<Info | undefined>;
614
+ interface Invoice {
615
+ date: number;
616
+ amount: number;
617
+ status: string;
618
+ pdf: string;
619
+ }
620
+ declare const useOneStore: pinia.StoreDefinition<"one", Pick<{
621
+ info: globalThis.Ref<Info | undefined, Info | undefined>;
384
622
  interval: globalThis.ComputedRef<"month" | "year" | undefined>;
623
+ subscriptionType: globalThis.ComputedRef<"solo" | "team" | undefined>;
624
+ access: globalThis.Ref<string[], string[]>;
385
625
  invoices: globalThis.Ref<{
386
626
  date: number;
387
627
  amount: number;
388
628
  status: string;
389
629
  pdf: string;
630
+ }[], Invoice[] | {
631
+ date: number;
632
+ amount: number;
633
+ status: string;
634
+ pdf: string;
390
635
  }[]>;
391
636
  sessionId: globalThis.ComputedRef<string>;
392
637
  subscription: globalThis.ComputedRef<{
@@ -401,8 +646,8 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
401
646
  } | undefined>;
402
647
  monthlyTotal: globalThis.ComputedRef<number>;
403
648
  hasBilling: globalThis.ComputedRef<boolean>;
404
- isLoading: vue.ShallowRef<boolean>;
405
- isOpen: vue.ShallowRef<boolean>;
649
+ isLoading: vue.ShallowRef<boolean, boolean>;
650
+ isOpen: vue.ShallowRef<boolean, boolean>;
406
651
  isSubscriber: globalThis.ComputedRef<boolean>;
407
652
  github: globalThis.ComputedRef<{
408
653
  id: string;
@@ -455,19 +700,26 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
455
700
  activate: () => Promise<void>;
456
701
  cancel: () => Promise<void>;
457
702
  manage: () => Promise<void>;
458
- modify: (interval: SubscriptionItemPlan['interval']) => Promise<void>;
703
+ modify: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
459
704
  resetQuery: () => void;
460
- subscribe: (interval: string) => Promise<void>;
705
+ subscribe: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
461
706
  subscriptionInfo: () => Promise<any>;
462
707
  verify: () => Promise<void>;
463
- }, "isLoading" | "info" | "invoices" | "isOpen">>, Pick<{
464
- info: globalThis.Ref<Info | undefined>;
708
+ }, "isLoading" | "info" | "access" | "invoices" | "isOpen">, Pick<{
709
+ info: globalThis.Ref<Info | undefined, Info | undefined>;
465
710
  interval: globalThis.ComputedRef<"month" | "year" | undefined>;
711
+ subscriptionType: globalThis.ComputedRef<"solo" | "team" | undefined>;
712
+ access: globalThis.Ref<string[], string[]>;
466
713
  invoices: globalThis.Ref<{
467
714
  date: number;
468
715
  amount: number;
469
716
  status: string;
470
717
  pdf: string;
718
+ }[], Invoice[] | {
719
+ date: number;
720
+ amount: number;
721
+ status: string;
722
+ pdf: string;
471
723
  }[]>;
472
724
  sessionId: globalThis.ComputedRef<string>;
473
725
  subscription: globalThis.ComputedRef<{
@@ -482,8 +734,8 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
482
734
  } | undefined>;
483
735
  monthlyTotal: globalThis.ComputedRef<number>;
484
736
  hasBilling: globalThis.ComputedRef<boolean>;
485
- isLoading: vue.ShallowRef<boolean>;
486
- isOpen: vue.ShallowRef<boolean>;
737
+ isLoading: vue.ShallowRef<boolean, boolean>;
738
+ isOpen: vue.ShallowRef<boolean, boolean>;
487
739
  isSubscriber: globalThis.ComputedRef<boolean>;
488
740
  github: globalThis.ComputedRef<{
489
741
  id: string;
@@ -536,19 +788,26 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
536
788
  activate: () => Promise<void>;
537
789
  cancel: () => Promise<void>;
538
790
  manage: () => Promise<void>;
539
- modify: (interval: SubscriptionItemPlan['interval']) => Promise<void>;
791
+ modify: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
540
792
  resetQuery: () => void;
541
- subscribe: (interval: string) => Promise<void>;
793
+ subscribe: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
542
794
  subscriptionInfo: () => Promise<any>;
543
795
  verify: () => Promise<void>;
544
- }, "one" | "interval" | "github" | "discord" | "patreon" | "shopify" | "sessionId" | "subscription" | "monthlyTotal" | "hasBilling" | "isSubscriber">, Pick<{
545
- info: globalThis.Ref<Info | undefined>;
796
+ }, "one" | "interval" | "github" | "discord" | "patreon" | "shopify" | "subscriptionType" | "sessionId" | "subscription" | "monthlyTotal" | "hasBilling" | "isSubscriber">, Pick<{
797
+ info: globalThis.Ref<Info | undefined, Info | undefined>;
546
798
  interval: globalThis.ComputedRef<"month" | "year" | undefined>;
799
+ subscriptionType: globalThis.ComputedRef<"solo" | "team" | undefined>;
800
+ access: globalThis.Ref<string[], string[]>;
547
801
  invoices: globalThis.Ref<{
548
802
  date: number;
549
803
  amount: number;
550
804
  status: string;
551
805
  pdf: string;
806
+ }[], Invoice[] | {
807
+ date: number;
808
+ amount: number;
809
+ status: string;
810
+ pdf: string;
552
811
  }[]>;
553
812
  sessionId: globalThis.ComputedRef<string>;
554
813
  subscription: globalThis.ComputedRef<{
@@ -563,8 +822,8 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
563
822
  } | undefined>;
564
823
  monthlyTotal: globalThis.ComputedRef<number>;
565
824
  hasBilling: globalThis.ComputedRef<boolean>;
566
- isLoading: vue.ShallowRef<boolean>;
567
- isOpen: vue.ShallowRef<boolean>;
825
+ isLoading: vue.ShallowRef<boolean, boolean>;
826
+ isOpen: vue.ShallowRef<boolean, boolean>;
568
827
  isSubscriber: globalThis.ComputedRef<boolean>;
569
828
  github: globalThis.ComputedRef<{
570
829
  id: string;
@@ -617,9 +876,9 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
617
876
  activate: () => Promise<void>;
618
877
  cancel: () => Promise<void>;
619
878
  manage: () => Promise<void>;
620
- modify: (interval: SubscriptionItemPlan['interval']) => Promise<void>;
879
+ modify: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
621
880
  resetQuery: () => void;
622
- subscribe: (interval: string) => Promise<void>;
881
+ subscribe: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
623
882
  subscriptionInfo: () => Promise<any>;
624
883
  verify: () => Promise<void>;
625
884
  }, "verify" | "activate" | "cancel" | "manage" | "modify" | "resetQuery" | "subscribe" | "subscriptionInfo">>;
@@ -634,13 +893,13 @@ interface ShopifyProduct {
634
893
  price: string;
635
894
  image: string;
636
895
  }
637
- interface State$2 {
896
+ interface State$1 {
638
897
  all: Ref<ShopifyProduct[]>;
639
898
  themes: ComputedRef<ShopifyProduct[]>;
640
899
  index: () => Promise<ShopifyProduct[]>;
641
900
  randomize: (array: ShopifyProduct[]) => ShopifyProduct[];
642
901
  }
643
- declare const useProductsStore: pinia.StoreDefinition<"products", pinia._UnwrapAll<Pick<State$2, "all">>, Pick<State$2, "themes">, Pick<State$2, "index" | "randomize">>;
902
+ declare const useProductsStore: pinia.StoreDefinition<"products", Pick<State$1, "all">, Pick<State$1, "themes">, Pick<State$1, "index" | "randomize">>;
644
903
 
645
904
  type CosmicImage = {
646
905
  url: string;
@@ -670,7 +929,7 @@ interface Promotion {
670
929
  type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
671
930
  };
672
931
  }
673
- declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._UnwrapAll<Pick<{
932
+ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
674
933
  all: globalThis.Ref<{
675
934
  id: string;
676
935
  slug: string;
@@ -703,7 +962,41 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
703
962
  startdate: string | null;
704
963
  enddate: string | null;
705
964
  price: number;
706
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
965
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
966
+ };
967
+ }[], Promotion[] | {
968
+ id: string;
969
+ slug: string;
970
+ title: string;
971
+ metadata: {
972
+ active: boolean;
973
+ color: string;
974
+ text: string;
975
+ short_text: string;
976
+ images: {
977
+ default: {
978
+ url: string;
979
+ } | null;
980
+ logolight: {
981
+ url: string;
982
+ } | null;
983
+ logodark: {
984
+ url: string;
985
+ } | null;
986
+ bgdark: {
987
+ url: string;
988
+ } | null;
989
+ bglight: {
990
+ url: string;
991
+ } | null;
992
+ };
993
+ url: string;
994
+ discoverable: boolean;
995
+ advertisement: boolean;
996
+ startdate: string | null;
997
+ enddate: string | null;
998
+ price: number;
999
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
707
1000
  };
708
1001
  }[]>;
709
1002
  aall: globalThis.Ref<{
@@ -738,11 +1031,45 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
738
1031
  startdate: string | null;
739
1032
  enddate: string | null;
740
1033
  price: number;
741
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1034
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1035
+ };
1036
+ }[], Promotion[] | {
1037
+ id: string;
1038
+ slug: string;
1039
+ title: string;
1040
+ metadata: {
1041
+ active: boolean;
1042
+ color: string;
1043
+ text: string;
1044
+ short_text: string;
1045
+ images: {
1046
+ default: {
1047
+ url: string;
1048
+ } | null;
1049
+ logolight: {
1050
+ url: string;
1051
+ } | null;
1052
+ logodark: {
1053
+ url: string;
1054
+ } | null;
1055
+ bgdark: {
1056
+ url: string;
1057
+ } | null;
1058
+ bglight: {
1059
+ url: string;
1060
+ } | null;
1061
+ };
1062
+ url: string;
1063
+ discoverable: boolean;
1064
+ advertisement: boolean;
1065
+ startdate: string | null;
1066
+ enddate: string | null;
1067
+ price: number;
1068
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
742
1069
  };
743
1070
  }[]>;
744
- isLoading: vue.ShallowRef<boolean>;
745
- hasLoaded: vue.ShallowRef<boolean>;
1071
+ isLoading: vue.ShallowRef<boolean, boolean>;
1072
+ hasLoaded: vue.ShallowRef<boolean, boolean>;
746
1073
  discoverable: globalThis.ComputedRef<{
747
1074
  id: string;
748
1075
  slug: string;
@@ -775,10 +1102,10 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
775
1102
  startdate: string | null;
776
1103
  enddate: string | null;
777
1104
  price: number;
778
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1105
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
779
1106
  };
780
1107
  }[]>;
781
- record: globalThis.Ref<Promotion | null | undefined>;
1108
+ record: globalThis.Ref<Promotion | null | undefined, Promotion | null | undefined>;
782
1109
  admin: () => Promise<{
783
1110
  id: string;
784
1111
  slug: string;
@@ -811,7 +1138,7 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
811
1138
  startdate: string | null;
812
1139
  enddate: string | null;
813
1140
  price: number;
814
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1141
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
815
1142
  };
816
1143
  }[]>;
817
1144
  destroy: () => Promise<void>;
@@ -847,14 +1174,14 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
847
1174
  startdate: string | null;
848
1175
  enddate: string | null;
849
1176
  price: number;
850
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1177
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
851
1178
  };
852
1179
  }[]>;
853
1180
  random: (array: Promotion[]) => Promotion;
854
1181
  show: (id: string) => Promise<Promotion | undefined>;
855
1182
  store: (data: FormData) => Promise<Promotion | undefined>;
856
1183
  update: (id: string, data: FormData) => Promise<Promotion | undefined>;
857
- }, "isLoading" | "all" | "aall" | "record" | "hasLoaded">>, Pick<{
1184
+ }, "isLoading" | "all" | "aall" | "record" | "hasLoaded">, Pick<{
858
1185
  all: globalThis.Ref<{
859
1186
  id: string;
860
1187
  slug: string;
@@ -887,7 +1214,41 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
887
1214
  startdate: string | null;
888
1215
  enddate: string | null;
889
1216
  price: number;
890
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1217
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1218
+ };
1219
+ }[], Promotion[] | {
1220
+ id: string;
1221
+ slug: string;
1222
+ title: string;
1223
+ metadata: {
1224
+ active: boolean;
1225
+ color: string;
1226
+ text: string;
1227
+ short_text: string;
1228
+ images: {
1229
+ default: {
1230
+ url: string;
1231
+ } | null;
1232
+ logolight: {
1233
+ url: string;
1234
+ } | null;
1235
+ logodark: {
1236
+ url: string;
1237
+ } | null;
1238
+ bgdark: {
1239
+ url: string;
1240
+ } | null;
1241
+ bglight: {
1242
+ url: string;
1243
+ } | null;
1244
+ };
1245
+ url: string;
1246
+ discoverable: boolean;
1247
+ advertisement: boolean;
1248
+ startdate: string | null;
1249
+ enddate: string | null;
1250
+ price: number;
1251
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
891
1252
  };
892
1253
  }[]>;
893
1254
  aall: globalThis.Ref<{
@@ -922,11 +1283,45 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
922
1283
  startdate: string | null;
923
1284
  enddate: string | null;
924
1285
  price: number;
925
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1286
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1287
+ };
1288
+ }[], Promotion[] | {
1289
+ id: string;
1290
+ slug: string;
1291
+ title: string;
1292
+ metadata: {
1293
+ active: boolean;
1294
+ color: string;
1295
+ text: string;
1296
+ short_text: string;
1297
+ images: {
1298
+ default: {
1299
+ url: string;
1300
+ } | null;
1301
+ logolight: {
1302
+ url: string;
1303
+ } | null;
1304
+ logodark: {
1305
+ url: string;
1306
+ } | null;
1307
+ bgdark: {
1308
+ url: string;
1309
+ } | null;
1310
+ bglight: {
1311
+ url: string;
1312
+ } | null;
1313
+ };
1314
+ url: string;
1315
+ discoverable: boolean;
1316
+ advertisement: boolean;
1317
+ startdate: string | null;
1318
+ enddate: string | null;
1319
+ price: number;
1320
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
926
1321
  };
927
1322
  }[]>;
928
- isLoading: vue.ShallowRef<boolean>;
929
- hasLoaded: vue.ShallowRef<boolean>;
1323
+ isLoading: vue.ShallowRef<boolean, boolean>;
1324
+ hasLoaded: vue.ShallowRef<boolean, boolean>;
930
1325
  discoverable: globalThis.ComputedRef<{
931
1326
  id: string;
932
1327
  slug: string;
@@ -959,10 +1354,10 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
959
1354
  startdate: string | null;
960
1355
  enddate: string | null;
961
1356
  price: number;
962
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1357
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
963
1358
  };
964
1359
  }[]>;
965
- record: globalThis.Ref<Promotion | null | undefined>;
1360
+ record: globalThis.Ref<Promotion | null | undefined, Promotion | null | undefined>;
966
1361
  admin: () => Promise<{
967
1362
  id: string;
968
1363
  slug: string;
@@ -995,7 +1390,7 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
995
1390
  startdate: string | null;
996
1391
  enddate: string | null;
997
1392
  price: number;
998
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1393
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
999
1394
  };
1000
1395
  }[]>;
1001
1396
  destroy: () => Promise<void>;
@@ -1031,7 +1426,7 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
1031
1426
  startdate: string | null;
1032
1427
  enddate: string | null;
1033
1428
  price: number;
1034
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1429
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1035
1430
  };
1036
1431
  }[]>;
1037
1432
  random: (array: Promotion[]) => Promotion;
@@ -1071,7 +1466,41 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
1071
1466
  startdate: string | null;
1072
1467
  enddate: string | null;
1073
1468
  price: number;
1074
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1469
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1470
+ };
1471
+ }[], Promotion[] | {
1472
+ id: string;
1473
+ slug: string;
1474
+ title: string;
1475
+ metadata: {
1476
+ active: boolean;
1477
+ color: string;
1478
+ text: string;
1479
+ short_text: string;
1480
+ images: {
1481
+ default: {
1482
+ url: string;
1483
+ } | null;
1484
+ logolight: {
1485
+ url: string;
1486
+ } | null;
1487
+ logodark: {
1488
+ url: string;
1489
+ } | null;
1490
+ bgdark: {
1491
+ url: string;
1492
+ } | null;
1493
+ bglight: {
1494
+ url: string;
1495
+ } | null;
1496
+ };
1497
+ url: string;
1498
+ discoverable: boolean;
1499
+ advertisement: boolean;
1500
+ startdate: string | null;
1501
+ enddate: string | null;
1502
+ price: number;
1503
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1075
1504
  };
1076
1505
  }[]>;
1077
1506
  aall: globalThis.Ref<{
@@ -1106,11 +1535,45 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
1106
1535
  startdate: string | null;
1107
1536
  enddate: string | null;
1108
1537
  price: number;
1109
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1538
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1539
+ };
1540
+ }[], Promotion[] | {
1541
+ id: string;
1542
+ slug: string;
1543
+ title: string;
1544
+ metadata: {
1545
+ active: boolean;
1546
+ color: string;
1547
+ text: string;
1548
+ short_text: string;
1549
+ images: {
1550
+ default: {
1551
+ url: string;
1552
+ } | null;
1553
+ logolight: {
1554
+ url: string;
1555
+ } | null;
1556
+ logodark: {
1557
+ url: string;
1558
+ } | null;
1559
+ bgdark: {
1560
+ url: string;
1561
+ } | null;
1562
+ bglight: {
1563
+ url: string;
1564
+ } | null;
1565
+ };
1566
+ url: string;
1567
+ discoverable: boolean;
1568
+ advertisement: boolean;
1569
+ startdate: string | null;
1570
+ enddate: string | null;
1571
+ price: number;
1572
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1110
1573
  };
1111
1574
  }[]>;
1112
- isLoading: vue.ShallowRef<boolean>;
1113
- hasLoaded: vue.ShallowRef<boolean>;
1575
+ isLoading: vue.ShallowRef<boolean, boolean>;
1576
+ hasLoaded: vue.ShallowRef<boolean, boolean>;
1114
1577
  discoverable: globalThis.ComputedRef<{
1115
1578
  id: string;
1116
1579
  slug: string;
@@ -1143,10 +1606,10 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
1143
1606
  startdate: string | null;
1144
1607
  enddate: string | null;
1145
1608
  price: number;
1146
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1609
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1147
1610
  };
1148
1611
  }[]>;
1149
- record: globalThis.Ref<Promotion | null | undefined>;
1612
+ record: globalThis.Ref<Promotion | null | undefined, Promotion | null | undefined>;
1150
1613
  admin: () => Promise<{
1151
1614
  id: string;
1152
1615
  slug: string;
@@ -1179,7 +1642,7 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
1179
1642
  startdate: string | null;
1180
1643
  enddate: string | null;
1181
1644
  price: number;
1182
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1645
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1183
1646
  };
1184
1647
  }[]>;
1185
1648
  destroy: () => Promise<void>;
@@ -1215,7 +1678,7 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
1215
1678
  startdate: string | null;
1216
1679
  enddate: string | null;
1217
1680
  price: number;
1218
- type: 'theme' | 'video' | 'book' | 'course' | 'website' | 'job' | 'merch' | 'digital' | 'services' | 'documentation';
1681
+ type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1219
1682
  };
1220
1683
  }[]>;
1221
1684
  random: (array: Promotion[]) => Promotion;
@@ -1225,25 +1688,26 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", pinia._Unw
1225
1688
  }, "show" | "admin" | "destroy" | "index" | "store" | "update" | "random">>;
1226
1689
 
1227
1690
  type Snackbar = Record<string, any>;
1228
- interface State$1 {
1691
+ interface SnackbarQueueState {
1229
1692
  queue: Ref<Snackbar[]>;
1230
1693
  show: (text: Record<string, any> | string) => void;
1694
+ showError: (text: Record<string, any> | string) => void;
1231
1695
  }
1232
- declare const useQueueStore: pinia.StoreDefinition<"Queue", pinia._UnwrapAll<Pick<State$1, "queue">>, Pick<State$1, never>, Pick<State$1, "show">>;
1696
+ declare const useQueueStore: pinia.StoreDefinition<"Queue", Pick<SnackbarQueueState, "queue">, Pick<SnackbarQueueState, never>, Pick<SnackbarQueueState, "show" | "showError">>;
1233
1697
 
1234
1698
  interface Suit {
1235
1699
  'app-bar': string;
1236
1700
  'drawer': string;
1237
1701
  footer: string;
1238
1702
  }
1239
- declare const useSettingsStore: pinia.StoreDefinition<"settings", pinia._UnwrapAll<Pick<{
1240
- suit: globalThis.ComputedRef<Partial<Suit>>;
1703
+ declare const useSettingsStore: pinia.StoreDefinition<"settings", Pick<{
1704
+ suit: ComputedRef<Partial<Suit>>;
1241
1705
  CDN_URL: string;
1242
- }, "CDN_URL">>, Pick<{
1243
- suit: globalThis.ComputedRef<Partial<Suit>>;
1706
+ }, "CDN_URL">, Pick<{
1707
+ suit: ComputedRef<Partial<Suit>>;
1244
1708
  CDN_URL: string;
1245
1709
  }, "suit">, Pick<{
1246
- suit: globalThis.ComputedRef<Partial<Suit>>;
1710
+ suit: ComputedRef<Partial<Suit>>;
1247
1711
  CDN_URL: string;
1248
1712
  }, never>>;
1249
1713
 
@@ -1279,36 +1743,42 @@ interface State {
1279
1743
  update: (slug: string, data: FormData) => Promise<Spot>;
1280
1744
  destroy: (slug: string) => Promise<void>;
1281
1745
  }
1282
- declare const useSpotsStore: pinia.StoreDefinition<"spots", pinia._UnwrapAll<Pick<State, "isLoading" | "all" | "aall" | "record">>, Pick<State, "spot">, Pick<State, "show" | "admin" | "destroy" | "index" | "store" | "update">>;
1746
+ declare const useSpotsStore: pinia.StoreDefinition<"spots", Pick<State, "isLoading" | "all" | "aall" | "record">, Pick<State, "spot">, Pick<State, "show" | "admin" | "destroy" | "index" | "store" | "update">>;
1283
1747
 
1284
- declare const useUserStore: pinia.StoreDefinition<"user", pinia._UnwrapAll<Pick<{
1748
+ declare const useUserStore: pinia.StoreDefinition<"user", Pick<{
1285
1749
  load: () => void;
1286
1750
  save: () => void;
1287
1751
  reset: () => void;
1288
- v: globalThis.Ref<2 | 3 | 4 | 5>;
1289
- api: globalThis.Ref<"link-only" | "inline">;
1290
- avatar: globalThis.Ref<string>;
1291
- dev: globalThis.Ref<boolean>;
1292
- disableAds: globalThis.Ref<boolean>;
1293
- composition: globalThis.Ref<"composition" | "options">;
1294
- pwaRefresh: globalThis.Ref<boolean>;
1295
- slashSearch: globalThis.Ref<boolean>;
1296
- syncSettings: globalThis.Ref<boolean>;
1297
- showHouseAds: globalThis.Ref<boolean>;
1298
- theme: globalThis.Ref<string>;
1299
- mixedTheme: globalThis.Ref<boolean>;
1300
- direction: globalThis.Ref<"rtl" | "ltr">;
1301
- quickbar: globalThis.Ref<boolean>;
1302
- railDrawer: globalThis.Ref<boolean>;
1303
- pins: globalThis.Ref<boolean>;
1304
- pinned: globalThis.Ref<Record<string, unknown>[]>;
1752
+ v: globalThis.Ref<2 | 3 | 4 | 5, 2 | 3 | 4 | 5>;
1753
+ api: globalThis.Ref<"link-only" | "inline", "link-only" | "inline">;
1754
+ avatar: globalThis.Ref<string, string>;
1755
+ dev: globalThis.Ref<boolean, boolean>;
1756
+ disableAds: globalThis.Ref<boolean, boolean>;
1757
+ composition: globalThis.Ref<"composition" | "options", "composition" | "options">;
1758
+ pwaRefresh: globalThis.Ref<boolean, boolean>;
1759
+ slashSearch: globalThis.Ref<boolean, boolean>;
1760
+ syncSettings: globalThis.Ref<boolean, boolean>;
1761
+ showHouseAds: globalThis.Ref<boolean, boolean>;
1762
+ theme: globalThis.Ref<string, string>;
1763
+ mixedTheme: globalThis.Ref<boolean, boolean>;
1764
+ direction: globalThis.Ref<"rtl" | "ltr", "rtl" | "ltr">;
1765
+ quickbar: globalThis.Ref<boolean, boolean>;
1766
+ railDrawer: globalThis.Ref<boolean, boolean>;
1767
+ pins: globalThis.Ref<boolean, boolean>;
1768
+ pinned: globalThis.Ref<Record<string, unknown>[], Record<string, unknown>[]>;
1305
1769
  suits: globalThis.Ref<{
1306
1770
  show: boolean;
1307
1771
  elements: (keyof Suit)[];
1308
1772
  suit: string;
1773
+ }, {
1774
+ show: boolean;
1775
+ elements: (keyof Suit)[];
1776
+ suit: string;
1309
1777
  }>;
1310
1778
  colors: globalThis.Ref<{
1311
1779
  one: string;
1780
+ }, {
1781
+ one: string;
1312
1782
  }>;
1313
1783
  notifications: globalThis.Ref<{
1314
1784
  show: boolean;
@@ -1322,35 +1792,53 @@ declare const useUserStore: pinia.StoreDefinition<"user", pinia._UnwrapAll<Pick<
1322
1792
  promotion: null | number;
1323
1793
  jobs: null | number;
1324
1794
  };
1795
+ }, {
1796
+ show: boolean;
1797
+ banners: boolean;
1798
+ read: string[];
1799
+ last: {
1800
+ banner: string[];
1801
+ v2banner: null | number;
1802
+ install: null | number;
1803
+ notification: null | number;
1804
+ promotion: null | number;
1805
+ jobs: null | number;
1806
+ };
1325
1807
  }>;
1326
- }, "v" | "api" | "avatar" | "dev" | "disableAds" | "composition" | "pwaRefresh" | "slashSearch" | "syncSettings" | "showHouseAds" | "theme" | "mixedTheme" | "direction" | "quickbar" | "railDrawer" | "pins" | "pinned" | "suits" | "colors" | "notifications">>, Pick<{
1808
+ }, "v" | "api" | "avatar" | "dev" | "disableAds" | "composition" | "pwaRefresh" | "slashSearch" | "syncSettings" | "showHouseAds" | "theme" | "mixedTheme" | "direction" | "quickbar" | "railDrawer" | "pins" | "pinned" | "suits" | "colors" | "notifications">, Pick<{
1327
1809
  load: () => void;
1328
1810
  save: () => void;
1329
1811
  reset: () => void;
1330
- v: globalThis.Ref<2 | 3 | 4 | 5>;
1331
- api: globalThis.Ref<"link-only" | "inline">;
1332
- avatar: globalThis.Ref<string>;
1333
- dev: globalThis.Ref<boolean>;
1334
- disableAds: globalThis.Ref<boolean>;
1335
- composition: globalThis.Ref<"composition" | "options">;
1336
- pwaRefresh: globalThis.Ref<boolean>;
1337
- slashSearch: globalThis.Ref<boolean>;
1338
- syncSettings: globalThis.Ref<boolean>;
1339
- showHouseAds: globalThis.Ref<boolean>;
1340
- theme: globalThis.Ref<string>;
1341
- mixedTheme: globalThis.Ref<boolean>;
1342
- direction: globalThis.Ref<"rtl" | "ltr">;
1343
- quickbar: globalThis.Ref<boolean>;
1344
- railDrawer: globalThis.Ref<boolean>;
1345
- pins: globalThis.Ref<boolean>;
1346
- pinned: globalThis.Ref<Record<string, unknown>[]>;
1812
+ v: globalThis.Ref<2 | 3 | 4 | 5, 2 | 3 | 4 | 5>;
1813
+ api: globalThis.Ref<"link-only" | "inline", "link-only" | "inline">;
1814
+ avatar: globalThis.Ref<string, string>;
1815
+ dev: globalThis.Ref<boolean, boolean>;
1816
+ disableAds: globalThis.Ref<boolean, boolean>;
1817
+ composition: globalThis.Ref<"composition" | "options", "composition" | "options">;
1818
+ pwaRefresh: globalThis.Ref<boolean, boolean>;
1819
+ slashSearch: globalThis.Ref<boolean, boolean>;
1820
+ syncSettings: globalThis.Ref<boolean, boolean>;
1821
+ showHouseAds: globalThis.Ref<boolean, boolean>;
1822
+ theme: globalThis.Ref<string, string>;
1823
+ mixedTheme: globalThis.Ref<boolean, boolean>;
1824
+ direction: globalThis.Ref<"rtl" | "ltr", "rtl" | "ltr">;
1825
+ quickbar: globalThis.Ref<boolean, boolean>;
1826
+ railDrawer: globalThis.Ref<boolean, boolean>;
1827
+ pins: globalThis.Ref<boolean, boolean>;
1828
+ pinned: globalThis.Ref<Record<string, unknown>[], Record<string, unknown>[]>;
1347
1829
  suits: globalThis.Ref<{
1348
1830
  show: boolean;
1349
1831
  elements: (keyof Suit)[];
1350
1832
  suit: string;
1833
+ }, {
1834
+ show: boolean;
1835
+ elements: (keyof Suit)[];
1836
+ suit: string;
1351
1837
  }>;
1352
1838
  colors: globalThis.Ref<{
1353
1839
  one: string;
1840
+ }, {
1841
+ one: string;
1354
1842
  }>;
1355
1843
  notifications: globalThis.Ref<{
1356
1844
  show: boolean;
@@ -1364,35 +1852,53 @@ declare const useUserStore: pinia.StoreDefinition<"user", pinia._UnwrapAll<Pick<
1364
1852
  promotion: null | number;
1365
1853
  jobs: null | number;
1366
1854
  };
1855
+ }, {
1856
+ show: boolean;
1857
+ banners: boolean;
1858
+ read: string[];
1859
+ last: {
1860
+ banner: string[];
1861
+ v2banner: null | number;
1862
+ install: null | number;
1863
+ notification: null | number;
1864
+ promotion: null | number;
1865
+ jobs: null | number;
1866
+ };
1367
1867
  }>;
1368
1868
  }, never>, Pick<{
1369
1869
  load: () => void;
1370
1870
  save: () => void;
1371
1871
  reset: () => void;
1372
- v: globalThis.Ref<2 | 3 | 4 | 5>;
1373
- api: globalThis.Ref<"link-only" | "inline">;
1374
- avatar: globalThis.Ref<string>;
1375
- dev: globalThis.Ref<boolean>;
1376
- disableAds: globalThis.Ref<boolean>;
1377
- composition: globalThis.Ref<"composition" | "options">;
1378
- pwaRefresh: globalThis.Ref<boolean>;
1379
- slashSearch: globalThis.Ref<boolean>;
1380
- syncSettings: globalThis.Ref<boolean>;
1381
- showHouseAds: globalThis.Ref<boolean>;
1382
- theme: globalThis.Ref<string>;
1383
- mixedTheme: globalThis.Ref<boolean>;
1384
- direction: globalThis.Ref<"rtl" | "ltr">;
1385
- quickbar: globalThis.Ref<boolean>;
1386
- railDrawer: globalThis.Ref<boolean>;
1387
- pins: globalThis.Ref<boolean>;
1388
- pinned: globalThis.Ref<Record<string, unknown>[]>;
1872
+ v: globalThis.Ref<2 | 3 | 4 | 5, 2 | 3 | 4 | 5>;
1873
+ api: globalThis.Ref<"link-only" | "inline", "link-only" | "inline">;
1874
+ avatar: globalThis.Ref<string, string>;
1875
+ dev: globalThis.Ref<boolean, boolean>;
1876
+ disableAds: globalThis.Ref<boolean, boolean>;
1877
+ composition: globalThis.Ref<"composition" | "options", "composition" | "options">;
1878
+ pwaRefresh: globalThis.Ref<boolean, boolean>;
1879
+ slashSearch: globalThis.Ref<boolean, boolean>;
1880
+ syncSettings: globalThis.Ref<boolean, boolean>;
1881
+ showHouseAds: globalThis.Ref<boolean, boolean>;
1882
+ theme: globalThis.Ref<string, string>;
1883
+ mixedTheme: globalThis.Ref<boolean, boolean>;
1884
+ direction: globalThis.Ref<"rtl" | "ltr", "rtl" | "ltr">;
1885
+ quickbar: globalThis.Ref<boolean, boolean>;
1886
+ railDrawer: globalThis.Ref<boolean, boolean>;
1887
+ pins: globalThis.Ref<boolean, boolean>;
1888
+ pinned: globalThis.Ref<Record<string, unknown>[], Record<string, unknown>[]>;
1389
1889
  suits: globalThis.Ref<{
1390
1890
  show: boolean;
1391
1891
  elements: (keyof Suit)[];
1392
1892
  suit: string;
1893
+ }, {
1894
+ show: boolean;
1895
+ elements: (keyof Suit)[];
1896
+ suit: string;
1393
1897
  }>;
1394
1898
  colors: globalThis.Ref<{
1395
1899
  one: string;
1900
+ }, {
1901
+ one: string;
1396
1902
  }>;
1397
1903
  notifications: globalThis.Ref<{
1398
1904
  show: boolean;
@@ -1406,6 +1912,18 @@ declare const useUserStore: pinia.StoreDefinition<"user", pinia._UnwrapAll<Pick<
1406
1912
  promotion: null | number;
1407
1913
  jobs: null | number;
1408
1914
  };
1915
+ }, {
1916
+ show: boolean;
1917
+ banners: boolean;
1918
+ read: string[];
1919
+ last: {
1920
+ banner: string[];
1921
+ v2banner: null | number;
1922
+ install: null | number;
1923
+ notification: null | number;
1924
+ promotion: null | number;
1925
+ jobs: null | number;
1926
+ };
1409
1927
  }>;
1410
1928
  }, "load" | "save" | "reset">>;
1411
1929