@vuetify/one 2.2.0 → 2.2.2

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
@@ -1,11 +1,11 @@
1
1
  import * as vue from 'vue';
2
- import { Ref, ShallowRef, ComputedRef, App } from 'vue';
2
+ import { Ref, ComputedRef, ShallowRef, App } from 'vue';
3
3
  import * as pinia from 'pinia';
4
4
  import { PiniaPluginContext } from 'pinia';
5
5
 
6
6
  declare const aliases: any;
7
7
 
8
- type Team = {
8
+ type VOneTeam = {
9
9
  id: string;
10
10
  name: string;
11
11
  inviteCode: string;
@@ -21,7 +21,7 @@ type Team = {
21
21
  };
22
22
  };
23
23
  declare const useTeamStore: pinia.StoreDefinition<"team", Pick<{
24
- team: globalThis.Ref<{
24
+ team: Ref<{
25
25
  id: string;
26
26
  name: string;
27
27
  inviteCode: string;
@@ -35,7 +35,7 @@ declare const useTeamStore: pinia.StoreDefinition<"team", Pick<{
35
35
  name: string;
36
36
  picture: string;
37
37
  };
38
- } | null, Team | {
38
+ } | null, VOneTeam | {
39
39
  id: string;
40
40
  name: string;
41
41
  inviteCode: string;
@@ -50,17 +50,17 @@ declare const useTeamStore: pinia.StoreDefinition<"team", Pick<{
50
50
  picture: string;
51
51
  };
52
52
  } | null>;
53
- teamInviteDialog: globalThis.Ref<boolean, boolean>;
54
- teamInviteCode: globalThis.ComputedRef<string>;
55
- hasTeamAccess: globalThis.ComputedRef<boolean>;
56
- isTeamOwner: globalThis.ComputedRef<boolean>;
57
- isLoading: vue.ShallowRef<boolean, boolean>;
53
+ teamInviteDialog: Ref<boolean, boolean>;
54
+ teamInviteCode: ComputedRef<string>;
55
+ hasTeamAccess: ComputedRef<boolean>;
56
+ isTeamOwner: ComputedRef<boolean>;
57
+ isLoading: ShallowRef<boolean, boolean>;
58
58
  removeFromTeam: (id: string) => Promise<void>;
59
59
  leaveTeam: () => Promise<void>;
60
60
  joinTeam: () => Promise<void>;
61
61
  clearTeamQuery: () => void;
62
- }, "team" | "isLoading" | "teamInviteDialog">, Pick<{
63
- team: globalThis.Ref<{
62
+ }, "isLoading" | "team" | "teamInviteDialog">, Pick<{
63
+ team: Ref<{
64
64
  id: string;
65
65
  name: string;
66
66
  inviteCode: string;
@@ -74,7 +74,7 @@ declare const useTeamStore: pinia.StoreDefinition<"team", Pick<{
74
74
  name: string;
75
75
  picture: string;
76
76
  };
77
- } | null, Team | {
77
+ } | null, VOneTeam | {
78
78
  id: string;
79
79
  name: string;
80
80
  inviteCode: string;
@@ -89,17 +89,17 @@ declare const useTeamStore: pinia.StoreDefinition<"team", Pick<{
89
89
  picture: string;
90
90
  };
91
91
  } | null>;
92
- teamInviteDialog: globalThis.Ref<boolean, boolean>;
93
- teamInviteCode: globalThis.ComputedRef<string>;
94
- hasTeamAccess: globalThis.ComputedRef<boolean>;
95
- isTeamOwner: globalThis.ComputedRef<boolean>;
96
- isLoading: vue.ShallowRef<boolean, boolean>;
92
+ teamInviteDialog: Ref<boolean, boolean>;
93
+ teamInviteCode: ComputedRef<string>;
94
+ hasTeamAccess: ComputedRef<boolean>;
95
+ isTeamOwner: ComputedRef<boolean>;
96
+ isLoading: ShallowRef<boolean, boolean>;
97
97
  removeFromTeam: (id: string) => Promise<void>;
98
98
  leaveTeam: () => Promise<void>;
99
99
  joinTeam: () => Promise<void>;
100
100
  clearTeamQuery: () => void;
101
101
  }, "teamInviteCode" | "hasTeamAccess" | "isTeamOwner">, Pick<{
102
- team: globalThis.Ref<{
102
+ team: Ref<{
103
103
  id: string;
104
104
  name: string;
105
105
  inviteCode: string;
@@ -113,7 +113,7 @@ declare const useTeamStore: pinia.StoreDefinition<"team", Pick<{
113
113
  name: string;
114
114
  picture: string;
115
115
  };
116
- } | null, Team | {
116
+ } | null, VOneTeam | {
117
117
  id: string;
118
118
  name: string;
119
119
  inviteCode: string;
@@ -128,18 +128,18 @@ declare const useTeamStore: pinia.StoreDefinition<"team", Pick<{
128
128
  picture: string;
129
129
  };
130
130
  } | null>;
131
- teamInviteDialog: globalThis.Ref<boolean, boolean>;
132
- teamInviteCode: globalThis.ComputedRef<string>;
133
- hasTeamAccess: globalThis.ComputedRef<boolean>;
134
- isTeamOwner: globalThis.ComputedRef<boolean>;
135
- isLoading: vue.ShallowRef<boolean, boolean>;
131
+ teamInviteDialog: Ref<boolean, boolean>;
132
+ teamInviteCode: ComputedRef<string>;
133
+ hasTeamAccess: ComputedRef<boolean>;
134
+ isTeamOwner: ComputedRef<boolean>;
135
+ isLoading: ShallowRef<boolean, boolean>;
136
136
  removeFromTeam: (id: string) => Promise<void>;
137
137
  leaveTeam: () => Promise<void>;
138
138
  joinTeam: () => Promise<void>;
139
139
  clearTeamQuery: () => void;
140
140
  }, "removeFromTeam" | "leaveTeam" | "joinTeam" | "clearTeamQuery">>;
141
141
 
142
- interface Sponsorship {
142
+ interface VOneSponsorship {
143
143
  id: string;
144
144
  platform: string;
145
145
  interval: 'month' | 'year' | 'once';
@@ -149,7 +149,7 @@ interface Sponsorship {
149
149
  isActive: boolean;
150
150
  createdAt: Date;
151
151
  }
152
- interface Identity {
152
+ interface VOneIdentity {
153
153
  id: string;
154
154
  emails: string[];
155
155
  provider: string;
@@ -157,323 +157,32 @@ interface Identity {
157
157
  userHandle: string;
158
158
  primary: boolean;
159
159
  }
160
- interface User {
160
+ interface VOneUser {
161
161
  id: string;
162
162
  isAdmin: boolean;
163
163
  name: string;
164
164
  picture: string;
165
165
  settings: Record<string, any> | null;
166
166
  createdAt: string;
167
- identities: Identity[];
168
- sponsorships: Sponsorship[];
169
- team: Team;
167
+ identities: VOneIdentity[];
168
+ sponsorships: VOneSponsorship[];
169
+ team: VOneTeam;
170
170
  }
171
- declare const useAuthStore: pinia.StoreDefinition<"auth", Pick<{
172
- user: globalThis.Ref<{
173
- id: string;
174
- isAdmin: boolean;
175
- name: string;
176
- picture: string;
177
- settings: Record<string, any> | null;
178
- createdAt: string;
179
- identities: {
180
- id: string;
181
- emails: string[];
182
- provider: string;
183
- userId: string;
184
- userHandle: string;
185
- primary: boolean;
186
- }[];
187
- sponsorships: {
188
- id: string;
189
- platform: string;
190
- interval: "month" | "year" | "once";
191
- target: string;
192
- tierName: string;
193
- amount: number;
194
- isActive: boolean;
195
- createdAt: Date;
196
- }[];
197
- team: {
198
- id: string;
199
- name: string;
200
- inviteCode: string;
201
- members: {
202
- id: string;
203
- name: string;
204
- picture: string;
205
- }[];
206
- owner: {
207
- id: string;
208
- name: string;
209
- picture: string;
210
- };
211
- };
212
- } | null, User | {
213
- id: string;
214
- isAdmin: boolean;
215
- name: string;
216
- picture: string;
217
- settings: Record<string, any> | null;
218
- createdAt: string;
219
- identities: {
220
- id: string;
221
- emails: string[];
222
- provider: string;
223
- userId: string;
224
- userHandle: string;
225
- primary: boolean;
226
- }[];
227
- sponsorships: {
228
- id: string;
229
- platform: string;
230
- interval: "month" | "year" | "once";
231
- target: string;
232
- tierName: string;
233
- amount: number;
234
- isActive: boolean;
235
- createdAt: Date;
236
- }[];
237
- team: {
238
- id: string;
239
- name: string;
240
- inviteCode: string;
241
- members: {
242
- id: string;
243
- name: string;
244
- picture: string;
245
- }[];
246
- owner: {
247
- id: string;
248
- name: string;
249
- picture: string;
250
- };
251
- };
252
- } | null>;
253
- url: string;
254
- dialog: globalThis.Ref<boolean, boolean>;
255
- isLoading: vue.ShallowRef<boolean, boolean>;
256
- findIdentity: (provider: string) => {
257
- id: string;
258
- emails: string[];
259
- provider: string;
260
- userId: string;
261
- userHandle: string;
262
- primary: boolean;
263
- } | undefined;
264
- verify: {
265
- (force?: boolean): Promise<void>;
266
- promise: Promise<void> | null;
267
- };
268
- login: (provider?: "github" | "discord" | "shopify") => Promise<void>;
269
- logout: (identity?: string) => Promise<void>;
270
- lastLoginProvider: () => string | null;
271
- sync: () => Promise<void>;
272
- }, "url" | "user" | "dialog" | "isLoading">, Pick<{
273
- user: globalThis.Ref<{
274
- id: string;
275
- isAdmin: boolean;
276
- name: string;
277
- picture: string;
278
- settings: Record<string, any> | null;
279
- createdAt: string;
280
- identities: {
281
- id: string;
282
- emails: string[];
283
- provider: string;
284
- userId: string;
285
- userHandle: string;
286
- primary: boolean;
287
- }[];
288
- sponsorships: {
289
- id: string;
290
- platform: string;
291
- interval: "month" | "year" | "once";
292
- target: string;
293
- tierName: string;
294
- amount: number;
295
- isActive: boolean;
296
- createdAt: Date;
297
- }[];
298
- team: {
299
- id: string;
300
- name: string;
301
- inviteCode: string;
302
- members: {
303
- id: string;
304
- name: string;
305
- picture: string;
306
- }[];
307
- owner: {
308
- id: string;
309
- name: string;
310
- picture: string;
311
- };
312
- };
313
- } | null, User | {
314
- id: string;
315
- isAdmin: boolean;
316
- name: string;
317
- picture: string;
318
- settings: Record<string, any> | null;
319
- createdAt: string;
320
- identities: {
321
- id: string;
322
- emails: string[];
323
- provider: string;
324
- userId: string;
325
- userHandle: string;
326
- primary: boolean;
327
- }[];
328
- sponsorships: {
329
- id: string;
330
- platform: string;
331
- interval: "month" | "year" | "once";
332
- target: string;
333
- tierName: string;
334
- amount: number;
335
- isActive: boolean;
336
- createdAt: Date;
337
- }[];
338
- team: {
339
- id: string;
340
- name: string;
341
- inviteCode: string;
342
- members: {
343
- id: string;
344
- name: string;
345
- picture: string;
346
- }[];
347
- owner: {
348
- id: string;
349
- name: string;
350
- picture: string;
351
- };
352
- };
353
- } | null>;
354
- url: string;
355
- dialog: globalThis.Ref<boolean, boolean>;
356
- isLoading: vue.ShallowRef<boolean, boolean>;
357
- findIdentity: (provider: string) => {
358
- id: string;
359
- emails: string[];
360
- provider: string;
361
- userId: string;
362
- userHandle: string;
363
- primary: boolean;
364
- } | undefined;
365
- verify: {
366
- (force?: boolean): Promise<void>;
367
- promise: Promise<void> | null;
368
- };
369
- login: (provider?: "github" | "discord" | "shopify") => Promise<void>;
370
- logout: (identity?: string) => Promise<void>;
371
- lastLoginProvider: () => string | null;
372
- sync: () => Promise<void>;
373
- }, never>, Pick<{
374
- user: globalThis.Ref<{
375
- id: string;
376
- isAdmin: boolean;
377
- name: string;
378
- picture: string;
379
- settings: Record<string, any> | null;
380
- createdAt: string;
381
- identities: {
382
- id: string;
383
- emails: string[];
384
- provider: string;
385
- userId: string;
386
- userHandle: string;
387
- primary: boolean;
388
- }[];
389
- sponsorships: {
390
- id: string;
391
- platform: string;
392
- interval: "month" | "year" | "once";
393
- target: string;
394
- tierName: string;
395
- amount: number;
396
- isActive: boolean;
397
- createdAt: Date;
398
- }[];
399
- team: {
400
- id: string;
401
- name: string;
402
- inviteCode: string;
403
- members: {
404
- id: string;
405
- name: string;
406
- picture: string;
407
- }[];
408
- owner: {
409
- id: string;
410
- name: string;
411
- picture: string;
412
- };
413
- };
414
- } | null, User | {
415
- id: string;
416
- isAdmin: boolean;
417
- name: string;
418
- picture: string;
419
- settings: Record<string, any> | null;
420
- createdAt: string;
421
- identities: {
422
- id: string;
423
- emails: string[];
424
- provider: string;
425
- userId: string;
426
- userHandle: string;
427
- primary: boolean;
428
- }[];
429
- sponsorships: {
430
- id: string;
431
- platform: string;
432
- interval: "month" | "year" | "once";
433
- target: string;
434
- tierName: string;
435
- amount: number;
436
- isActive: boolean;
437
- createdAt: Date;
438
- }[];
439
- team: {
440
- id: string;
441
- name: string;
442
- inviteCode: string;
443
- members: {
444
- id: string;
445
- name: string;
446
- picture: string;
447
- }[];
448
- owner: {
449
- id: string;
450
- name: string;
451
- picture: string;
452
- };
453
- };
454
- } | null>;
171
+ interface AuthState {
172
+ user: Ref<VOneUser | null>;
455
173
  url: string;
456
- dialog: globalThis.Ref<boolean, boolean>;
457
- isLoading: vue.ShallowRef<boolean, boolean>;
458
- findIdentity: (provider: string) => {
459
- id: string;
460
- emails: string[];
461
- provider: string;
462
- userId: string;
463
- userHandle: string;
464
- primary: boolean;
465
- } | undefined;
466
- verify: {
467
- (force?: boolean): Promise<void>;
468
- promise: Promise<void> | null;
469
- };
470
- login: (provider?: "github" | "discord" | "shopify") => Promise<void>;
174
+ dialog: Ref<boolean>;
175
+ isLoading: ShallowRef<boolean>;
176
+ verify: (force?: boolean) => Promise<void>;
177
+ findIdentity: (provider: string) => VOneIdentity | undefined;
178
+ login: (provider?: 'github' | 'discord' | 'shopify') => Promise<void>;
471
179
  logout: (identity?: string) => Promise<void>;
472
180
  lastLoginProvider: () => string | null;
473
181
  sync: () => Promise<void>;
474
- }, "findIdentity" | "verify" | "login" | "logout" | "lastLoginProvider" | "sync">>;
182
+ }
183
+ declare const useAuthStore: pinia.StoreDefinition<"auth", Pick<AuthState, "isLoading" | "user" | "url" | "dialog">, Pick<AuthState, never>, Pick<AuthState, "verify" | "findIdentity" | "login" | "logout" | "lastLoginProvider" | "sync">>;
475
184
 
476
- interface Banner {
185
+ interface VOneBanner {
477
186
  id: string;
478
187
  status: 'published' | 'draft';
479
188
  created_at: string;
@@ -506,23 +215,16 @@ interface Banner {
506
215
  site: ('*' | 'dev' | 'vbin' | 'vplay' | 'docs' | 'home' | 'server')[];
507
216
  };
508
217
  }
509
- interface State$2 {
510
- all: Ref<Banner[]>;
511
- aall: Ref<Banner[]>;
218
+ interface BannerState {
219
+ all: Ref<VOneBanner[]>;
512
220
  isLoading: ShallowRef<boolean>;
513
- server: ComputedRef<Banner | undefined>;
514
- banner: ComputedRef<Banner | undefined>;
515
- record: Ref<Banner | undefined>;
516
- admin: () => Promise<Banner[]>;
517
- destroy: (slug: string) => Promise<void>;
518
- index: () => Promise<Banner[]>;
519
- show: (slug: string) => Promise<Banner>;
520
- store: (data: FormData) => Promise<Banner>;
521
- update: (slug: string, data: FormData) => Promise<Banner>;
221
+ server: ComputedRef<VOneBanner | undefined>;
222
+ banner: ComputedRef<VOneBanner | undefined>;
223
+ index: () => Promise<VOneBanner[]>;
522
224
  }
523
- 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">>;
225
+ declare const useBannersStore: pinia.StoreDefinition<"banners", Pick<BannerState, "isLoading" | "all">, Pick<BannerState, "server" | "banner">, Pick<BannerState, "index">>;
524
226
 
525
- type Bin = {
227
+ type VOneBin = {
526
228
  id: string;
527
229
  content: string;
528
230
  favorite: boolean;
@@ -530,192 +232,31 @@ type Bin = {
530
232
  owner: Record<string, unknown>;
531
233
  visibility: 'private' | 'public';
532
234
  };
533
- declare const useBinsStore: pinia.StoreDefinition<"bins", Pick<{
534
- isLoading: vue.ShallowRef<boolean, boolean>;
535
- isOwner: globalThis.ComputedRef<boolean>;
536
- pinned: globalThis.ComputedRef<{
537
- id: string;
538
- content: string;
539
- favorite: boolean;
540
- pinned: boolean;
541
- owner: Record<string, unknown>;
542
- visibility: "private" | "public";
543
- }[]>;
544
- favorites: globalThis.ComputedRef<{
545
- id: string;
546
- content: string;
547
- favorite: boolean;
548
- pinned: boolean;
549
- owner: Record<string, unknown>;
550
- visibility: "private" | "public";
551
- }[]>;
552
- all: globalThis.Ref<{
553
- id: string;
554
- content: string;
555
- favorite: boolean;
556
- pinned: boolean;
557
- owner: Record<string, unknown>;
558
- visibility: "private" | "public";
559
- }[], Bin[] | {
560
- id: string;
561
- content: string;
562
- favorite: boolean;
563
- pinned: boolean;
564
- owner: Record<string, unknown>;
565
- visibility: "private" | "public";
566
- }[]>;
567
- create: (bin: Bin) => Promise<{
568
- bin: Bin;
569
- }>;
570
- delete: (id: string) => Promise<boolean>;
571
- current: globalThis.Ref<Bin | undefined, Bin | undefined>;
572
- find: (id: string) => Promise<{
573
- bin: Bin | undefined;
574
- }>;
575
- get: () => Promise<{
576
- id: string;
577
- content: string;
578
- favorite: boolean;
579
- pinned: boolean;
580
- owner: Record<string, unknown>;
581
- visibility: "private" | "public";
582
- }[]>;
583
- update: (bin: Bin, id: string) => Promise<{
584
- bin: Bin;
585
- }>;
586
- updateOrCreate: (bin: Bin, id?: string) => Promise<{
587
- bin: Bin;
588
- }>;
589
- }, "isLoading" | "all" | "current">, Pick<{
590
- isLoading: vue.ShallowRef<boolean, boolean>;
591
- isOwner: globalThis.ComputedRef<boolean>;
592
- pinned: globalThis.ComputedRef<{
593
- id: string;
594
- content: string;
595
- favorite: boolean;
596
- pinned: boolean;
597
- owner: Record<string, unknown>;
598
- visibility: "private" | "public";
599
- }[]>;
600
- favorites: globalThis.ComputedRef<{
601
- id: string;
602
- content: string;
603
- favorite: boolean;
604
- pinned: boolean;
605
- owner: Record<string, unknown>;
606
- visibility: "private" | "public";
607
- }[]>;
608
- all: globalThis.Ref<{
609
- id: string;
610
- content: string;
611
- favorite: boolean;
612
- pinned: boolean;
613
- owner: Record<string, unknown>;
614
- visibility: "private" | "public";
615
- }[], Bin[] | {
616
- id: string;
617
- content: string;
618
- favorite: boolean;
619
- pinned: boolean;
620
- owner: Record<string, unknown>;
621
- visibility: "private" | "public";
622
- }[]>;
623
- create: (bin: Bin) => Promise<{
624
- bin: Bin;
625
- }>;
626
- delete: (id: string) => Promise<boolean>;
627
- current: globalThis.Ref<Bin | undefined, Bin | undefined>;
628
- find: (id: string) => Promise<{
629
- bin: Bin | undefined;
630
- }>;
631
- get: () => Promise<{
632
- id: string;
633
- content: string;
634
- favorite: boolean;
635
- pinned: boolean;
636
- owner: Record<string, unknown>;
637
- visibility: "private" | "public";
638
- }[]>;
639
- update: (bin: Bin, id: string) => Promise<{
640
- bin: Bin;
641
- }>;
642
- updateOrCreate: (bin: Bin, id?: string) => Promise<{
643
- bin: Bin;
644
- }>;
645
- }, "pinned" | "isOwner" | "favorites">, Pick<{
646
- isLoading: vue.ShallowRef<boolean, boolean>;
647
- isOwner: globalThis.ComputedRef<boolean>;
648
- pinned: globalThis.ComputedRef<{
649
- id: string;
650
- content: string;
651
- favorite: boolean;
652
- pinned: boolean;
653
- owner: Record<string, unknown>;
654
- visibility: "private" | "public";
655
- }[]>;
656
- favorites: globalThis.ComputedRef<{
657
- id: string;
658
- content: string;
659
- favorite: boolean;
660
- pinned: boolean;
661
- owner: Record<string, unknown>;
662
- visibility: "private" | "public";
663
- }[]>;
664
- all: globalThis.Ref<{
665
- id: string;
666
- content: string;
667
- favorite: boolean;
668
- pinned: boolean;
669
- owner: Record<string, unknown>;
670
- visibility: "private" | "public";
671
- }[], Bin[] | {
672
- id: string;
673
- content: string;
674
- favorite: boolean;
675
- pinned: boolean;
676
- owner: Record<string, unknown>;
677
- visibility: "private" | "public";
678
- }[]>;
679
- create: (bin: Bin) => Promise<{
680
- bin: Bin;
681
- }>;
682
- delete: (id: string) => Promise<boolean>;
683
- current: globalThis.Ref<Bin | undefined, Bin | undefined>;
684
- find: (id: string) => Promise<{
685
- bin: Bin | undefined;
686
- }>;
687
- get: () => Promise<{
688
- id: string;
689
- content: string;
690
- favorite: boolean;
691
- pinned: boolean;
692
- owner: Record<string, unknown>;
693
- visibility: "private" | "public";
694
- }[]>;
695
- update: (bin: Bin, id: string) => Promise<{
696
- bin: Bin;
697
- }>;
698
- updateOrCreate: (bin: Bin, id?: string) => Promise<{
699
- bin: Bin;
700
- }>;
701
- }, "find" | "get" | "delete" | "update" | "create" | "updateOrCreate">>;
235
+ interface BinsState {
236
+ isLoading: ShallowRef<boolean>;
237
+ pinned: ComputedRef<VOneBin[]>;
238
+ favorites: ComputedRef<VOneBin[]>;
239
+ all: Ref<VOneBin[]>;
240
+ index: () => Promise<VOneBin[]>;
241
+ }
242
+ declare const useBinsStore: pinia.StoreDefinition<"bins", Pick<BinsState, "isLoading" | "all">, Pick<BinsState, "pinned" | "favorites">, Pick<BinsState, "index">>;
702
243
 
703
- interface SendowlDownloadItem {
244
+ interface VOneSendowlDownloadItem {
704
245
  name: string;
705
246
  url: string;
706
247
  type: 'product';
707
248
  accessible: boolean;
708
249
  downloadable: boolean;
709
250
  }
710
- interface SendowlDownload {
251
+ interface VOneSendowlDownload {
711
252
  id: number;
712
- download_items: SendowlDownloadItem[];
253
+ download_items: VOneSendowlDownloadItem[];
713
254
  order_name: string;
714
255
  created_at: string;
715
256
  download_url: string;
716
257
  }
717
258
  declare const useDownloadsStore: pinia.StoreDefinition<"downloads", Pick<{
718
- all: globalThis.Ref<{
259
+ all: Ref<{
719
260
  id: number;
720
261
  download_items: {
721
262
  name: string;
@@ -727,7 +268,7 @@ declare const useDownloadsStore: pinia.StoreDefinition<"downloads", Pick<{
727
268
  order_name: string;
728
269
  created_at: string;
729
270
  download_url: string;
730
- }[], SendowlDownload[] | {
271
+ }[], VOneSendowlDownload[] | {
731
272
  id: number;
732
273
  download_items: {
733
274
  name: string;
@@ -740,7 +281,7 @@ declare const useDownloadsStore: pinia.StoreDefinition<"downloads", Pick<{
740
281
  created_at: string;
741
282
  download_url: string;
742
283
  }[]>;
743
- isLoading: vue.ShallowRef<boolean, boolean>;
284
+ isLoading: ShallowRef<boolean, boolean>;
744
285
  index: () => Promise<{
745
286
  id: number;
746
287
  download_items: {
@@ -755,7 +296,7 @@ declare const useDownloadsStore: pinia.StoreDefinition<"downloads", Pick<{
755
296
  download_url: string;
756
297
  }[]>;
757
298
  }, "isLoading" | "all">, Pick<{
758
- all: globalThis.Ref<{
299
+ all: Ref<{
759
300
  id: number;
760
301
  download_items: {
761
302
  name: string;
@@ -767,7 +308,7 @@ declare const useDownloadsStore: pinia.StoreDefinition<"downloads", Pick<{
767
308
  order_name: string;
768
309
  created_at: string;
769
310
  download_url: string;
770
- }[], SendowlDownload[] | {
311
+ }[], VOneSendowlDownload[] | {
771
312
  id: number;
772
313
  download_items: {
773
314
  name: string;
@@ -780,7 +321,7 @@ declare const useDownloadsStore: pinia.StoreDefinition<"downloads", Pick<{
780
321
  created_at: string;
781
322
  download_url: string;
782
323
  }[]>;
783
- isLoading: vue.ShallowRef<boolean, boolean>;
324
+ isLoading: ShallowRef<boolean, boolean>;
784
325
  index: () => Promise<{
785
326
  id: number;
786
327
  download_items: {
@@ -795,7 +336,7 @@ declare const useDownloadsStore: pinia.StoreDefinition<"downloads", Pick<{
795
336
  download_url: string;
796
337
  }[]>;
797
338
  }, never>, Pick<{
798
- all: globalThis.Ref<{
339
+ all: Ref<{
799
340
  id: number;
800
341
  download_items: {
801
342
  name: string;
@@ -807,7 +348,7 @@ declare const useDownloadsStore: pinia.StoreDefinition<"downloads", Pick<{
807
348
  order_name: string;
808
349
  created_at: string;
809
350
  download_url: string;
810
- }[], SendowlDownload[] | {
351
+ }[], VOneSendowlDownload[] | {
811
352
  id: number;
812
353
  download_items: {
813
354
  name: string;
@@ -820,7 +361,7 @@ declare const useDownloadsStore: pinia.StoreDefinition<"downloads", Pick<{
820
361
  created_at: string;
821
362
  download_url: string;
822
363
  }[]>;
823
- isLoading: vue.ShallowRef<boolean, boolean>;
364
+ isLoading: ShallowRef<boolean, boolean>;
824
365
  index: () => Promise<{
825
366
  id: number;
826
367
  download_items: {
@@ -846,7 +387,7 @@ declare const useHttpStore: pinia.StoreDefinition<"http", {
846
387
  delete(url: string, options?: RequestInit): Promise<Response>;
847
388
  }>;
848
389
 
849
- interface Notification {
390
+ interface VOneNotification {
850
391
  id: string;
851
392
  slug: string;
852
393
  title: string;
@@ -865,20 +406,13 @@ interface Notification {
865
406
  };
866
407
  }
867
408
  interface NotificationsState {
868
- all: Ref<Notification[]>;
869
- aall: Ref<Notification[]>;
870
- record: Ref<Notification | undefined>;
409
+ all: Ref<VOneNotification[]>;
871
410
  isLoading: ShallowRef<boolean>;
872
- index: () => Promise<Notification[]>;
873
- admin: () => Promise<Notification[]>;
874
- show: (slug: string) => Promise<Notification>;
875
- store: (data: FormData) => Promise<Notification>;
876
- update: (id: string, data: FormData) => Promise<Notification>;
877
- destroy: (id: string) => Promise<void>;
878
- read: ComputedRef<Notification[]>;
879
- unread: ComputedRef<Notification[]>;
411
+ read: ComputedRef<VOneNotification[]>;
412
+ unread: ComputedRef<VOneNotification[]>;
413
+ index: () => Promise<VOneNotification[]>;
880
414
  }
881
- declare const useNotificationsStore: pinia.StoreDefinition<"notifications", Pick<NotificationsState, "isLoading" | "all" | "aall" | "record">, Pick<NotificationsState, "read" | "unread">, Pick<NotificationsState, "show" | "admin" | "destroy" | "index" | "store" | "update">>;
415
+ declare const useNotificationsStore: pinia.StoreDefinition<"notifications", Pick<NotificationsState, "isLoading" | "all">, Pick<NotificationsState, "read" | "unread">, Pick<NotificationsState, "index">>;
882
416
 
883
417
  interface SubscriptionItemPlan {
884
418
  id: string;
@@ -905,271 +439,37 @@ interface Invoice {
905
439
  status: string;
906
440
  pdf: string;
907
441
  }
908
- declare const useOneStore: pinia.StoreDefinition<"one", Pick<{
909
- info: globalThis.Ref<Info | undefined, Info | undefined>;
910
- interval: globalThis.ComputedRef<"month" | "year" | undefined>;
911
- subscriptionType: globalThis.ComputedRef<"solo" | "team" | undefined>;
912
- access: globalThis.Ref<string[], string[]>;
913
- invoices: globalThis.Ref<{
914
- date: number;
915
- amount: number;
916
- status: string;
917
- pdf: string;
918
- }[], Invoice[] | {
919
- date: number;
920
- amount: number;
921
- status: string;
922
- pdf: string;
923
- }[]>;
924
- sessionId: globalThis.ComputedRef<string>;
925
- subscription: globalThis.ComputedRef<{
926
- id: string;
927
- platform: string;
928
- interval: "month" | "year" | "once";
929
- target: string;
930
- tierName: string;
931
- amount: number;
932
- isActive: boolean;
933
- createdAt: Date;
934
- } | undefined>;
935
- monthlyTotal: globalThis.ComputedRef<number>;
936
- hasBilling: globalThis.ComputedRef<boolean>;
937
- isLoading: vue.ShallowRef<boolean, boolean>;
938
- isOpen: vue.ShallowRef<boolean, boolean>;
939
- isSubscriber: globalThis.ComputedRef<boolean>;
940
- github: globalThis.ComputedRef<{
941
- id: string;
942
- platform: string;
943
- interval: "month" | "year" | "once";
944
- target: string;
945
- tierName: string;
946
- amount: number;
947
- isActive: boolean;
948
- createdAt: Date;
949
- } | undefined>;
950
- patreon: globalThis.ComputedRef<{
951
- id: string;
952
- platform: string;
953
- interval: "month" | "year" | "once";
954
- target: string;
955
- tierName: string;
956
- amount: number;
957
- isActive: boolean;
958
- createdAt: Date;
959
- } | undefined>;
960
- discord: globalThis.ComputedRef<{
961
- id: string;
962
- platform: string;
963
- interval: "month" | "year" | "once";
964
- target: string;
965
- tierName: string;
966
- amount: number;
967
- isActive: boolean;
968
- createdAt: Date;
969
- } | undefined>;
970
- shopify: globalThis.ComputedRef<{
971
- id: string;
972
- emails: string[];
973
- provider: string;
974
- userId: string;
975
- userHandle: string;
976
- primary: boolean;
977
- } | undefined>;
978
- one: globalThis.ComputedRef<{
979
- id: string;
980
- platform: string;
981
- interval: "month" | "year" | "once";
982
- target: string;
983
- tierName: string;
984
- amount: number;
985
- isActive: boolean;
986
- createdAt: Date;
987
- } | undefined>;
988
- activate: () => Promise<void>;
989
- cancel: () => Promise<void>;
990
- manage: () => Promise<void>;
991
- modify: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
992
- resetQuery: () => void;
993
- subscribe: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
994
- subscriptionInfo: () => Promise<any>;
995
- verify: () => Promise<void>;
996
- }, "isLoading" | "info" | "access" | "invoices" | "isOpen">, Pick<{
997
- info: globalThis.Ref<Info | undefined, Info | undefined>;
998
- interval: globalThis.ComputedRef<"month" | "year" | undefined>;
999
- subscriptionType: globalThis.ComputedRef<"solo" | "team" | undefined>;
1000
- access: globalThis.Ref<string[], string[]>;
1001
- invoices: globalThis.Ref<{
1002
- date: number;
1003
- amount: number;
1004
- status: string;
1005
- pdf: string;
1006
- }[], Invoice[] | {
1007
- date: number;
1008
- amount: number;
1009
- status: string;
1010
- pdf: string;
1011
- }[]>;
1012
- sessionId: globalThis.ComputedRef<string>;
1013
- subscription: globalThis.ComputedRef<{
1014
- id: string;
1015
- platform: string;
1016
- interval: "month" | "year" | "once";
1017
- target: string;
1018
- tierName: string;
1019
- amount: number;
1020
- isActive: boolean;
1021
- createdAt: Date;
1022
- } | undefined>;
1023
- monthlyTotal: globalThis.ComputedRef<number>;
1024
- hasBilling: globalThis.ComputedRef<boolean>;
1025
- isLoading: vue.ShallowRef<boolean, boolean>;
1026
- isOpen: vue.ShallowRef<boolean, boolean>;
1027
- isSubscriber: globalThis.ComputedRef<boolean>;
1028
- github: globalThis.ComputedRef<{
1029
- id: string;
1030
- platform: string;
1031
- interval: "month" | "year" | "once";
1032
- target: string;
1033
- tierName: string;
1034
- amount: number;
1035
- isActive: boolean;
1036
- createdAt: Date;
1037
- } | undefined>;
1038
- patreon: globalThis.ComputedRef<{
1039
- id: string;
1040
- platform: string;
1041
- interval: "month" | "year" | "once";
1042
- target: string;
1043
- tierName: string;
1044
- amount: number;
1045
- isActive: boolean;
1046
- createdAt: Date;
1047
- } | undefined>;
1048
- discord: globalThis.ComputedRef<{
1049
- id: string;
1050
- platform: string;
1051
- interval: "month" | "year" | "once";
1052
- target: string;
1053
- tierName: string;
1054
- amount: number;
1055
- isActive: boolean;
1056
- createdAt: Date;
1057
- } | undefined>;
1058
- shopify: globalThis.ComputedRef<{
1059
- id: string;
1060
- emails: string[];
1061
- provider: string;
1062
- userId: string;
1063
- userHandle: string;
1064
- primary: boolean;
1065
- } | undefined>;
1066
- one: globalThis.ComputedRef<{
1067
- id: string;
1068
- platform: string;
1069
- interval: "month" | "year" | "once";
1070
- target: string;
1071
- tierName: string;
1072
- amount: number;
1073
- isActive: boolean;
1074
- createdAt: Date;
1075
- } | undefined>;
1076
- activate: () => Promise<void>;
1077
- cancel: () => Promise<void>;
1078
- manage: () => Promise<void>;
1079
- modify: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
1080
- resetQuery: () => void;
1081
- subscribe: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
1082
- subscriptionInfo: () => Promise<any>;
1083
- verify: () => Promise<void>;
1084
- }, "one" | "interval" | "github" | "discord" | "patreon" | "shopify" | "subscriptionType" | "sessionId" | "subscription" | "monthlyTotal" | "hasBilling" | "isSubscriber">, Pick<{
1085
- info: globalThis.Ref<Info | undefined, Info | undefined>;
1086
- interval: globalThis.ComputedRef<"month" | "year" | undefined>;
1087
- subscriptionType: globalThis.ComputedRef<"solo" | "team" | undefined>;
1088
- access: globalThis.Ref<string[], string[]>;
1089
- invoices: globalThis.Ref<{
1090
- date: number;
1091
- amount: number;
1092
- status: string;
1093
- pdf: string;
1094
- }[], Invoice[] | {
1095
- date: number;
1096
- amount: number;
1097
- status: string;
1098
- pdf: string;
1099
- }[]>;
1100
- sessionId: globalThis.ComputedRef<string>;
1101
- subscription: globalThis.ComputedRef<{
1102
- id: string;
1103
- platform: string;
1104
- interval: "month" | "year" | "once";
1105
- target: string;
1106
- tierName: string;
1107
- amount: number;
1108
- isActive: boolean;
1109
- createdAt: Date;
1110
- } | undefined>;
1111
- monthlyTotal: globalThis.ComputedRef<number>;
1112
- hasBilling: globalThis.ComputedRef<boolean>;
1113
- isLoading: vue.ShallowRef<boolean, boolean>;
1114
- isOpen: vue.ShallowRef<boolean, boolean>;
1115
- isSubscriber: globalThis.ComputedRef<boolean>;
1116
- github: globalThis.ComputedRef<{
1117
- id: string;
1118
- platform: string;
1119
- interval: "month" | "year" | "once";
1120
- target: string;
442
+ interface OneState {
443
+ info: Ref<Info | undefined>;
444
+ interval: ComputedRef<SubscriptionItemPlan['interval'] | undefined>;
445
+ subscriptionType: ComputedRef<SubscriptionItemPlan['type'] | undefined>;
446
+ access: Ref<string[]>;
447
+ invoices: Ref<Invoice[]>;
448
+ sessionId: ComputedRef<string | undefined>;
449
+ subscription: ComputedRef<{
1121
450
  tierName: string;
1122
- amount: number;
1123
451
  isActive: boolean;
1124
- createdAt: Date;
1125
- } | undefined>;
1126
- patreon: globalThis.ComputedRef<{
1127
- id: string;
1128
- platform: string;
1129
- interval: "month" | "year" | "once";
1130
- target: string;
1131
- tierName: string;
1132
- amount: number;
1133
- isActive: boolean;
1134
- createdAt: Date;
1135
- } | undefined>;
1136
- discord: globalThis.ComputedRef<{
1137
- id: string;
1138
- platform: string;
1139
- interval: "month" | "year" | "once";
1140
- target: string;
1141
- tierName: string;
1142
- amount: number;
1143
- isActive: boolean;
1144
- createdAt: Date;
1145
- } | undefined>;
1146
- shopify: globalThis.ComputedRef<{
1147
- id: string;
1148
- emails: string[];
1149
- provider: string;
1150
- userId: string;
1151
- userHandle: string;
1152
- primary: boolean;
1153
- } | undefined>;
1154
- one: globalThis.ComputedRef<{
1155
- id: string;
1156
452
  platform: string;
1157
- interval: "month" | "year" | "once";
1158
- target: string;
1159
- tierName: string;
1160
- amount: number;
1161
- isActive: boolean;
1162
- createdAt: Date;
1163
453
  } | undefined>;
454
+ monthlyTotal: ComputedRef<number>;
455
+ hasBilling: ComputedRef<boolean>;
456
+ isLoading: ShallowRef<boolean>;
457
+ isOpen: ShallowRef<boolean>;
458
+ isSubscriber: ComputedRef<boolean>;
459
+ github: ComputedRef<VOneSponsorship | undefined>;
460
+ discord: ComputedRef<VOneSponsorship | undefined>;
461
+ shopify: ComputedRef<VOneIdentity | undefined>;
462
+ one: ComputedRef<VOneSponsorship | undefined>;
1164
463
  activate: () => Promise<void>;
1165
464
  cancel: () => Promise<void>;
1166
465
  manage: () => Promise<void>;
1167
- modify: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
466
+ modify: (interval: SubscriptionItemPlan['interval'], type: SubscriptionItemPlan['type']) => Promise<void>;
1168
467
  resetQuery: () => void;
1169
- subscribe: (interval: SubscriptionItemPlan["interval"], type: SubscriptionItemPlan["type"]) => Promise<void>;
468
+ subscribe: (interval: SubscriptionItemPlan['interval'], type: SubscriptionItemPlan['type']) => Promise<void>;
1170
469
  subscriptionInfo: () => Promise<any>;
1171
470
  verify: () => Promise<void>;
1172
- }, "verify" | "activate" | "cancel" | "manage" | "modify" | "resetQuery" | "subscribe" | "subscriptionInfo">>;
471
+ }
472
+ declare const useOneStore: pinia.StoreDefinition<"one", Pick<OneState, "info" | "access" | "invoices" | "isLoading" | "isOpen">, Pick<OneState, "one" | "interval" | "subscriptionType" | "sessionId" | "subscription" | "monthlyTotal" | "hasBilling" | "isSubscriber" | "github" | "discord" | "shopify">, Pick<OneState, "activate" | "cancel" | "manage" | "modify" | "resetQuery" | "subscribe" | "subscriptionInfo" | "verify">>;
1173
473
 
1174
474
  interface ShopifyProduct {
1175
475
  id: string;
@@ -1181,18 +481,18 @@ interface ShopifyProduct {
1181
481
  price: string;
1182
482
  image: string;
1183
483
  }
1184
- interface State$1 {
484
+ interface ProductsState {
1185
485
  all: Ref<ShopifyProduct[]>;
1186
486
  themes: ComputedRef<ShopifyProduct[]>;
1187
487
  index: () => Promise<ShopifyProduct[]>;
1188
488
  randomize: (array: ShopifyProduct[]) => ShopifyProduct[];
1189
489
  }
1190
- declare const useProductsStore: pinia.StoreDefinition<"products", Pick<State$1, "all">, Pick<State$1, "themes">, Pick<State$1, "index" | "randomize">>;
490
+ declare const useProductsStore: pinia.StoreDefinition<"products", Pick<ProductsState, "all">, Pick<ProductsState, "themes">, Pick<ProductsState, "index" | "randomize">>;
1191
491
 
1192
492
  type CosmicImage = {
1193
493
  url: string;
1194
494
  } | null;
1195
- interface Promotion {
495
+ interface VOnePromotion {
1196
496
  id: string;
1197
497
  slug: string;
1198
498
  title: string;
@@ -1252,7 +552,7 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1252
552
  price: number;
1253
553
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1254
554
  };
1255
- }[], Promotion[] | {
555
+ }[], VOnePromotion[] | {
1256
556
  id: string;
1257
557
  slug: string;
1258
558
  title: string;
@@ -1287,7 +587,9 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1287
587
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1288
588
  };
1289
589
  }[]>;
1290
- aall: globalThis.Ref<{
590
+ isLoading: vue.ShallowRef<boolean, boolean>;
591
+ hasLoaded: vue.ShallowRef<boolean, boolean>;
592
+ discoverable: globalThis.ComputedRef<{
1291
593
  id: string;
1292
594
  slug: string;
1293
595
  title: string;
@@ -1321,7 +623,8 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1321
623
  price: number;
1322
624
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1323
625
  };
1324
- }[], Promotion[] | {
626
+ }[]>;
627
+ index: () => Promise<{
1325
628
  id: string;
1326
629
  slug: string;
1327
630
  title: string;
@@ -1356,9 +659,9 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1356
659
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1357
660
  };
1358
661
  }[]>;
1359
- isLoading: vue.ShallowRef<boolean, boolean>;
1360
- hasLoaded: vue.ShallowRef<boolean, boolean>;
1361
- discoverable: globalThis.ComputedRef<{
662
+ random: (array: VOnePromotion[]) => VOnePromotion;
663
+ }, "isLoading" | "all" | "hasLoaded">, Pick<{
664
+ all: globalThis.Ref<{
1362
665
  id: string;
1363
666
  slug: string;
1364
667
  title: string;
@@ -1392,9 +695,7 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1392
695
  price: number;
1393
696
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1394
697
  };
1395
- }[]>;
1396
- record: globalThis.Ref<Promotion | null | undefined, Promotion | null | undefined>;
1397
- admin: () => Promise<{
698
+ }[], VOnePromotion[] | {
1398
699
  id: string;
1399
700
  slug: string;
1400
701
  title: string;
@@ -1429,8 +730,9 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1429
730
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1430
731
  };
1431
732
  }[]>;
1432
- destroy: () => Promise<void>;
1433
- index: () => Promise<{
733
+ isLoading: vue.ShallowRef<boolean, boolean>;
734
+ hasLoaded: vue.ShallowRef<boolean, boolean>;
735
+ discoverable: globalThis.ComputedRef<{
1434
736
  id: string;
1435
737
  slug: string;
1436
738
  title: string;
@@ -1465,223 +767,6 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1465
767
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1466
768
  };
1467
769
  }[]>;
1468
- random: (array: Promotion[]) => Promotion;
1469
- show: (id: string) => Promise<Promotion | undefined>;
1470
- store: (data: FormData) => Promise<Promotion | undefined>;
1471
- update: (id: string, data: FormData) => Promise<Promotion | undefined>;
1472
- }, "isLoading" | "all" | "aall" | "record" | "hasLoaded">, Pick<{
1473
- all: globalThis.Ref<{
1474
- id: string;
1475
- slug: string;
1476
- title: string;
1477
- metadata: {
1478
- active: boolean;
1479
- color: string;
1480
- text: string;
1481
- short_text: string;
1482
- images: {
1483
- default: {
1484
- url: string;
1485
- } | null;
1486
- logolight: {
1487
- url: string;
1488
- } | null;
1489
- logodark: {
1490
- url: string;
1491
- } | null;
1492
- bgdark: {
1493
- url: string;
1494
- } | null;
1495
- bglight: {
1496
- url: string;
1497
- } | null;
1498
- };
1499
- url: string;
1500
- discoverable: boolean;
1501
- advertisement: boolean;
1502
- startdate: string | null;
1503
- enddate: string | null;
1504
- price: number;
1505
- type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1506
- };
1507
- }[], Promotion[] | {
1508
- id: string;
1509
- slug: string;
1510
- title: string;
1511
- metadata: {
1512
- active: boolean;
1513
- color: string;
1514
- text: string;
1515
- short_text: string;
1516
- images: {
1517
- default: {
1518
- url: string;
1519
- } | null;
1520
- logolight: {
1521
- url: string;
1522
- } | null;
1523
- logodark: {
1524
- url: string;
1525
- } | null;
1526
- bgdark: {
1527
- url: string;
1528
- } | null;
1529
- bglight: {
1530
- url: string;
1531
- } | null;
1532
- };
1533
- url: string;
1534
- discoverable: boolean;
1535
- advertisement: boolean;
1536
- startdate: string | null;
1537
- enddate: string | null;
1538
- price: number;
1539
- type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1540
- };
1541
- }[]>;
1542
- aall: globalThis.Ref<{
1543
- id: string;
1544
- slug: string;
1545
- title: string;
1546
- metadata: {
1547
- active: boolean;
1548
- color: string;
1549
- text: string;
1550
- short_text: string;
1551
- images: {
1552
- default: {
1553
- url: string;
1554
- } | null;
1555
- logolight: {
1556
- url: string;
1557
- } | null;
1558
- logodark: {
1559
- url: string;
1560
- } | null;
1561
- bgdark: {
1562
- url: string;
1563
- } | null;
1564
- bglight: {
1565
- url: string;
1566
- } | null;
1567
- };
1568
- url: string;
1569
- discoverable: boolean;
1570
- advertisement: boolean;
1571
- startdate: string | null;
1572
- enddate: string | null;
1573
- price: number;
1574
- type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1575
- };
1576
- }[], Promotion[] | {
1577
- id: string;
1578
- slug: string;
1579
- title: string;
1580
- metadata: {
1581
- active: boolean;
1582
- color: string;
1583
- text: string;
1584
- short_text: string;
1585
- images: {
1586
- default: {
1587
- url: string;
1588
- } | null;
1589
- logolight: {
1590
- url: string;
1591
- } | null;
1592
- logodark: {
1593
- url: string;
1594
- } | null;
1595
- bgdark: {
1596
- url: string;
1597
- } | null;
1598
- bglight: {
1599
- url: string;
1600
- } | null;
1601
- };
1602
- url: string;
1603
- discoverable: boolean;
1604
- advertisement: boolean;
1605
- startdate: string | null;
1606
- enddate: string | null;
1607
- price: number;
1608
- type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1609
- };
1610
- }[]>;
1611
- isLoading: vue.ShallowRef<boolean, boolean>;
1612
- hasLoaded: vue.ShallowRef<boolean, boolean>;
1613
- discoverable: globalThis.ComputedRef<{
1614
- id: string;
1615
- slug: string;
1616
- title: string;
1617
- metadata: {
1618
- active: boolean;
1619
- color: string;
1620
- text: string;
1621
- short_text: string;
1622
- images: {
1623
- default: {
1624
- url: string;
1625
- } | null;
1626
- logolight: {
1627
- url: string;
1628
- } | null;
1629
- logodark: {
1630
- url: string;
1631
- } | null;
1632
- bgdark: {
1633
- url: string;
1634
- } | null;
1635
- bglight: {
1636
- url: string;
1637
- } | null;
1638
- };
1639
- url: string;
1640
- discoverable: boolean;
1641
- advertisement: boolean;
1642
- startdate: string | null;
1643
- enddate: string | null;
1644
- price: number;
1645
- type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1646
- };
1647
- }[]>;
1648
- record: globalThis.Ref<Promotion | null | undefined, Promotion | null | undefined>;
1649
- admin: () => Promise<{
1650
- id: string;
1651
- slug: string;
1652
- title: string;
1653
- metadata: {
1654
- active: boolean;
1655
- color: string;
1656
- text: string;
1657
- short_text: string;
1658
- images: {
1659
- default: {
1660
- url: string;
1661
- } | null;
1662
- logolight: {
1663
- url: string;
1664
- } | null;
1665
- logodark: {
1666
- url: string;
1667
- } | null;
1668
- bgdark: {
1669
- url: string;
1670
- } | null;
1671
- bglight: {
1672
- url: string;
1673
- } | null;
1674
- };
1675
- url: string;
1676
- discoverable: boolean;
1677
- advertisement: boolean;
1678
- startdate: string | null;
1679
- enddate: string | null;
1680
- price: number;
1681
- type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1682
- };
1683
- }[]>;
1684
- destroy: () => Promise<void>;
1685
770
  index: () => Promise<{
1686
771
  id: string;
1687
772
  slug: string;
@@ -1717,10 +802,7 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1717
802
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1718
803
  };
1719
804
  }[]>;
1720
- random: (array: Promotion[]) => Promotion;
1721
- show: (id: string) => Promise<Promotion | undefined>;
1722
- store: (data: FormData) => Promise<Promotion | undefined>;
1723
- update: (id: string, data: FormData) => Promise<Promotion | undefined>;
805
+ random: (array: VOnePromotion[]) => VOnePromotion;
1724
806
  }, "discoverable">, Pick<{
1725
807
  all: globalThis.Ref<{
1726
808
  id: string;
@@ -1756,76 +838,7 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1756
838
  price: number;
1757
839
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1758
840
  };
1759
- }[], Promotion[] | {
1760
- id: string;
1761
- slug: string;
1762
- title: string;
1763
- metadata: {
1764
- active: boolean;
1765
- color: string;
1766
- text: string;
1767
- short_text: string;
1768
- images: {
1769
- default: {
1770
- url: string;
1771
- } | null;
1772
- logolight: {
1773
- url: string;
1774
- } | null;
1775
- logodark: {
1776
- url: string;
1777
- } | null;
1778
- bgdark: {
1779
- url: string;
1780
- } | null;
1781
- bglight: {
1782
- url: string;
1783
- } | null;
1784
- };
1785
- url: string;
1786
- discoverable: boolean;
1787
- advertisement: boolean;
1788
- startdate: string | null;
1789
- enddate: string | null;
1790
- price: number;
1791
- type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1792
- };
1793
- }[]>;
1794
- aall: globalThis.Ref<{
1795
- id: string;
1796
- slug: string;
1797
- title: string;
1798
- metadata: {
1799
- active: boolean;
1800
- color: string;
1801
- text: string;
1802
- short_text: string;
1803
- images: {
1804
- default: {
1805
- url: string;
1806
- } | null;
1807
- logolight: {
1808
- url: string;
1809
- } | null;
1810
- logodark: {
1811
- url: string;
1812
- } | null;
1813
- bgdark: {
1814
- url: string;
1815
- } | null;
1816
- bglight: {
1817
- url: string;
1818
- } | null;
1819
- };
1820
- url: string;
1821
- discoverable: boolean;
1822
- advertisement: boolean;
1823
- startdate: string | null;
1824
- enddate: string | null;
1825
- price: number;
1826
- type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1827
- };
1828
- }[], Promotion[] | {
841
+ }[], VOnePromotion[] | {
1829
842
  id: string;
1830
843
  slug: string;
1831
844
  title: string;
@@ -1897,43 +910,6 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1897
910
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1898
911
  };
1899
912
  }[]>;
1900
- record: globalThis.Ref<Promotion | null | undefined, Promotion | null | undefined>;
1901
- admin: () => Promise<{
1902
- id: string;
1903
- slug: string;
1904
- title: string;
1905
- metadata: {
1906
- active: boolean;
1907
- color: string;
1908
- text: string;
1909
- short_text: string;
1910
- images: {
1911
- default: {
1912
- url: string;
1913
- } | null;
1914
- logolight: {
1915
- url: string;
1916
- } | null;
1917
- logodark: {
1918
- url: string;
1919
- } | null;
1920
- bgdark: {
1921
- url: string;
1922
- } | null;
1923
- bglight: {
1924
- url: string;
1925
- } | null;
1926
- };
1927
- url: string;
1928
- discoverable: boolean;
1929
- advertisement: boolean;
1930
- startdate: string | null;
1931
- enddate: string | null;
1932
- price: number;
1933
- type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1934
- };
1935
- }[]>;
1936
- destroy: () => Promise<void>;
1937
913
  index: () => Promise<{
1938
914
  id: string;
1939
915
  slug: string;
@@ -1969,35 +945,27 @@ declare const usePromotionsStore: pinia.StoreDefinition<"promotions", Pick<{
1969
945
  type: "theme" | "video" | "book" | "course" | "website" | "job" | "merch" | "digital" | "services" | "documentation";
1970
946
  };
1971
947
  }[]>;
1972
- random: (array: Promotion[]) => Promotion;
1973
- show: (id: string) => Promise<Promotion | undefined>;
1974
- store: (data: FormData) => Promise<Promotion | undefined>;
1975
- update: (id: string, data: FormData) => Promise<Promotion | undefined>;
1976
- }, "show" | "admin" | "destroy" | "index" | "store" | "update" | "random">>;
948
+ random: (array: VOnePromotion[]) => VOnePromotion;
949
+ }, "index" | "random">>;
1977
950
 
1978
- type Snackbar = Record<string, any>;
1979
- interface SnackbarQueueState {
951
+ type Snackbar = string | Record<string, any>;
952
+ interface QueueState {
1980
953
  queue: Ref<Snackbar[]>;
1981
- show: (text: Record<string, any> | string) => void;
1982
- showError: (text: Record<string, any> | string) => void;
954
+ show: (text: Snackbar) => void;
955
+ showError: (text: Snackbar) => void;
1983
956
  }
1984
- declare const useQueueStore: pinia.StoreDefinition<"Queue", Pick<SnackbarQueueState, "queue">, Pick<SnackbarQueueState, never>, Pick<SnackbarQueueState, "show" | "showError">>;
957
+ declare const useQueueStore: pinia.StoreDefinition<"Queue", Pick<QueueState, "queue">, Pick<QueueState, never>, Pick<QueueState, "show" | "showError">>;
1985
958
 
1986
- interface Suit {
959
+ interface VOneSuit {
1987
960
  'app-bar': string;
1988
961
  'drawer': string;
1989
- footer: string;
962
+ 'footer': string;
1990
963
  }
1991
- declare const useSettingsStore: pinia.StoreDefinition<"settings", Pick<{
1992
- suit: ComputedRef<Partial<Suit>>;
1993
- CDN_URL: string;
1994
- }, "CDN_URL">, Pick<{
1995
- suit: ComputedRef<Partial<Suit>>;
964
+ interface SettingsState {
1996
965
  CDN_URL: string;
1997
- }, "suit">, Pick<{
1998
- suit: ComputedRef<Partial<Suit>>;
1999
- CDN_URL: string;
2000
- }, never>>;
966
+ suit: ComputedRef<Partial<VOneSuit>>;
967
+ }
968
+ declare const useSettingsStore: pinia.StoreDefinition<"settings", Pick<SettingsState, "CDN_URL">, Pick<SettingsState, "suit">, Pick<SettingsState, never>>;
2001
969
 
2002
970
  interface SiteState {
2003
971
  id: Ref<string[]>;
@@ -2005,7 +973,7 @@ interface SiteState {
2005
973
  }
2006
974
  declare const useSiteStore: pinia.StoreDefinition<"site", Pick<SiteState, keyof SiteState>, Pick<SiteState, never>, Pick<SiteState, never>>;
2007
975
 
2008
- interface Sponsor {
976
+ interface VOneSponsor {
2009
977
  id: string;
2010
978
  status: 'published' | 'draft';
2011
979
  modified_at: string;
@@ -2034,22 +1002,15 @@ interface Sponsor {
2034
1002
  }
2035
1003
  type SponsorState = {
2036
1004
  isLoading: Ref<boolean>;
2037
- all: Ref<Sponsor[]>;
2038
- aall: Ref<Sponsor[]>;
2039
- record: Ref<Sponsor | undefined>;
2040
- sponsors: Ref<Sponsor[]>;
2041
- byTier: ComputedRef<Record<string, Sponsor[]>>;
2042
- bySlug: (slug: string) => Sponsor | undefined;
2043
- admin: () => Promise<Sponsor[]>;
2044
- index: () => Promise<Sponsor[]>;
2045
- show: (id: string) => Promise<Sponsor>;
2046
- store: (data: FormData) => Promise<Sponsor>;
2047
- update: (id: string, data: FormData) => Promise<Sponsor>;
2048
- destroy: () => Promise<void>;
1005
+ all: Ref<VOneSponsor[]>;
1006
+ sponsors: Ref<VOneSponsor[]>;
1007
+ byTier: ComputedRef<Record<string, VOneSponsor[]>>;
1008
+ bySlug: (slug: string) => VOneSponsor | undefined;
1009
+ index: () => Promise<VOneSponsor[]>;
2049
1010
  };
2050
- declare const useSponsorsStore: pinia.StoreDefinition<"sponsors", Pick<SponsorState, "isLoading" | "all" | "aall" | "record" | "sponsors">, Pick<SponsorState, "byTier">, Pick<SponsorState, "show" | "admin" | "destroy" | "index" | "store" | "update" | "bySlug">>;
1011
+ declare const useSponsorsStore: pinia.StoreDefinition<"sponsors", Pick<SponsorState, "isLoading" | "all" | "sponsors">, Pick<SponsorState, "byTier">, Pick<SponsorState, "index" | "bySlug">>;
2051
1012
 
2052
- interface Spot {
1013
+ interface VOneSpot {
2053
1014
  id: string;
2054
1015
  status: 'published' | 'draft';
2055
1016
  modified_at: string;
@@ -2068,20 +1029,13 @@ interface Spot {
2068
1029
  } | null;
2069
1030
  };
2070
1031
  }
2071
- interface State {
2072
- all: Ref<Spot[]>;
2073
- aall: Ref<Spot[]>;
1032
+ interface SpotState {
1033
+ all: Ref<VOneSpot[]>;
2074
1034
  isLoading: ShallowRef<boolean>;
2075
- spot: ComputedRef<Spot | undefined>;
2076
- record: Ref<Spot | undefined>;
2077
- admin: () => Promise<Spot[]>;
2078
- index: () => Promise<Spot[]>;
2079
- show: (slug: string) => Promise<Spot>;
2080
- store: (data: FormData) => Promise<Spot>;
2081
- update: (slug: string, data: FormData) => Promise<Spot>;
2082
- destroy: (slug: string) => Promise<void>;
1035
+ spot: ComputedRef<VOneSpot | undefined>;
1036
+ index: () => Promise<VOneSpot[]>;
2083
1037
  }
2084
- declare const useSpotsStore: pinia.StoreDefinition<"spots", Pick<State, "isLoading" | "all" | "aall" | "record">, Pick<State, "spot">, Pick<State, "show" | "admin" | "destroy" | "index" | "store" | "update">>;
1038
+ declare const useSpotsStore: pinia.StoreDefinition<"spots", Pick<SpotState, "isLoading" | "all">, Pick<SpotState, "spot">, Pick<SpotState, "index">>;
2085
1039
 
2086
1040
  declare const useUserStore: pinia.StoreDefinition<"user", Pick<{
2087
1041
  load: () => void;
@@ -2106,11 +1060,11 @@ declare const useUserStore: pinia.StoreDefinition<"user", Pick<{
2106
1060
  pinned: globalThis.Ref<Record<string, unknown>[], Record<string, unknown>[]>;
2107
1061
  suits: globalThis.Ref<{
2108
1062
  show: boolean;
2109
- elements: (keyof Suit)[];
1063
+ elements: (keyof VOneSuit)[];
2110
1064
  suit: string;
2111
1065
  }, {
2112
1066
  show: boolean;
2113
- elements: (keyof Suit)[];
1067
+ elements: (keyof VOneSuit)[];
2114
1068
  suit: string;
2115
1069
  }>;
2116
1070
  colors: globalThis.Ref<{
@@ -2143,7 +1097,7 @@ declare const useUserStore: pinia.StoreDefinition<"user", Pick<{
2143
1097
  jobs: null | number;
2144
1098
  };
2145
1099
  }>;
2146
- }, "v" | "api" | "avatar" | "dev" | "disableAds" | "composition" | "pwaRefresh" | "slashSearch" | "syncSettings" | "showHouseAds" | "theme" | "mixedTheme" | "direction" | "quickbar" | "railDrawer" | "pins" | "pinned" | "suits" | "colors" | "notifications">, Pick<{
1100
+ }, "theme" | "v" | "api" | "avatar" | "dev" | "disableAds" | "composition" | "pwaRefresh" | "slashSearch" | "syncSettings" | "showHouseAds" | "mixedTheme" | "direction" | "quickbar" | "railDrawer" | "pins" | "pinned" | "suits" | "colors" | "notifications">, Pick<{
2147
1101
  load: () => void;
2148
1102
  save: () => void;
2149
1103
  reset: () => void;
@@ -2166,11 +1120,11 @@ declare const useUserStore: pinia.StoreDefinition<"user", Pick<{
2166
1120
  pinned: globalThis.Ref<Record<string, unknown>[], Record<string, unknown>[]>;
2167
1121
  suits: globalThis.Ref<{
2168
1122
  show: boolean;
2169
- elements: (keyof Suit)[];
1123
+ elements: (keyof VOneSuit)[];
2170
1124
  suit: string;
2171
1125
  }, {
2172
1126
  show: boolean;
2173
- elements: (keyof Suit)[];
1127
+ elements: (keyof VOneSuit)[];
2174
1128
  suit: string;
2175
1129
  }>;
2176
1130
  colors: globalThis.Ref<{
@@ -2226,11 +1180,11 @@ declare const useUserStore: pinia.StoreDefinition<"user", Pick<{
2226
1180
  pinned: globalThis.Ref<Record<string, unknown>[], Record<string, unknown>[]>;
2227
1181
  suits: globalThis.Ref<{
2228
1182
  show: boolean;
2229
- elements: (keyof Suit)[];
1183
+ elements: (keyof VOneSuit)[];
2230
1184
  suit: string;
2231
1185
  }, {
2232
1186
  show: boolean;
2233
- elements: (keyof Suit)[];
1187
+ elements: (keyof VOneSuit)[];
2234
1188
  suit: string;
2235
1189
  }>;
2236
1190
  colors: globalThis.Ref<{
@@ -2271,3 +1225,4 @@ declare function createOne(): {
2271
1225
  declare function one(id: string[], url: string): (context: PiniaPluginContext) => void;
2272
1226
 
2273
1227
  export { aliases, createOne, one, useAuthStore, useBannersStore, useBinsStore, useDownloadsStore, useHttpStore, useNotificationsStore, useOneStore, useProductsStore, usePromotionsStore, useQueueStore, useSettingsStore, useSiteStore, useSponsorsStore, useSpotsStore, useTeamStore, useUserStore };
1228
+ export type { ShopifyProduct, VOneBanner, VOneBin, VOneIdentity, VOneNotification, VOnePromotion, VOneSendowlDownload, VOneSendowlDownloadItem, VOneSponsor, VOneSponsorship, VOneSpot, VOneSuit, VOneTeam, VOneUser };