UNPKG

@rxap/schematics-ts-morph

Version:

This package provides utilities for manipulating TypeScript code using ts-morph, particularly for Angular and NestJS projects. It offers functions to add, coerce, and modify code elements like classes, methods, decorators, and imports. The package also in

41 lines 1.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TABLE_QUERY_LIST = void 0; exports.TABLE_QUERY_LIST = [ { name: 'pageIndex', type: 'number', defaultValue: '0', }, { name: 'pageSize', type: 'number', defaultValue: '5', }, { name: 'sortDirection', type: 'string', defaultValue: w => w.quote('desc'), }, { name: 'sortBy', type: 'string', defaultValue: w => w.quote('__updatedAt'), }, { name: 'filter', type: { name: 'FilterQuery', moduleSpecifier: '@rxap/nest-utilities', }, isArray: true, pipeList: [{ name: 'new FilterQueryPipe()', namedImport: 'FilterQueryPipe', moduleSpecifier: '@rxap/nest-utilities', }], // the FilterQueryPipe will set the default value to an empty array hasQuestionToken: false, }, ]; //# sourceMappingURL=table-query-list.js.map