@plumier/filter-parser
Advanced tools
Comparing version 1.0.0-canary.km367x9q.0 to 1.0.0-canary.km6t3qv9.0
@@ -6,3 +6,8 @@ import { Class } from "@plumier/core"; | ||
} | ||
interface SelectParserDecorator { | ||
kind: "plumier-meta:select-parser-decorator"; | ||
type: (() => Class | string); | ||
} | ||
declare function filterParser(type: ((x: any) => Class | string)): (...args: any[]) => void; | ||
export { filterParser, FilterParserDecorator }; | ||
declare function selectParser(type: ((x: any) => Class | string)): (...args: any[]) => void; | ||
export { filterParser, FilterParserDecorator, selectParser, SelectParserDecorator, }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.filterParser = void 0; | ||
exports.selectParser = exports.filterParser = void 0; | ||
const reflect_1 = require("@plumier/reflect"); | ||
// interface OrderParserDecorator { | ||
// kind: "plumier-meta:order-parser-decorator" | ||
// type: (() => Class | string) | ||
// } | ||
function filterParser(type) { | ||
@@ -9,1 +13,5 @@ return reflect_1.mergeDecorator(reflect_1.type(x => String), reflect_1.decorateParameter(x => ({ kind: "plumier-meta:filter-parser-decorator", type }))); | ||
exports.filterParser = filterParser; | ||
function selectParser(type) { | ||
return reflect_1.mergeDecorator(reflect_1.type(x => String), reflect_1.decorateParameter(x => ({ kind: "plumier-meta:select-parser-decorator", type }))); | ||
} | ||
exports.selectParser = selectParser; |
@@ -1,4 +0,6 @@ | ||
export * from "./authorizer"; | ||
export * from "./parser"; | ||
export * from "./filter/authorizer"; | ||
export * from "./filter/parser"; | ||
export * from "./decorator"; | ||
export * from "./converter"; | ||
export * from "./filter/converter"; | ||
export * from "./select/converter"; | ||
export * from "./select/authorizer"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./authorizer"), exports); | ||
tslib_1.__exportStar(require("./parser"), exports); | ||
tslib_1.__exportStar(require("./filter/authorizer"), exports); | ||
tslib_1.__exportStar(require("./filter/parser"), exports); | ||
tslib_1.__exportStar(require("./decorator"), exports); | ||
tslib_1.__exportStar(require("./converter"), exports); | ||
tslib_1.__exportStar(require("./filter/converter"), exports); | ||
tslib_1.__exportStar(require("./select/converter"), exports); | ||
tslib_1.__exportStar(require("./select/authorizer"), exports); |
{ | ||
"name": "@plumier/filter-parser", | ||
"version": "1.0.0-canary.km367x9q.0+e54acf1", | ||
"version": "1.0.0-canary.km6t3qv9.0+ba8ff2d", | ||
"description": "Plumier testing modules", | ||
@@ -19,4 +19,3 @@ "main": "lib/index.js", | ||
"copy-readme": "cpy ../../readme.md .", | ||
"precompile": "nearleyc src/grammar.ne -o src/grammar.ts", | ||
"rail-road": "nearley-railroad src/grammar.ne -o src/railroad.html" | ||
"precompile": "nearleyc src/filter/grammar.ne -o src/filter/grammar.ts" | ||
}, | ||
@@ -26,3 +25,3 @@ "author": "Ketut Sandiarsa", | ||
"dependencies": { | ||
"@plumier/core": "1.0.0-canary.km367x9q.0+e54acf1", | ||
"@plumier/core": "1.0.0-canary.km6t3qv9.0+ba8ff2d", | ||
"@types/nearley": "^2.11.1", | ||
@@ -44,3 +43,3 @@ "nearley": "^2.20.1" | ||
}, | ||
"gitHead": "e54acf1145a911dfbd1a52a227aa185308bdba26" | ||
"gitHead": "ba8ff2d710aee31e6ec9d77c3ccbe1a77f67fdb1" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
35283
21
622
2