tsledge 0.1.5 → 0.1.6
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.
|
@@ -8,6 +8,16 @@ export declare class FluentPatternHandler {
|
|
|
8
8
|
* @param paths - Array of query pattern paths for filtering.
|
|
9
9
|
*/
|
|
10
10
|
constructor(paths?: FluentAPIPath[]);
|
|
11
|
+
/**
|
|
12
|
+
* Initializes the singleton instance of FluentPatternHandler with the provided paths.
|
|
13
|
+
* @param paths - Array of query pattern paths for filtering.
|
|
14
|
+
* @returns Singleton instance of FluentPatternHandler.
|
|
15
|
+
*/
|
|
16
|
+
static init(paths?: FluentAPIPath[]): FluentPatternHandler;
|
|
17
|
+
/**
|
|
18
|
+
* Returns the singleton instance of FluentPatternHandler.
|
|
19
|
+
* @returns Singleton instance of FluentPatternHandler.
|
|
20
|
+
*/
|
|
11
21
|
static getInstance(): FluentPatternHandler;
|
|
12
22
|
/**
|
|
13
23
|
* Parses and validates query parameters from the request.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluent-pattern-handler.d.ts","sourceRoot":"","sources":["../../src/fluent-interface/fluent-pattern-handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,oBAAoB,EAErB,MAAM,SAAS,CAAC;AACjB,OAAO,EAA8B,mBAAmB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAY9F,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAC,UAAU,CAAuB;IAChD,OAAO,CAAC,MAAM,CAAkB;IAEhC;;;OAGG;gBACS,KAAK,GAAE,aAAa,EAAO;
|
|
1
|
+
{"version":3,"file":"fluent-pattern-handler.d.ts","sourceRoot":"","sources":["../../src/fluent-interface/fluent-pattern-handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,oBAAoB,EAErB,MAAM,SAAS,CAAC;AACjB,OAAO,EAA8B,mBAAmB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAY9F,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAC,UAAU,CAAuB;IAChD,OAAO,CAAC,MAAM,CAAkB;IAEhC;;;OAGG;gBACS,KAAK,GAAE,aAAa,EAAO;IAUvC;;;;OAIG;WACW,IAAI,CAAC,KAAK,GAAE,aAAa,EAAO,GAAG,oBAAoB;IAQrE;;;OAGG;WACW,WAAW,IAAI,oBAAoB;IASjD;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAsChC;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAoCxB;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAYhC;;;;OAIG;IACH,OAAO,CAAC,qBAAqB;IAa7B;;;;;OAKG;IACU,IAAI,CAAC,CAAC,GAAG,GAAG,EACvB,GAAG,EAAE,oBAAoB,EACzB,YAAY,EAAE,YAAY,GACzB,mBAAmB;CAWvB"}
|
package/dist/index.js
CHANGED
|
@@ -819,6 +819,22 @@ var FluentPatternHandler = class _FluentPatternHandler {
|
|
|
819
819
|
this._paths = paths;
|
|
820
820
|
_FluentPatternHandler._singleton = this;
|
|
821
821
|
}
|
|
822
|
+
/**
|
|
823
|
+
* Initializes the singleton instance of FluentPatternHandler with the provided paths.
|
|
824
|
+
* @param paths - Array of query pattern paths for filtering.
|
|
825
|
+
* @returns Singleton instance of FluentPatternHandler.
|
|
826
|
+
*/
|
|
827
|
+
static init(paths = []) {
|
|
828
|
+
if (_FluentPatternHandler._singleton != void 0) {
|
|
829
|
+
throw new Error("FluentPatternHandler is already initialized");
|
|
830
|
+
}
|
|
831
|
+
_FluentPatternHandler._singleton = new _FluentPatternHandler(paths);
|
|
832
|
+
return _FluentPatternHandler._singleton;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* Returns the singleton instance of FluentPatternHandler.
|
|
836
|
+
* @returns Singleton instance of FluentPatternHandler.
|
|
837
|
+
*/
|
|
822
838
|
static getInstance() {
|
|
823
839
|
if (_FluentPatternHandler._singleton == void 0) {
|
|
824
840
|
throw new Error(
|
package/package.json
CHANGED