@sapphire/pieces 3.10.0-next.7b0ae1d.0 → 3.10.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.
- package/CHANGELOG.md +11 -0
- package/dist/index.d.ts +145 -128
- package/dist/lib/structures/AliasPiece.js.map +1 -1
- package/dist/lib/structures/AliasStore.js.map +1 -1
- package/dist/lib/structures/Piece.js.map +1 -1
- package/dist/lib/structures/Store.js.map +1 -1
- package/dist/lib/structures/StoreRegistry.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
# [3.10.0](https://github.com/sapphiredev/pieces/compare/v3.10.0...v3.10.0) - (2023-11-16)
|
|
6
|
+
|
|
7
|
+
## 🏠 Refactor
|
|
8
|
+
|
|
9
|
+
- Rename `Piece.Context` to `Piece.LoaderContext` (#351) ([f5bb225](https://github.com/sapphiredev/pieces/commit/f5bb22508850e1aead0b7fadc802ac13e462dca4))
|
|
10
|
+
|
|
11
|
+
## 🚀 Features
|
|
12
|
+
|
|
13
|
+
- Use `StoreName` for improved type experience (#350) ([3c722ef](https://github.com/sapphiredev/pieces/commit/3c722ef2d57bc292920491a990cd91dddefc37bd))
|
|
14
|
+
- **StoreRegistry:** Add `StoreOf` and `PieceOf` (#349) ([7b0ae1d](https://github.com/sapphiredev/pieces/commit/7b0ae1dba0e51084d35c3801e8c25c6d1dc3a54f))
|
|
15
|
+
|
|
5
16
|
# [3.9.0](https://github.com/sapphiredev/pieces/compare/v3.9.0...v3.9.0) - (2023-11-15)
|
|
6
17
|
|
|
7
18
|
## 🚀 Features
|
package/dist/index.d.ts
CHANGED
|
@@ -122,6 +122,118 @@ interface PieceLocationJSON {
|
|
|
122
122
|
root: string;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
/**
|
|
126
|
+
* The context for the piece, contains extra information from the store,
|
|
127
|
+
* the piece's path, and the store that loaded it.
|
|
128
|
+
*/
|
|
129
|
+
interface LoaderPieceContext<StoreName extends StoreRegistryKey = StoreRegistryKey> {
|
|
130
|
+
/**
|
|
131
|
+
* The root directory the piece was loaded from.
|
|
132
|
+
*/
|
|
133
|
+
readonly root: string;
|
|
134
|
+
/**
|
|
135
|
+
* The path the module was loaded from, relative to {@link LoaderPieceContext.root}.
|
|
136
|
+
*/
|
|
137
|
+
readonly path: string;
|
|
138
|
+
/**
|
|
139
|
+
* The module's name extracted from the path.
|
|
140
|
+
*/
|
|
141
|
+
readonly name: string;
|
|
142
|
+
/**
|
|
143
|
+
* The store that loaded the piece.
|
|
144
|
+
*/
|
|
145
|
+
readonly store: StoreOf<StoreName>;
|
|
146
|
+
}
|
|
147
|
+
/** @deprecated Use {@linkcode LoaderPieceContext} instead. */
|
|
148
|
+
interface PieceContext<StoreName extends StoreRegistryKey = StoreRegistryKey> extends LoaderPieceContext<StoreName> {
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* The options for the {@link Piece}.
|
|
152
|
+
*/
|
|
153
|
+
interface PieceOptions {
|
|
154
|
+
/**
|
|
155
|
+
* The name for the piece.
|
|
156
|
+
* @default ''
|
|
157
|
+
*/
|
|
158
|
+
readonly name?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Whether or not the piece should be enabled. If set to false, the piece will be unloaded.
|
|
161
|
+
* @default true
|
|
162
|
+
*/
|
|
163
|
+
readonly enabled?: boolean;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* The return type of {@link Piece.toJSON}.
|
|
167
|
+
*/
|
|
168
|
+
interface PieceJSON {
|
|
169
|
+
location: PieceLocationJSON;
|
|
170
|
+
name: string;
|
|
171
|
+
enabled: boolean;
|
|
172
|
+
options: PieceOptions;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* The piece to be stored in {@link Store} instances.
|
|
176
|
+
*/
|
|
177
|
+
declare class Piece<Options extends PieceOptions = PieceOptions, StoreName extends StoreRegistryKey = StoreRegistryKey> {
|
|
178
|
+
/**
|
|
179
|
+
* The store that contains the piece.
|
|
180
|
+
*/
|
|
181
|
+
readonly store: StoreOf<StoreName>;
|
|
182
|
+
/**
|
|
183
|
+
* The location metadata for the piece's file.
|
|
184
|
+
*/
|
|
185
|
+
readonly location: PieceLocation;
|
|
186
|
+
/**
|
|
187
|
+
* The name of the piece.
|
|
188
|
+
*/
|
|
189
|
+
readonly name: string;
|
|
190
|
+
/**
|
|
191
|
+
* Whether or not the piece is enabled.
|
|
192
|
+
*/
|
|
193
|
+
enabled: boolean;
|
|
194
|
+
/**
|
|
195
|
+
* The raw options passed to this {@link Piece}
|
|
196
|
+
*/
|
|
197
|
+
readonly options: Options;
|
|
198
|
+
constructor(context: Piece.LoaderContext<StoreName>, options?: PieceOptions);
|
|
199
|
+
/**
|
|
200
|
+
* A reference to the {@link Container} object for ease of use.
|
|
201
|
+
* @see container
|
|
202
|
+
*/
|
|
203
|
+
get container(): Container;
|
|
204
|
+
/**
|
|
205
|
+
* Per-piece listener that is called when the piece is loaded into the store.
|
|
206
|
+
* Useful to set-up asynchronous initialization tasks.
|
|
207
|
+
*/
|
|
208
|
+
onLoad(): Awaitable<unknown>;
|
|
209
|
+
/**
|
|
210
|
+
* Per-piece listener that is called when the piece is unloaded from the store.
|
|
211
|
+
* Useful to set-up clean-up tasks.
|
|
212
|
+
*/
|
|
213
|
+
onUnload(): Awaitable<unknown>;
|
|
214
|
+
/**
|
|
215
|
+
* Unloads and disables the piece.
|
|
216
|
+
*/
|
|
217
|
+
unload(): Promise<void>;
|
|
218
|
+
/**
|
|
219
|
+
* Reloads the piece by loading the same path in the store.
|
|
220
|
+
*/
|
|
221
|
+
reload(): Promise<void>;
|
|
222
|
+
/**
|
|
223
|
+
* Defines the `JSON.stringify` behavior of this piece.
|
|
224
|
+
*/
|
|
225
|
+
toJSON(): PieceJSON;
|
|
226
|
+
}
|
|
227
|
+
declare namespace Piece {
|
|
228
|
+
const Location: typeof PieceLocation;
|
|
229
|
+
type Options = PieceOptions;
|
|
230
|
+
/** @deprecated Use {@linkcode LoaderContext} instead. */
|
|
231
|
+
type Context<StoreName extends StoreRegistryKey = StoreRegistryKey> = LoaderPieceContext<StoreName>;
|
|
232
|
+
type LoaderContext<StoreName extends StoreRegistryKey = StoreRegistryKey> = LoaderPieceContext<StoreName>;
|
|
233
|
+
type JSON = PieceJSON;
|
|
234
|
+
type LocationJSON = PieceLocationJSON;
|
|
235
|
+
}
|
|
236
|
+
|
|
125
237
|
/**
|
|
126
238
|
* The module data information.
|
|
127
239
|
*/
|
|
@@ -256,11 +368,11 @@ interface ILoaderStrategy<T extends Piece> {
|
|
|
256
368
|
/**
|
|
257
369
|
* The options for the store, this features both hooks (changes the behaviour) and handlers (similar to event listeners).
|
|
258
370
|
*/
|
|
259
|
-
interface StoreOptions<T extends Piece> {
|
|
371
|
+
interface StoreOptions<T extends Piece, StoreName extends StoreRegistryKey = StoreRegistryKey> {
|
|
260
372
|
/**
|
|
261
373
|
* The name for this store.
|
|
262
374
|
*/
|
|
263
|
-
readonly name:
|
|
375
|
+
readonly name: StoreName;
|
|
264
376
|
/**
|
|
265
377
|
* The paths to load pieces from, should be absolute.
|
|
266
378
|
* @default []
|
|
@@ -290,17 +402,17 @@ interface StoreLogger {
|
|
|
290
402
|
* An entry for a manually registered piece using {@linkcode Store.loadPiece()}.
|
|
291
403
|
* @since 3.8.0
|
|
292
404
|
*/
|
|
293
|
-
interface StoreManuallyRegisteredPiece<StoreName extends
|
|
405
|
+
interface StoreManuallyRegisteredPiece<StoreName extends StoreRegistryKey> {
|
|
294
406
|
name: string;
|
|
295
407
|
piece: StoreRegistryEntries[StoreName] extends Store<infer Piece> ? Constructor<Piece> : never;
|
|
296
408
|
}
|
|
297
409
|
/**
|
|
298
410
|
* The store class which contains {@link Piece}s.
|
|
299
411
|
*/
|
|
300
|
-
declare class Store<T extends Piece, StoreName extends
|
|
412
|
+
declare class Store<T extends Piece, StoreName extends StoreRegistryKey = StoreRegistryKey> extends Collection<string, T> {
|
|
301
413
|
#private;
|
|
302
414
|
readonly Constructor: AbstractConstructor<T>;
|
|
303
|
-
readonly name:
|
|
415
|
+
readonly name: StoreName;
|
|
304
416
|
readonly paths: Set<string>;
|
|
305
417
|
readonly strategy: ILoaderStrategy<T>;
|
|
306
418
|
/**
|
|
@@ -311,7 +423,7 @@ declare class Store<T extends Piece, StoreName extends keyof StoreRegistryEntrie
|
|
|
311
423
|
* @param constructor The piece constructor this store loads.
|
|
312
424
|
* @param options The options for the store.
|
|
313
425
|
*/
|
|
314
|
-
constructor(constructor: AbstractConstructor<T>, options: StoreOptions<T>);
|
|
426
|
+
constructor(constructor: AbstractConstructor<T>, options: StoreOptions<T, StoreName>);
|
|
315
427
|
/**
|
|
316
428
|
* A reference to the {@link Container} object for ease of use.
|
|
317
429
|
* @see container
|
|
@@ -440,115 +552,6 @@ declare namespace Store {
|
|
|
440
552
|
type RegistryEntries = StoreRegistryEntries;
|
|
441
553
|
}
|
|
442
554
|
|
|
443
|
-
/**
|
|
444
|
-
* The context for the piece, contains extra information from the store,
|
|
445
|
-
* the piece's path, and the store that loaded it.
|
|
446
|
-
*/
|
|
447
|
-
interface PieceContext {
|
|
448
|
-
/**
|
|
449
|
-
* The root directory the piece was loaded from.
|
|
450
|
-
*/
|
|
451
|
-
readonly root: string;
|
|
452
|
-
/**
|
|
453
|
-
* The path the module was loaded from, relative to {@link PieceContext.root}.
|
|
454
|
-
*/
|
|
455
|
-
readonly path: string;
|
|
456
|
-
/**
|
|
457
|
-
* The module's name extracted from the path.
|
|
458
|
-
*/
|
|
459
|
-
readonly name: string;
|
|
460
|
-
/**
|
|
461
|
-
* The store that loaded the piece.
|
|
462
|
-
*/
|
|
463
|
-
readonly store: Store<Piece>;
|
|
464
|
-
}
|
|
465
|
-
/**
|
|
466
|
-
* The options for the {@link Piece}.
|
|
467
|
-
*/
|
|
468
|
-
interface PieceOptions {
|
|
469
|
-
/**
|
|
470
|
-
* The name for the piece.
|
|
471
|
-
* @default ''
|
|
472
|
-
*/
|
|
473
|
-
readonly name?: string;
|
|
474
|
-
/**
|
|
475
|
-
* Whether or not the piece should be enabled. If set to false, the piece will be unloaded.
|
|
476
|
-
* @default true
|
|
477
|
-
*/
|
|
478
|
-
readonly enabled?: boolean;
|
|
479
|
-
}
|
|
480
|
-
/**
|
|
481
|
-
* The return type of {@link Piece.toJSON}.
|
|
482
|
-
*/
|
|
483
|
-
interface PieceJSON {
|
|
484
|
-
location: PieceLocationJSON;
|
|
485
|
-
name: string;
|
|
486
|
-
enabled: boolean;
|
|
487
|
-
options: PieceOptions;
|
|
488
|
-
}
|
|
489
|
-
/**
|
|
490
|
-
* The piece to be stored in {@link Store} instances.
|
|
491
|
-
*/
|
|
492
|
-
declare class Piece<Options extends PieceOptions = PieceOptions, StoreName extends keyof StoreRegistryEntries = keyof StoreRegistryEntries> {
|
|
493
|
-
/**
|
|
494
|
-
* The store that contains the piece.
|
|
495
|
-
*/
|
|
496
|
-
readonly store: StoreOf<StoreName>;
|
|
497
|
-
/**
|
|
498
|
-
* The location metadata for the piece's file.
|
|
499
|
-
*/
|
|
500
|
-
readonly location: PieceLocation;
|
|
501
|
-
/**
|
|
502
|
-
* The name of the piece.
|
|
503
|
-
*/
|
|
504
|
-
readonly name: string;
|
|
505
|
-
/**
|
|
506
|
-
* Whether or not the piece is enabled.
|
|
507
|
-
*/
|
|
508
|
-
enabled: boolean;
|
|
509
|
-
/**
|
|
510
|
-
* The raw options passed to this {@link Piece}
|
|
511
|
-
*/
|
|
512
|
-
readonly options: Options;
|
|
513
|
-
constructor(context: PieceContext, options?: PieceOptions);
|
|
514
|
-
/**
|
|
515
|
-
* A reference to the {@link Container} object for ease of use.
|
|
516
|
-
* @see container
|
|
517
|
-
*/
|
|
518
|
-
get container(): Container;
|
|
519
|
-
/**
|
|
520
|
-
* Per-piece listener that is called when the piece is loaded into the store.
|
|
521
|
-
* Useful to set-up asynchronous initialization tasks.
|
|
522
|
-
*/
|
|
523
|
-
onLoad(): Awaitable<unknown>;
|
|
524
|
-
/**
|
|
525
|
-
* Per-piece listener that is called when the piece is unloaded from the store.
|
|
526
|
-
* Useful to set-up clean-up tasks.
|
|
527
|
-
*/
|
|
528
|
-
onUnload(): Awaitable<unknown>;
|
|
529
|
-
/**
|
|
530
|
-
* Unloads and disables the piece.
|
|
531
|
-
*/
|
|
532
|
-
unload(): Promise<void>;
|
|
533
|
-
/**
|
|
534
|
-
* Reloads the piece by loading the same path in the store.
|
|
535
|
-
*/
|
|
536
|
-
reload(): Promise<void>;
|
|
537
|
-
/**
|
|
538
|
-
* Defines the `JSON.stringify` behavior of this piece.
|
|
539
|
-
*/
|
|
540
|
-
toJSON(): PieceJSON;
|
|
541
|
-
}
|
|
542
|
-
declare namespace Piece {
|
|
543
|
-
const Location: typeof PieceLocation;
|
|
544
|
-
type Options = PieceOptions;
|
|
545
|
-
type Context = PieceContext;
|
|
546
|
-
type JSON = PieceJSON;
|
|
547
|
-
type LocationJSON = PieceLocationJSON;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
type Key = keyof StoreRegistryEntries;
|
|
551
|
-
type Value = StoreRegistryEntries[Key];
|
|
552
555
|
/**
|
|
553
556
|
* A strict-typed store registry. This is available in {@link container}.
|
|
554
557
|
* @since 2.1.0
|
|
@@ -569,7 +572,7 @@ type Value = StoreRegistryEntries[Key];
|
|
|
569
572
|
* }
|
|
570
573
|
* ```
|
|
571
574
|
*/
|
|
572
|
-
declare class StoreRegistry extends Collection<
|
|
575
|
+
declare class StoreRegistry extends Collection<StoreRegistryKey, StoreRegistryValue> {
|
|
573
576
|
#private;
|
|
574
577
|
/**
|
|
575
578
|
* Loads all the registered stores.
|
|
@@ -669,14 +672,24 @@ declare class StoreRegistry extends Collection<Key, Value> {
|
|
|
669
672
|
* });
|
|
670
673
|
* ```
|
|
671
674
|
*/
|
|
672
|
-
loadPiece<StoreName extends
|
|
675
|
+
loadPiece<StoreName extends StoreRegistryKey>(entry: StoreManagerManuallyRegisteredPiece<StoreName>): Promise<void>;
|
|
673
676
|
}
|
|
674
677
|
interface StoreRegistry {
|
|
675
|
-
get<K extends
|
|
678
|
+
get<K extends StoreRegistryKey>(key: K): StoreRegistryEntries[K];
|
|
676
679
|
get(key: string): undefined;
|
|
677
|
-
has(key:
|
|
680
|
+
has(key: StoreRegistryKey): true;
|
|
678
681
|
has(key: string): false;
|
|
679
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
* A type utility to get the keys of {@linkcode StoreRegistryEntries}.
|
|
685
|
+
* @since 3.10.0
|
|
686
|
+
*/
|
|
687
|
+
type StoreRegistryKey = keyof StoreRegistryEntries;
|
|
688
|
+
/**
|
|
689
|
+
* A type utility to get the values of {@linkcode StoreRegistryEntries}.
|
|
690
|
+
* @since 3.10.0
|
|
691
|
+
*/
|
|
692
|
+
type StoreRegistryValue = StoreRegistryEntries[StoreRegistryKey];
|
|
680
693
|
/**
|
|
681
694
|
* The {@link StoreRegistry}'s registry, use module augmentation against this interface when adding new stores.
|
|
682
695
|
* @since 2.1.0
|
|
@@ -688,17 +701,19 @@ interface StoreRegistryEntries {
|
|
|
688
701
|
* @seealso {@linkcode StoreRegistry.loadPiece()}
|
|
689
702
|
* @since 3.8.0
|
|
690
703
|
*/
|
|
691
|
-
interface StoreManagerManuallyRegisteredPiece<StoreName extends
|
|
704
|
+
interface StoreManagerManuallyRegisteredPiece<StoreName extends StoreRegistryKey> extends StoreManuallyRegisteredPiece<StoreName> {
|
|
692
705
|
store: StoreName;
|
|
693
706
|
}
|
|
694
707
|
/**
|
|
695
708
|
* Type utility to get the {@linkcode Store} given its name.
|
|
709
|
+
* @since 3.10.0
|
|
696
710
|
*/
|
|
697
|
-
type StoreOf<StoreName extends
|
|
711
|
+
type StoreOf<StoreName extends StoreRegistryKey> = StoreRegistryKey extends never ? Store<Piece<Piece.Options, StoreName>> : StoreRegistryEntries[StoreName];
|
|
698
712
|
/**
|
|
699
713
|
* Type utility to get the {@linkcode Piece} given its {@linkcode Store}'s name.
|
|
714
|
+
* @since 3.10.0
|
|
700
715
|
*/
|
|
701
|
-
type PieceOf<StoreName extends
|
|
716
|
+
type PieceOf<StoreName extends StoreRegistryKey> = StoreRegistryKey extends never ? Piece<Piece.Options, StoreName> : StoreRegistryEntries[StoreName] extends Store<infer PieceType> ? PieceType : Piece<Piece.Options, StoreName>;
|
|
702
717
|
|
|
703
718
|
/**
|
|
704
719
|
* Represents the type of the properties injected into the container, which is available at {@link container}.
|
|
@@ -812,21 +827,23 @@ interface AliasPieceJSON extends Piece.JSON {
|
|
|
812
827
|
/**
|
|
813
828
|
* The piece to be stored in {@link AliasStore} instances.
|
|
814
829
|
*/
|
|
815
|
-
declare class AliasPiece<Options extends AliasPieceOptions = AliasPieceOptions, StoreName extends
|
|
830
|
+
declare class AliasPiece<Options extends AliasPieceOptions = AliasPieceOptions, StoreName extends StoreRegistryKey = StoreRegistryKey> extends Piece<Options, StoreName> {
|
|
816
831
|
/**
|
|
817
832
|
* The aliases for the piece.
|
|
818
833
|
*/
|
|
819
834
|
aliases: readonly string[];
|
|
820
|
-
constructor(context:
|
|
835
|
+
constructor(context: AliasPiece.LoaderContext<StoreName>, options?: AliasPieceOptions);
|
|
821
836
|
/**
|
|
822
837
|
* Defines the `JSON.stringify` behavior of this alias piece.
|
|
823
838
|
*/
|
|
824
|
-
toJSON():
|
|
839
|
+
toJSON(): AliasPiece.JSON;
|
|
825
840
|
}
|
|
826
841
|
declare namespace AliasPiece {
|
|
827
842
|
const Location: typeof PieceLocation;
|
|
828
843
|
type Options = AliasPieceOptions;
|
|
829
|
-
|
|
844
|
+
/** @deprecated Use {@linkcode LoaderContext} instead. */
|
|
845
|
+
type Context<StoreName extends StoreRegistryKey = StoreRegistryKey> = Piece.LoaderContext<StoreName>;
|
|
846
|
+
type LoaderContext<StoreName extends StoreRegistryKey = StoreRegistryKey> = Piece.LoaderContext<StoreName>;
|
|
830
847
|
type JSON = AliasPieceJSON;
|
|
831
848
|
type LocationJSON = Piece.LocationJSON;
|
|
832
849
|
}
|
|
@@ -834,7 +851,7 @@ declare namespace AliasPiece {
|
|
|
834
851
|
/**
|
|
835
852
|
* The store class which contains {@link AliasPiece}s.
|
|
836
853
|
*/
|
|
837
|
-
declare class AliasStore<T extends AliasPiece, StoreName extends
|
|
854
|
+
declare class AliasStore<T extends AliasPiece, StoreName extends StoreRegistryKey = StoreRegistryKey> extends Store<T, StoreName> {
|
|
838
855
|
/**
|
|
839
856
|
* The aliases referencing to pieces.
|
|
840
857
|
*/
|
|
@@ -863,4 +880,4 @@ declare class AliasStore<T extends AliasPiece, StoreName extends keyof StoreRegi
|
|
|
863
880
|
insert(piece: T): Promise<T>;
|
|
864
881
|
}
|
|
865
882
|
|
|
866
|
-
export { AliasPiece, AliasPieceJSON, AliasPieceOptions, AliasStore, AsyncPreloadResult, Container, FilterResult, HydratedModuleData, ILoaderResult, ILoaderResultEntry, ILoaderStrategy, LoaderError, LoaderErrorType, LoaderStrategy, MissingExportsError, ModuleData, Piece, PieceContext, PieceJSON, PieceLocation, PieceLocationJSON, PieceOf, PieceOptions, PreloadResult, RootData, Store, StoreLogger, StoreManagerManuallyRegisteredPiece, StoreManuallyRegisteredPiece, StoreOf, StoreOptions, StoreRegistry, StoreRegistryEntries, VirtualPath, container, getRootData };
|
|
883
|
+
export { AliasPiece, AliasPieceJSON, AliasPieceOptions, AliasStore, AsyncPreloadResult, Container, FilterResult, HydratedModuleData, ILoaderResult, ILoaderResultEntry, ILoaderStrategy, LoaderError, LoaderErrorType, LoaderPieceContext, LoaderStrategy, MissingExportsError, ModuleData, Piece, PieceContext, PieceJSON, PieceLocation, PieceLocationJSON, PieceOf, PieceOptions, PreloadResult, RootData, Store, StoreLogger, StoreManagerManuallyRegisteredPiece, StoreManuallyRegisteredPiece, StoreOf, StoreOptions, StoreRegistry, StoreRegistryEntries, StoreRegistryKey, StoreRegistryValue, VirtualPath, container, getRootData };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AliasPiece.js","sourceRoot":"","sources":["../../../src/lib/structures/AliasPiece.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAWhC;;GAEG;AACH,MAAa,
|
|
1
|
+
{"version":3,"file":"AliasPiece.js","sourceRoot":"","sources":["../../../src/lib/structures/AliasPiece.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAWhC;;GAEG;AACH,MAAa,UAAyH,SAAQ,aAG7I;IAMA,YAAmB,OAA4C,EAAE,UAA6B,EAAE;QAC/F,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QANzB;;WAEG;QACI;;;;;WAA2B;QAIjC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACa,MAAM;QACrB,OAAO;YACN,GAAG,KAAK,CAAC,MAAM,EAAE;YACjB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;SAC7B,CAAC;IACH,CAAC;CACD;AAvBD,gCAuBC;AAUD,WAAiB,UAAU;IACX,mBAAQ,GAAK,aAAK,SAAV,CAAW;AAOnC,CAAC,EARgB,UAAU,0BAAV,UAAU,QAQ1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AliasStore.js","sourceRoot":"","sources":["../../../src/lib/structures/AliasStore.ts"],"names":[],"mappings":";;;AAAA,sDAAmD;AAEnD,mCAAgC;AAGhC;;GAEG;AACH,MAAa,
|
|
1
|
+
{"version":3,"file":"AliasStore.js","sourceRoot":"","sources":["../../../src/lib/structures/AliasStore.ts"],"names":[],"mappings":";;;AAAA,sDAAmD;AAEnD,mCAAgC;AAGhC;;GAEG;AACH,MAAa,UAAwF,SAAQ,aAAmB;IAAhI;;QACC;;WAEG;QACa;;;;mBAAU,IAAI,uBAAU,EAAa;WAAC;IAgDvD,CAAC;IA9CA;;;OAGG;IACa,GAAG,CAAC,GAAW;QAC9B,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAChD,CAAC;IAED;;;OAGG;IACa,GAAG,CAAC,GAAW;QAC9B,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAChD,CAAC;IAED;;;;OAIG;IACa,MAAM,CAAC,IAAgB;QACtC,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAEjC,0CAA0C;QAC1C,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,OAAO,EAAE;YAClC,wEAAwE;YACxE,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAC3C,IAAI,UAAU,KAAK,KAAK;gBAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;SACrD;QAED,OAAO,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED;;;;OAIG;IACa,KAAK,CAAC,MAAM,CAAC,KAAQ;QACpC,KAAK,MAAM,GAAG,IAAI,KAAK,CAAC,OAAO,EAAE;YAChC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;SAC7B;QAED,OAAO,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AApDD,gCAoDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Piece.js","sourceRoot":"","sources":["../../../src/lib/structures/Piece.ts"],"names":[],"mappings":";;;AACA,mDAAgE;AAChE,mDAAwE;
|
|
1
|
+
{"version":3,"file":"Piece.js","sourceRoot":"","sources":["../../../src/lib/structures/Piece.ts"],"names":[],"mappings":";;;AACA,mDAAgE;AAChE,mDAAwE;AAkDxE;;GA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AAI;YACf,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;SACrB,CAAC;IACH,CAAC;CACD;AApFD,sBAoFC;AAYD,WAAiB,KAAK;IACR,cAAQ,GAAG,6BAAa,CAAC;AAOvC,CAAC,EARgB,KAAK,qBAAL,KAAK,QAQrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Store.js","sourceRoot":"","sources":["../../../src/lib/structures/Store.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sDAAmD;AACnD,mDAAmG;AACnG,2BAAqC;AACrC,+BAA4B;AAC5B,uDAAqE;AACrE,2CAA0D;AAC1D,qDAAoF;AACpF,mDAAgE;AAEhE,iEAA8D;AAE9D,
|
|
1
|
+
{"version":3,"file":"Store.js","sourceRoot":"","sources":["../../../src/lib/structures/Store.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sDAAmD;AACnD,mDAAmG;AACnG,2BAAqC;AACrC,+BAA4B;AAC5B,uDAAqE;AACrE,2CAA0D;AAC1D,qDAAoF;AACpF,mDAAgE;AAEhE,iEAA8D;AAE9D,mDAA6F;AAuC7F;;GAEG;AACH,MAAa,KAA8E,SAAQ,uBAAqB;IAgBvH;;;OAGG;IACH,YAAmB,WAAmC,EAAE,OAAmC;QAC1F,KAAK,EAAE,CAAC;QApBO;;;;;WAAoC;QACpC;;;;;WAAgB;QAChB;;;;;WAAmB;QACnB;;;;;WAA6B;QAE7C;;WAEG;QACc;;;;mBAA8E,EAAE;WAAC;QAElG;;WAEG;QACH,+BAAiB,KAAK,EAAC;QAQtB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAwB,CAAC;QAC7C,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QAC1C,IAAI,CAAC,QAAQ,GAAG,OAAO,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structures/StoreRegistry.ts"],"names":[],"mappings":";;;;;;;;;AAAA,sDAAmD;AACnD,mDAA8C;AAC9C,+BAA4B;AAE5B,2CAA0D;AAC1D,mDAAmD;AACnD,qDAAoF;
|
|
1
|
+
{"version":3,"file":"StoreRegistry.js","sourceRoot":"","sources":["../../../src/lib/structures/StoreRegistry.ts"],"names":[],"mappings":";;;;;;;;;AAAA,sDAAmD;AACnD,mDAA8C;AAC9C,+BAA4B;AAE5B,2CAA0D;AAC1D,mDAAmD;AACnD,qDAAoF;AAIpF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,aAAc,SAAQ,uBAAgD;IAAnF;;QACC;;WAEG;QACM,yDAAmC,IAAI,uBAAU,EAAsE,EAAC;IA+IlI,CAAC;IA7IA;;;OAGG;IACI,KAAK,CAAC,IAAI;QAChB,MAAM,QAAQ,GAAuB,EAAE,CAAC;QACxC,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,MAAM,EAAoC,EAAE;YACpE,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;SAC/B;QAED,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC7B,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACI,YAAY,CAAC,gBAAsB,IAAA,sBAAW,GAAE,CAAC,IAAI;QAC3D,MAAM,IAAI,GAAG,IAAA,kBAAW,EAAC,aAAa,CAAC,CAAC;QACxC,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,MAAM,EAAoC,EAAE;YACpE,KAAK,CAAC,YAAY,CAAC,IAAA,WAAI,EAAC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;SAC3C;IACF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACI,QAAQ,CAAkB,KAAe;QAC/C,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,IAAwB,EAAE,KAAsC,CAAC,CAAC;QAEjF,iFA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",
|
|
3
|
-
"version": "3.10.0
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"description": "Sapphire's piece loader.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@commitlint/cli": "^18.4.
|
|
33
|
-
"@commitlint/config-conventional": "^18.4.
|
|
32
|
+
"@commitlint/cli": "^18.4.2",
|
|
33
|
+
"@commitlint/config-conventional": "^18.4.2",
|
|
34
34
|
"@favware/cliff-jumper": "^2.2.3",
|
|
35
35
|
"@favware/npm-deprecate": "^1.0.7",
|
|
36
36
|
"@favware/rollup-type-bundler": "^2.0.0",
|