@resin/pinejs
Version:
Pine.js is a sophisticated rules-driven API engine that enables you to define rules in a structured subset of English. Those rules are used in order for Pine.js to generate a database schema and the associated [OData](http://www.odata.org/) API. This make
23 lines (22 loc) • 592 B
TypeScript
declare module '@balena/lf-to-abstract-sql' {
export const LF2AbstractSQL: {
createInstance: () => {
match: (
lfModel: LFModel,
rule: 'Process',
) => AbstractSQLCompiler.AbstractSqlModel;
addTypes: (types: typeof sbvrTypes) => void;
reset: () => void;
};
};
export const LF2AbstractSQLPrep: {
match: (lfModel: LFModel, rule: 'Process') => LFModel;
_extend({}): typeof LF2AbstractSQL.LF2AbstractSQLPrep;
};
export const createTranslator: (
types: typeof sbvrTypes,
) => (
lfModel: LFModel,
rule: 'Process',
) => AbstractSQLCompiler.AbstractSqlModel;
}