@vuetify/one 1.6.0 → 1.7.1

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 +30 -33
  2. package/dist/index.js +1474 -1478
  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;
@@ -109,7 +109,6 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
109
109
  };
110
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;
@@ -218,10 +217,9 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
218
217
  };
219
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;
@@ -327,7 +325,6 @@ declare const useAuthStore: pinia.StoreDefinition<"auth", pinia._UnwrapAll<Pick<
327
325
  };
328
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;
@@ -879,7 +876,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
879
876
  one: globalThis.ComputedRef<{
880
877
  id: string;
881
878
  platform: string;
882
- interval: "month" | "year";
879
+ interval: "month" | "year" | "once";
883
880
  target: string;
884
881
  tierName: string;
885
882
  amount: number;
@@ -969,7 +966,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
969
966
  subscription: globalThis.ComputedRef<{
970
967
  id: string;
971
968
  platform: string;
972
- interval: "month" | "year";
969
+ interval: "month" | "year" | "once";
973
970
  target: string;
974
971
  tierName: string;
975
972
  amount: number;
@@ -1038,15 +1035,15 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1038
1035
  };
1039
1036
  };
1040
1037
  } | undefined>;
1041
- monthlyTotal: globalThis.ComputedRef<number | undefined>;
1038
+ monthlyTotal: globalThis.ComputedRef<number>;
1042
1039
  hasBilling: globalThis.ComputedRef<boolean>;
1043
1040
  isLoading: vue.ShallowRef<boolean>;
1044
- isOpen: globalThis.Ref<boolean>;
1045
- isSubscriber: globalThis.ComputedRef<boolean | undefined>;
1041
+ isOpen: vue.ShallowRef<boolean>;
1042
+ isSubscriber: globalThis.ComputedRef<boolean>;
1046
1043
  github: globalThis.ComputedRef<{
1047
1044
  id: string;
1048
1045
  platform: string;
1049
- interval: "month" | "year";
1046
+ interval: "month" | "year" | "once";
1050
1047
  target: string;
1051
1048
  tierName: string;
1052
1049
  amount: number;
@@ -1118,7 +1115,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1118
1115
  patreon: globalThis.ComputedRef<{
1119
1116
  id: string;
1120
1117
  platform: string;
1121
- interval: "month" | "year";
1118
+ interval: "month" | "year" | "once";
1122
1119
  target: string;
1123
1120
  tierName: string;
1124
1121
  amount: number;
@@ -1190,7 +1187,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1190
1187
  discord: globalThis.ComputedRef<{
1191
1188
  id: string;
1192
1189
  platform: string;
1193
- interval: "month" | "year";
1190
+ interval: "month" | "year" | "once";
1194
1191
  target: string;
1195
1192
  tierName: string;
1196
1193
  amount: number;
@@ -1270,7 +1267,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1270
1267
  one: globalThis.ComputedRef<{
1271
1268
  id: string;
1272
1269
  platform: string;
1273
- interval: "month" | "year";
1270
+ interval: "month" | "year" | "once";
1274
1271
  target: string;
1275
1272
  tierName: string;
1276
1273
  amount: number;
@@ -1347,7 +1344,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1347
1344
  subscribe: (interval: string) => Promise<void>;
1348
1345
  subscriptionInfo: () => Promise<any>;
1349
1346
  verify: () => Promise<void>;
1350
- }, "interval" | "isSubscriber" | "one" | "github" | "discord" | "shopify" | "patreon" | "sessionId" | "subscription" | "monthlyTotal" | "hasBilling">, Pick<{
1347
+ }, "one" | "interval" | "github" | "discord" | "patreon" | "shopify" | "sessionId" | "subscription" | "monthlyTotal" | "hasBilling" | "isSubscriber">, Pick<{
1351
1348
  info: globalThis.Ref<Info | undefined>;
1352
1349
  interval: globalThis.ComputedRef<"month" | "year" | undefined>;
1353
1350
  invoices: globalThis.Ref<{
@@ -1360,7 +1357,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1360
1357
  subscription: globalThis.ComputedRef<{
1361
1358
  id: string;
1362
1359
  platform: string;
1363
- interval: "month" | "year";
1360
+ interval: "month" | "year" | "once";
1364
1361
  target: string;
1365
1362
  tierName: string;
1366
1363
  amount: number;
@@ -1429,15 +1426,15 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1429
1426
  };
1430
1427
  };
1431
1428
  } | undefined>;
1432
- monthlyTotal: globalThis.ComputedRef<number | undefined>;
1429
+ monthlyTotal: globalThis.ComputedRef<number>;
1433
1430
  hasBilling: globalThis.ComputedRef<boolean>;
1434
1431
  isLoading: vue.ShallowRef<boolean>;
1435
- isOpen: globalThis.Ref<boolean>;
1436
- isSubscriber: globalThis.ComputedRef<boolean | undefined>;
1432
+ isOpen: vue.ShallowRef<boolean>;
1433
+ isSubscriber: globalThis.ComputedRef<boolean>;
1437
1434
  github: globalThis.ComputedRef<{
1438
1435
  id: string;
1439
1436
  platform: string;
1440
- interval: "month" | "year";
1437
+ interval: "month" | "year" | "once";
1441
1438
  target: string;
1442
1439
  tierName: string;
1443
1440
  amount: number;
@@ -1509,7 +1506,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1509
1506
  patreon: globalThis.ComputedRef<{
1510
1507
  id: string;
1511
1508
  platform: string;
1512
- interval: "month" | "year";
1509
+ interval: "month" | "year" | "once";
1513
1510
  target: string;
1514
1511
  tierName: string;
1515
1512
  amount: number;
@@ -1581,7 +1578,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1581
1578
  discord: globalThis.ComputedRef<{
1582
1579
  id: string;
1583
1580
  platform: string;
1584
- interval: "month" | "year";
1581
+ interval: "month" | "year" | "once";
1585
1582
  target: string;
1586
1583
  tierName: string;
1587
1584
  amount: number;
@@ -1661,7 +1658,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1661
1658
  one: globalThis.ComputedRef<{
1662
1659
  id: string;
1663
1660
  platform: string;
1664
- interval: "month" | "year";
1661
+ interval: "month" | "year" | "once";
1665
1662
  target: string;
1666
1663
  tierName: string;
1667
1664
  amount: number;
@@ -1738,7 +1735,7 @@ declare const useOneStore: pinia.StoreDefinition<"one", pinia._UnwrapAll<Pick<{
1738
1735
  subscribe: (interval: string) => Promise<void>;
1739
1736
  subscriptionInfo: () => Promise<any>;
1740
1737
  verify: () => Promise<void>;
1741
- }, "verify" | "cancel" | "activate" | "manage" | "modify" | "resetQuery" | "subscribe" | "subscriptionInfo">>;
1738
+ }, "verify" | "activate" | "cancel" | "manage" | "modify" | "resetQuery" | "subscribe" | "subscriptionInfo">>;
1742
1739
 
1743
1740
  interface ShopifyProduct {
1744
1741
  id: string;