@polyipseity/obsidian-plugin-library 1.15.0 → 1.15.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.
package/dist/sources/rules.d.ts
CHANGED
|
@@ -10,8 +10,10 @@ type Rules0 = readonly Rule[];
|
|
|
10
10
|
export interface Rules extends Rules0 {
|
|
11
11
|
}
|
|
12
12
|
export declare namespace Rules {
|
|
13
|
-
function parse(strs: readonly string[], interpreter?:
|
|
13
|
+
function parse(strs: readonly string[], interpreter?: typeof identityInterpreter): Rules;
|
|
14
14
|
function test(rules: Rules, str: string): boolean;
|
|
15
|
+
function identityInterpreter(str: string): RegExp;
|
|
16
|
+
function pathInterpreter(str: string): RegExp;
|
|
15
17
|
}
|
|
16
18
|
export declare class SettingRules<S extends PluginContext.Settings> {
|
|
17
19
|
protected readonly context: PluginContext<S>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../sources/rules.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../sources/rules.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAGhD,MAAM,WAAW,IAAI;IACpB,QAAQ,CAAC,EAAE,EAAE,GAAG,GAAG,GAAG,CAAA;IACtB,QAAQ,CA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