@vuetify/one 1.5.5 → 1.7.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +57 -36
  2. package/dist/index.js +1762 -1577
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -22,7 +22,7 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
22
22
  sponsorships: {
23
23
  id: string;
24
24
  platform: string;
25
- interval: 'month' | 'year';
25
+ interval: 'month' | 'year' | 'once';
26
26
  target: string;
27
27
  tierName: string;
28
28
  amount: number;
@@ -107,9 +107,8 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
107
107
  (force?: boolean): Promise<void>;
108
108
  promise: Promise<void> | null;
109
109
  };
110
- login: (provider?: 'github' | 'discord') => Promise<void>;
110
+ login: (provider?: 'github' | 'discord' | 'shopify') => Promise<void>;
111
111
  logout: (identity?: string) => Promise<void>;
112
- isSubscriber: globalThis.ComputedRef<boolean>;
113
112
  lastLoginProvider: () => string | null;
114
113
  sync: () => Promise<void>;
115
114
  }, "url" | "user" | "dialog" | "isLoading">>, Pick<{
@@ -131,7 +130,7 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
131
130
  sponsorships: {
132
131
  id: string;
133
132
  platform: string;
134
- interval: 'month' | 'year';
133
+ interval: 'month' | 'year' | 'once';
135
134
  target: string;
136
135
  tierName: string;
137
136
  amount: number;
@@ -216,12 +215,11 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
216
215
  (force?: boolean): Promise<void>;
217
216
  promise: Promise<void> | null;
218
217
  };
219
- login: (provider?: 'github' | 'discord') => Promise<void>;
218
+ login: (provider?: 'github' | 'discord' | 'shopify') => Promise<void>;
220
219
  logout: (identity?: string) => Promise<void>;
221
- isSubscriber: globalThis.ComputedRef<boolean>;
222
220
  lastLoginProvider: () => string | null;
223
221
  sync: () => Promise<void>;
224
- }, "isSubscriber">, Pick<{
222
+ }, never>, Pick<{
225
223
  user: globalThis.Ref<{
226
224
  id: string;
227
225
  isAdmin: boolean;
@@ -240,7 +238,7 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
240
238
  sponsorships: {
241
239
  id: string;
242
240
  platform: string;
243
- interval: 'month' | 'year';
241
+ interval: 'month' | 'year' | 'once';
244
242
  target: string;
245
243
  tierName: string;
246
244
  amount: number;
@@ -325,9 +323,8 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
325
323
  (force?: boolean): Promise<void>;
326
324
  promise: Promise<void> | null;
327
325
  };
328
- login: (provider?: 'github' | 'discord') => Promise<void>;
326
+ login: (provider?: 'github' | 'discord' | 'shopify') => Promise<void>;
329
327
  logout: (identity?: string) => Promise<void>;
330
- isSubscriber: globalThis.ComputedRef<boolean>;
331
328
  lastLoginProvider: () => string | null;
332
329
  sync: () => Promise<void>;
333
330
  }, "findIdentity" | "verify" | "login" | "logout" | "lastLoginProvider" | "sync">>;
@@ -578,7 +575,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
578
575
  subscription: globalThis.ComputedRef<{
579
576
  id: string;
580
577
  platform: string;
581
- interval: "month" | "year";
578
+ interval: "month" | "year" | "once";
582
579
  target: string;
583
580
  tierName: string;
584
581
  amount: number;
@@ -647,15 +644,15 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
647
644
  };
648
645
  };
649
646
  } | undefined>;
650
- monthlyTotal: globalThis.ComputedRef<number | undefined>;
647
+ monthlyTotal: globalThis.ComputedRef<number>;
651
648
  hasBilling: globalThis.ComputedRef<boolean>;
652
649
  isLoading: vue.ShallowRef<boolean>;
653
- isOpen: globalThis.Ref<boolean>;
654
- isSubscriber: globalThis.ComputedRef<boolean | undefined>;
650
+ isOpen: vue.ShallowRef<boolean>;
651
+ isSubscriber: globalThis.ComputedRef<boolean>;
655
652
  github: globalThis.ComputedRef<{
656
653
  id: string;
657
654
  platform: string;
658
- interval: "month" | "year";
655
+ interval: "month" | "year" | "once";
659
656
  target: string;
660
657
  tierName: string;
661
658
  amount: number;
@@ -727,7 +724,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
727
724
  patreon: globalThis.ComputedRef<{
728
725
  id: string;
729
726
  platform: string;
730
- interval: "month" | "year";
727
+ interval: "month" | "year" | "once";
731
728
  target: string;
732
729
  tierName: string;
733
730
  amount: number;
@@ -799,7 +796,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
799
796
  discord: globalThis.ComputedRef<{
800
797
  id: string;
801
798
  platform: string;
802
- interval: "month" | "year";
799
+ interval: "month" | "year" | "once";
803
800
  target: string;
804
801
  tierName: string;
805
802
  amount: number;
@@ -868,10 +865,18 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
868
865
  };
869
866
  };
870
867
  } | undefined>;
868
+ shopify: globalThis.ComputedRef<{
869
+ id: string;
870
+ emails: string[];
871
+ provider: string;
872
+ userId: string;
873
+ userHandle: string;
874
+ primary: boolean;
875
+ } | undefined>;
871
876
  one: globalThis.ComputedRef<{
872
877
  id: string;
873
878
  platform: string;
874
- interval: "month" | "year";
879
+ interval: "month" | "year" | "once";
875
880
  target: string;
876
881
  tierName: string;
877
882
  amount: number;
@@ -961,7 +966,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
961
966
  subscription: globalThis.ComputedRef<{
962
967
  id: string;
963
968
  platform: string;
964
- interval: "month" | "year";
969
+ interval: "month" | "year" | "once";
965
970
  target: string;
966
971
  tierName: string;
967
972
  amount: number;
@@ -1030,15 +1035,15 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1030
1035
  };
1031
1036
  };
1032
1037
  } | undefined>;
1033
- monthlyTotal: globalThis.ComputedRef<number | undefined>;
1038
+ monthlyTotal: globalThis.ComputedRef<number>;
1034
1039
  hasBilling: globalThis.ComputedRef<boolean>;
1035
1040
  isLoading: vue.ShallowRef<boolean>;
1036
- isOpen: globalThis.Ref<boolean>;
1037
- isSubscriber: globalThis.ComputedRef<boolean | undefined>;
1041
+ isOpen: vue.ShallowRef<boolean>;
1042
+ isSubscriber: globalThis.ComputedRef<boolean>;
1038
1043
  github: globalThis.ComputedRef<{
1039
1044
  id: string;
1040
1045
  platform: string;
1041
- interval: "month" | "year";
1046
+ interval: "month" | "year" | "once";
1042
1047
  target: string;
1043
1048
  tierName: string;
1044
1049
  amount: number;
@@ -1110,7 +1115,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1110
1115
  patreon: globalThis.ComputedRef<{
1111
1116
  id: string;
1112
1117
  platform: string;
1113
- interval: "month" | "year";
1118
+ interval: "month" | "year" | "once";
1114
1119
  target: string;
1115
1120
  tierName: string;
1116
1121
  amount: number;
@@ -1182,7 +1187,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1182
1187
  discord: globalThis.ComputedRef<{
1183
1188
  id: string;
1184
1189
  platform: string;
1185
- interval: "month" | "year";
1190
+ interval: "month" | "year" | "once";
1186
1191
  target: string;
1187
1192
  tierName: string;
1188
1193
  amount: number;
@@ -1251,10 +1256,18 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1251
1256
  };
1252
1257
  };
1253
1258
  } | undefined>;
1259
+ shopify: globalThis.ComputedRef<{
1260
+ id: string;
1261
+ emails: string[];
1262
+ provider: string;
1263
+ userId: string;
1264
+ userHandle: string;
1265
+ primary: boolean;
1266
+ } | undefined>;
1254
1267
  one: globalThis.ComputedRef<{
1255
1268
  id: string;
1256
1269
  platform: string;
1257
- interval: "month" | "year";
1270
+ interval: "month" | "year" | "once";
1258
1271
  target: string;
1259
1272
  tierName: string;
1260
1273
  amount: number;
@@ -1331,7 +1344,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1331
1344
  subscribe: (interval: string) => Promise<void>;
1332
1345
  subscriptionInfo: () => Promise<any>;
1333
1346
  verify: () => Promise<void>;
1334
- }, "interval" | "isSubscriber" | "one" | "github" | "discord" | "patreon" | "sessionId" | "subscription" | "monthlyTotal" | "hasBilling">, Pick<{
1347
+ }, "one" | "interval" | "github" | "patreon" | "discord" | "shopify" | "sessionId" | "subscription" | "monthlyTotal" | "hasBilling" | "isSubscriber">, Pick<{
1335
1348
  info: globalThis.Ref<Info | undefined>;
1336
1349
  interval: globalThis.ComputedRef<"month" | "year" | undefined>;
1337
1350
  invoices: globalThis.Ref<{
@@ -1344,7 +1357,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1344
1357
  subscription: globalThis.ComputedRef<{
1345
1358
  id: string;
1346
1359
  platform: string;
1347
- interval: "month" | "year";
1360
+ interval: "month" | "year" | "once";
1348
1361
  target: string;
1349
1362
  tierName: string;
1350
1363
  amount: number;
@@ -1413,15 +1426,15 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1413
1426
  };
1414
1427
  };
1415
1428
  } | undefined>;
1416
- monthlyTotal: globalThis.ComputedRef<number | undefined>;
1429
+ monthlyTotal: globalThis.ComputedRef<number>;
1417
1430
  hasBilling: globalThis.ComputedRef<boolean>;
1418
1431
  isLoading: vue.ShallowRef<boolean>;
1419
- isOpen: globalThis.Ref<boolean>;
1420
- isSubscriber: globalThis.ComputedRef<boolean | undefined>;
1432
+ isOpen: vue.ShallowRef<boolean>;
1433
+ isSubscriber: globalThis.ComputedRef<boolean>;
1421
1434
  github: globalThis.ComputedRef<{
1422
1435
  id: string;
1423
1436
  platform: string;
1424
- interval: "month" | "year";
1437
+ interval: "month" | "year" | "once";
1425
1438
  target: string;
1426
1439
  tierName: string;
1427
1440
  amount: number;
@@ -1493,7 +1506,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1493
1506
  patreon: globalThis.ComputedRef<{
1494
1507
  id: string;
1495
1508
  platform: string;
1496
- interval: "month" | "year";
1509
+ interval: "month" | "year" | "once";
1497
1510
  target: string;
1498
1511
  tierName: string;
1499
1512
  amount: number;
@@ -1565,7 +1578,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1565
1578
  discord: globalThis.ComputedRef<{
1566
1579
  id: string;
1567
1580
  platform: string;
1568
- interval: "month" | "year";
1581
+ interval: "month" | "year" | "once";
1569
1582
  target: string;
1570
1583
  tierName: string;
1571
1584
  amount: number;
@@ -1634,10 +1647,18 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1634
1647
  };
1635
1648
  };
1636
1649
  } | undefined>;
1650
+ shopify: globalThis.ComputedRef<{
1651
+ id: string;
1652
+ emails: string[];
1653
+ provider: string;
1654
+ userId: string;
1655
+ userHandle: string;
1656
+ primary: boolean;
1657
+ } | undefined>;
1637
1658
  one: globalThis.ComputedRef<{
1638
1659
  id: string;
1639
1660
  platform: string;
1640
- interval: "month" | "year";
1661
+ interval: "month" | "year" | "once";
1641
1662
  target: string;
1642
1663
  tierName: string;
1643
1664
  amount: number;
@@ -1714,7 +1735,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1714
1735
  subscribe: (interval: string) => Promise<void>;
1715
1736
  subscriptionInfo: () => Promise<any>;
1716
1737
  verify: () => Promise<void>;
1717
- }, "verify" | "cancel" | "activate" | "manage" | "modify" | "resetQuery" | "subscribe" | "subscriptionInfo">>;
1738
+ }, "verify" | "activate" | "cancel" | "manage" | "modify" | "resetQuery" | "subscribe" | "subscriptionInfo">>;
1718
1739
 
1719
1740
  interface ShopifyProduct {
1720
1741
  id: string;