@moonbase.sh/vue 0.2.83 → 0.2.86
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.cts +65 -0
- package/dist/index.d.ts +65 -0
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -56,6 +56,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
56
56
|
currentVersion: string | null;
|
|
57
57
|
downloadsNeedsUser: boolean;
|
|
58
58
|
downloadsNeedsOwnership: boolean;
|
|
59
|
+
description?: string | null | undefined;
|
|
59
60
|
website?: string | undefined;
|
|
60
61
|
iconUrl?: string | undefined;
|
|
61
62
|
numberOfLicenses?: number | undefined;
|
|
@@ -71,6 +72,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
71
72
|
key: string;
|
|
72
73
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
73
74
|
size: number;
|
|
75
|
+
manifest?: {
|
|
76
|
+
files: {
|
|
77
|
+
path: string;
|
|
78
|
+
name: string;
|
|
79
|
+
}[];
|
|
80
|
+
} | undefined;
|
|
74
81
|
}[] | undefined;
|
|
75
82
|
};
|
|
76
83
|
activeNumberOfActivations: number;
|
|
@@ -92,6 +99,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
92
99
|
currentVersion: string | null;
|
|
93
100
|
downloadsNeedsUser: boolean;
|
|
94
101
|
downloadsNeedsOwnership: boolean;
|
|
102
|
+
description?: string | null | undefined;
|
|
95
103
|
website?: string | undefined;
|
|
96
104
|
iconUrl?: string | undefined;
|
|
97
105
|
numberOfLicenses?: number | undefined;
|
|
@@ -107,6 +115,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
107
115
|
key: string;
|
|
108
116
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
109
117
|
size: number;
|
|
118
|
+
manifest?: {
|
|
119
|
+
files: {
|
|
120
|
+
path: string;
|
|
121
|
+
name: string;
|
|
122
|
+
}[];
|
|
123
|
+
} | undefined;
|
|
110
124
|
}[] | undefined;
|
|
111
125
|
}>;
|
|
112
126
|
getProducts: (nextUrl?: string) => Promise<_moonbase_sh_storefront_api.Page<{
|
|
@@ -116,6 +130,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
116
130
|
currentVersion: string | null;
|
|
117
131
|
downloadsNeedsUser: boolean;
|
|
118
132
|
downloadsNeedsOwnership: boolean;
|
|
133
|
+
description?: string | null | undefined;
|
|
119
134
|
website?: string | undefined;
|
|
120
135
|
iconUrl?: string | undefined;
|
|
121
136
|
numberOfLicenses?: number | undefined;
|
|
@@ -131,6 +146,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
131
146
|
key: string;
|
|
132
147
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
133
148
|
size: number;
|
|
149
|
+
manifest?: {
|
|
150
|
+
files: {
|
|
151
|
+
path: string;
|
|
152
|
+
name: string;
|
|
153
|
+
}[];
|
|
154
|
+
} | undefined;
|
|
134
155
|
}[] | undefined;
|
|
135
156
|
}>>;
|
|
136
157
|
getProductLicenses: (productId: string, nextUrl?: string) => Promise<_moonbase_sh_storefront_api.Page<{
|
|
@@ -143,6 +164,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
143
164
|
currentVersion: string | null;
|
|
144
165
|
downloadsNeedsUser: boolean;
|
|
145
166
|
downloadsNeedsOwnership: boolean;
|
|
167
|
+
description?: string | null | undefined;
|
|
146
168
|
website?: string | undefined;
|
|
147
169
|
iconUrl?: string | undefined;
|
|
148
170
|
numberOfLicenses?: number | undefined;
|
|
@@ -158,6 +180,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
158
180
|
key: string;
|
|
159
181
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
160
182
|
size: number;
|
|
183
|
+
manifest?: {
|
|
184
|
+
files: {
|
|
185
|
+
path: string;
|
|
186
|
+
name: string;
|
|
187
|
+
}[];
|
|
188
|
+
} | undefined;
|
|
161
189
|
}[] | undefined;
|
|
162
190
|
};
|
|
163
191
|
activeNumberOfActivations: number;
|
|
@@ -184,6 +212,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
184
212
|
currentVersion: string | null;
|
|
185
213
|
downloadsNeedsUser: boolean;
|
|
186
214
|
downloadsNeedsOwnership: boolean;
|
|
215
|
+
description?: string | null | undefined;
|
|
187
216
|
website?: string | undefined;
|
|
188
217
|
iconUrl?: string | undefined;
|
|
189
218
|
numberOfLicenses?: number | undefined;
|
|
@@ -199,6 +228,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
199
228
|
key: string;
|
|
200
229
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
201
230
|
size: number;
|
|
231
|
+
manifest?: {
|
|
232
|
+
files: {
|
|
233
|
+
path: string;
|
|
234
|
+
name: string;
|
|
235
|
+
}[];
|
|
236
|
+
} | undefined;
|
|
202
237
|
}[] | undefined;
|
|
203
238
|
};
|
|
204
239
|
activeNumberOfActivations: number;
|
|
@@ -235,6 +270,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
235
270
|
type: "product";
|
|
236
271
|
id: string;
|
|
237
272
|
name: string;
|
|
273
|
+
description: string;
|
|
238
274
|
tagline: string;
|
|
239
275
|
iconUrl: string | null;
|
|
240
276
|
owned: boolean;
|
|
@@ -246,6 +282,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
246
282
|
key: string;
|
|
247
283
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
248
284
|
size: number;
|
|
285
|
+
manifest?: {
|
|
286
|
+
files: {
|
|
287
|
+
path: string;
|
|
288
|
+
name: string;
|
|
289
|
+
}[];
|
|
290
|
+
} | undefined;
|
|
249
291
|
}[] | undefined;
|
|
250
292
|
defaultVariation?: {
|
|
251
293
|
id: string;
|
|
@@ -297,6 +339,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
297
339
|
type: "bundle";
|
|
298
340
|
id: string;
|
|
299
341
|
name: string;
|
|
342
|
+
description: string;
|
|
300
343
|
tagline: string;
|
|
301
344
|
iconUrl: string | null;
|
|
302
345
|
owned: boolean;
|
|
@@ -305,6 +348,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
305
348
|
type: "product";
|
|
306
349
|
id: string;
|
|
307
350
|
name: string;
|
|
351
|
+
description: string;
|
|
308
352
|
tagline: string;
|
|
309
353
|
iconUrl: string | null;
|
|
310
354
|
owned: boolean;
|
|
@@ -316,6 +360,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
316
360
|
key: string;
|
|
317
361
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
318
362
|
size: number;
|
|
363
|
+
manifest?: {
|
|
364
|
+
files: {
|
|
365
|
+
path: string;
|
|
366
|
+
name: string;
|
|
367
|
+
}[];
|
|
368
|
+
} | undefined;
|
|
319
369
|
}[] | undefined;
|
|
320
370
|
defaultVariation?: {
|
|
321
371
|
id: string;
|
|
@@ -419,6 +469,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
419
469
|
type: "product";
|
|
420
470
|
id: string;
|
|
421
471
|
name: string;
|
|
472
|
+
description: string;
|
|
422
473
|
tagline: string;
|
|
423
474
|
iconUrl: string | null;
|
|
424
475
|
owned: boolean;
|
|
@@ -430,6 +481,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
430
481
|
key: string;
|
|
431
482
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
432
483
|
size: number;
|
|
484
|
+
manifest?: {
|
|
485
|
+
files: {
|
|
486
|
+
path: string;
|
|
487
|
+
name: string;
|
|
488
|
+
}[];
|
|
489
|
+
} | undefined;
|
|
433
490
|
}[] | undefined;
|
|
434
491
|
defaultVariation?: {
|
|
435
492
|
id: string;
|
|
@@ -481,6 +538,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
481
538
|
type: "bundle";
|
|
482
539
|
id: string;
|
|
483
540
|
name: string;
|
|
541
|
+
description: string;
|
|
484
542
|
tagline: string;
|
|
485
543
|
iconUrl: string | null;
|
|
486
544
|
owned: boolean;
|
|
@@ -489,6 +547,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
489
547
|
type: "product";
|
|
490
548
|
id: string;
|
|
491
549
|
name: string;
|
|
550
|
+
description: string;
|
|
492
551
|
tagline: string;
|
|
493
552
|
iconUrl: string | null;
|
|
494
553
|
owned: boolean;
|
|
@@ -500,6 +559,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
500
559
|
key: string;
|
|
501
560
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
502
561
|
size: number;
|
|
562
|
+
manifest?: {
|
|
563
|
+
files: {
|
|
564
|
+
path: string;
|
|
565
|
+
name: string;
|
|
566
|
+
}[];
|
|
567
|
+
} | undefined;
|
|
503
568
|
}[] | undefined;
|
|
504
569
|
defaultVariation?: {
|
|
505
570
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
56
56
|
currentVersion: string | null;
|
|
57
57
|
downloadsNeedsUser: boolean;
|
|
58
58
|
downloadsNeedsOwnership: boolean;
|
|
59
|
+
description?: string | null | undefined;
|
|
59
60
|
website?: string | undefined;
|
|
60
61
|
iconUrl?: string | undefined;
|
|
61
62
|
numberOfLicenses?: number | undefined;
|
|
@@ -71,6 +72,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
71
72
|
key: string;
|
|
72
73
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
73
74
|
size: number;
|
|
75
|
+
manifest?: {
|
|
76
|
+
files: {
|
|
77
|
+
path: string;
|
|
78
|
+
name: string;
|
|
79
|
+
}[];
|
|
80
|
+
} | undefined;
|
|
74
81
|
}[] | undefined;
|
|
75
82
|
};
|
|
76
83
|
activeNumberOfActivations: number;
|
|
@@ -92,6 +99,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
92
99
|
currentVersion: string | null;
|
|
93
100
|
downloadsNeedsUser: boolean;
|
|
94
101
|
downloadsNeedsOwnership: boolean;
|
|
102
|
+
description?: string | null | undefined;
|
|
95
103
|
website?: string | undefined;
|
|
96
104
|
iconUrl?: string | undefined;
|
|
97
105
|
numberOfLicenses?: number | undefined;
|
|
@@ -107,6 +115,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
107
115
|
key: string;
|
|
108
116
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
109
117
|
size: number;
|
|
118
|
+
manifest?: {
|
|
119
|
+
files: {
|
|
120
|
+
path: string;
|
|
121
|
+
name: string;
|
|
122
|
+
}[];
|
|
123
|
+
} | undefined;
|
|
110
124
|
}[] | undefined;
|
|
111
125
|
}>;
|
|
112
126
|
getProducts: (nextUrl?: string) => Promise<_moonbase_sh_storefront_api.Page<{
|
|
@@ -116,6 +130,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
116
130
|
currentVersion: string | null;
|
|
117
131
|
downloadsNeedsUser: boolean;
|
|
118
132
|
downloadsNeedsOwnership: boolean;
|
|
133
|
+
description?: string | null | undefined;
|
|
119
134
|
website?: string | undefined;
|
|
120
135
|
iconUrl?: string | undefined;
|
|
121
136
|
numberOfLicenses?: number | undefined;
|
|
@@ -131,6 +146,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
131
146
|
key: string;
|
|
132
147
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
133
148
|
size: number;
|
|
149
|
+
manifest?: {
|
|
150
|
+
files: {
|
|
151
|
+
path: string;
|
|
152
|
+
name: string;
|
|
153
|
+
}[];
|
|
154
|
+
} | undefined;
|
|
134
155
|
}[] | undefined;
|
|
135
156
|
}>>;
|
|
136
157
|
getProductLicenses: (productId: string, nextUrl?: string) => Promise<_moonbase_sh_storefront_api.Page<{
|
|
@@ -143,6 +164,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
143
164
|
currentVersion: string | null;
|
|
144
165
|
downloadsNeedsUser: boolean;
|
|
145
166
|
downloadsNeedsOwnership: boolean;
|
|
167
|
+
description?: string | null | undefined;
|
|
146
168
|
website?: string | undefined;
|
|
147
169
|
iconUrl?: string | undefined;
|
|
148
170
|
numberOfLicenses?: number | undefined;
|
|
@@ -158,6 +180,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
158
180
|
key: string;
|
|
159
181
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
160
182
|
size: number;
|
|
183
|
+
manifest?: {
|
|
184
|
+
files: {
|
|
185
|
+
path: string;
|
|
186
|
+
name: string;
|
|
187
|
+
}[];
|
|
188
|
+
} | undefined;
|
|
161
189
|
}[] | undefined;
|
|
162
190
|
};
|
|
163
191
|
activeNumberOfActivations: number;
|
|
@@ -184,6 +212,7 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
184
212
|
currentVersion: string | null;
|
|
185
213
|
downloadsNeedsUser: boolean;
|
|
186
214
|
downloadsNeedsOwnership: boolean;
|
|
215
|
+
description?: string | null | undefined;
|
|
187
216
|
website?: string | undefined;
|
|
188
217
|
iconUrl?: string | undefined;
|
|
189
218
|
numberOfLicenses?: number | undefined;
|
|
@@ -199,6 +228,12 @@ declare function useInventory(context?: StorefrontContext): {
|
|
|
199
228
|
key: string;
|
|
200
229
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
201
230
|
size: number;
|
|
231
|
+
manifest?: {
|
|
232
|
+
files: {
|
|
233
|
+
path: string;
|
|
234
|
+
name: string;
|
|
235
|
+
}[];
|
|
236
|
+
} | undefined;
|
|
202
237
|
}[] | undefined;
|
|
203
238
|
};
|
|
204
239
|
activeNumberOfActivations: number;
|
|
@@ -235,6 +270,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
235
270
|
type: "product";
|
|
236
271
|
id: string;
|
|
237
272
|
name: string;
|
|
273
|
+
description: string;
|
|
238
274
|
tagline: string;
|
|
239
275
|
iconUrl: string | null;
|
|
240
276
|
owned: boolean;
|
|
@@ -246,6 +282,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
246
282
|
key: string;
|
|
247
283
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
248
284
|
size: number;
|
|
285
|
+
manifest?: {
|
|
286
|
+
files: {
|
|
287
|
+
path: string;
|
|
288
|
+
name: string;
|
|
289
|
+
}[];
|
|
290
|
+
} | undefined;
|
|
249
291
|
}[] | undefined;
|
|
250
292
|
defaultVariation?: {
|
|
251
293
|
id: string;
|
|
@@ -297,6 +339,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
297
339
|
type: "bundle";
|
|
298
340
|
id: string;
|
|
299
341
|
name: string;
|
|
342
|
+
description: string;
|
|
300
343
|
tagline: string;
|
|
301
344
|
iconUrl: string | null;
|
|
302
345
|
owned: boolean;
|
|
@@ -305,6 +348,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
305
348
|
type: "product";
|
|
306
349
|
id: string;
|
|
307
350
|
name: string;
|
|
351
|
+
description: string;
|
|
308
352
|
tagline: string;
|
|
309
353
|
iconUrl: string | null;
|
|
310
354
|
owned: boolean;
|
|
@@ -316,6 +360,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
316
360
|
key: string;
|
|
317
361
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
318
362
|
size: number;
|
|
363
|
+
manifest?: {
|
|
364
|
+
files: {
|
|
365
|
+
path: string;
|
|
366
|
+
name: string;
|
|
367
|
+
}[];
|
|
368
|
+
} | undefined;
|
|
319
369
|
}[] | undefined;
|
|
320
370
|
defaultVariation?: {
|
|
321
371
|
id: string;
|
|
@@ -419,6 +469,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
419
469
|
type: "product";
|
|
420
470
|
id: string;
|
|
421
471
|
name: string;
|
|
472
|
+
description: string;
|
|
422
473
|
tagline: string;
|
|
423
474
|
iconUrl: string | null;
|
|
424
475
|
owned: boolean;
|
|
@@ -430,6 +481,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
430
481
|
key: string;
|
|
431
482
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
432
483
|
size: number;
|
|
484
|
+
manifest?: {
|
|
485
|
+
files: {
|
|
486
|
+
path: string;
|
|
487
|
+
name: string;
|
|
488
|
+
}[];
|
|
489
|
+
} | undefined;
|
|
433
490
|
}[] | undefined;
|
|
434
491
|
defaultVariation?: {
|
|
435
492
|
id: string;
|
|
@@ -481,6 +538,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
481
538
|
type: "bundle";
|
|
482
539
|
id: string;
|
|
483
540
|
name: string;
|
|
541
|
+
description: string;
|
|
484
542
|
tagline: string;
|
|
485
543
|
iconUrl: string | null;
|
|
486
544
|
owned: boolean;
|
|
@@ -489,6 +547,7 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
489
547
|
type: "product";
|
|
490
548
|
id: string;
|
|
491
549
|
name: string;
|
|
550
|
+
description: string;
|
|
492
551
|
tagline: string;
|
|
493
552
|
iconUrl: string | null;
|
|
494
553
|
owned: boolean;
|
|
@@ -500,6 +559,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
500
559
|
key: string;
|
|
501
560
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
502
561
|
size: number;
|
|
562
|
+
manifest?: {
|
|
563
|
+
files: {
|
|
564
|
+
path: string;
|
|
565
|
+
name: string;
|
|
566
|
+
}[];
|
|
567
|
+
} | undefined;
|
|
503
568
|
}[] | undefined;
|
|
504
569
|
defaultVariation?: {
|
|
505
570
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.86",
|
|
5
5
|
"description": "Package to let you build vue.js storefronts with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@vue/devtools-api": "^6.6.3",
|
|
20
20
|
"uuid": "^9.0.1",
|
|
21
21
|
"zod": "^3.23.8",
|
|
22
|
-
"@moonbase.sh/storefront-api": "0.2.
|
|
22
|
+
"@moonbase.sh/storefront-api": "0.2.86"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/uuid": "^9.0.8",
|