@moonbase.sh/vue 0.2.83 → 0.2.84
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 +59 -0
- package/dist/index.d.ts +59 -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;
|
|
@@ -246,6 +281,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
246
281
|
key: string;
|
|
247
282
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
248
283
|
size: number;
|
|
284
|
+
manifest?: {
|
|
285
|
+
files: {
|
|
286
|
+
path: string;
|
|
287
|
+
name: string;
|
|
288
|
+
}[];
|
|
289
|
+
} | undefined;
|
|
249
290
|
}[] | undefined;
|
|
250
291
|
defaultVariation?: {
|
|
251
292
|
id: string;
|
|
@@ -316,6 +357,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
316
357
|
key: string;
|
|
317
358
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
318
359
|
size: number;
|
|
360
|
+
manifest?: {
|
|
361
|
+
files: {
|
|
362
|
+
path: string;
|
|
363
|
+
name: string;
|
|
364
|
+
}[];
|
|
365
|
+
} | undefined;
|
|
319
366
|
}[] | undefined;
|
|
320
367
|
defaultVariation?: {
|
|
321
368
|
id: string;
|
|
@@ -430,6 +477,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
430
477
|
key: string;
|
|
431
478
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
432
479
|
size: number;
|
|
480
|
+
manifest?: {
|
|
481
|
+
files: {
|
|
482
|
+
path: string;
|
|
483
|
+
name: string;
|
|
484
|
+
}[];
|
|
485
|
+
} | undefined;
|
|
433
486
|
}[] | undefined;
|
|
434
487
|
defaultVariation?: {
|
|
435
488
|
id: string;
|
|
@@ -500,6 +553,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
500
553
|
key: string;
|
|
501
554
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
502
555
|
size: number;
|
|
556
|
+
manifest?: {
|
|
557
|
+
files: {
|
|
558
|
+
path: string;
|
|
559
|
+
name: string;
|
|
560
|
+
}[];
|
|
561
|
+
} | undefined;
|
|
503
562
|
}[] | undefined;
|
|
504
563
|
defaultVariation?: {
|
|
505
564
|
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;
|
|
@@ -246,6 +281,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
246
281
|
key: string;
|
|
247
282
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
248
283
|
size: number;
|
|
284
|
+
manifest?: {
|
|
285
|
+
files: {
|
|
286
|
+
path: string;
|
|
287
|
+
name: string;
|
|
288
|
+
}[];
|
|
289
|
+
} | undefined;
|
|
249
290
|
}[] | undefined;
|
|
250
291
|
defaultVariation?: {
|
|
251
292
|
id: string;
|
|
@@ -316,6 +357,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
316
357
|
key: string;
|
|
317
358
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
318
359
|
size: number;
|
|
360
|
+
manifest?: {
|
|
361
|
+
files: {
|
|
362
|
+
path: string;
|
|
363
|
+
name: string;
|
|
364
|
+
}[];
|
|
365
|
+
} | undefined;
|
|
319
366
|
}[] | undefined;
|
|
320
367
|
defaultVariation?: {
|
|
321
368
|
id: string;
|
|
@@ -430,6 +477,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
430
477
|
key: string;
|
|
431
478
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
432
479
|
size: number;
|
|
480
|
+
manifest?: {
|
|
481
|
+
files: {
|
|
482
|
+
path: string;
|
|
483
|
+
name: string;
|
|
484
|
+
}[];
|
|
485
|
+
} | undefined;
|
|
433
486
|
}[] | undefined;
|
|
434
487
|
defaultVariation?: {
|
|
435
488
|
id: string;
|
|
@@ -500,6 +553,12 @@ declare function useVoucher(context?: StorefrontContext): {
|
|
|
500
553
|
key: string;
|
|
501
554
|
platform: _moonbase_sh_storefront_api.Platform;
|
|
502
555
|
size: number;
|
|
556
|
+
manifest?: {
|
|
557
|
+
files: {
|
|
558
|
+
path: string;
|
|
559
|
+
name: string;
|
|
560
|
+
}[];
|
|
561
|
+
} | undefined;
|
|
503
562
|
}[] | undefined;
|
|
504
563
|
defaultVariation?: {
|
|
505
564
|
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.84",
|
|
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.84"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/uuid": "^9.0.8",
|