tsconfig
This commit is contained in:
parent
143482b46e
commit
0dfefb1bfa
|
|
@ -3,7 +3,7 @@ import { EntityDict } from 'oak-app-domain/EntityDict';
|
||||||
export declare function loginMp<ED extends EntityDict>(params: {
|
export declare function loginMp<ED extends EntityDict>(params: {
|
||||||
code: string;
|
code: string;
|
||||||
}, context: RuntimeContext<ED>): Promise<string>;
|
}, context: RuntimeContext<ED>): Promise<string>;
|
||||||
export declare function loginByPassword(params: {
|
export declare function loginByPassword<ED extends EntityDict>(params: {
|
||||||
password: string;
|
password: string;
|
||||||
mobile: string;
|
mobile: string;
|
||||||
}, context: RuntimeContext<EntityDict>): Promise<string>;
|
}, context: RuntimeContext<ED>): Promise<string>;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
import './typings/polyfill';
|
|
||||||
import aspectDict from "./aspects";
|
import aspectDict from "./aspects";
|
||||||
import triggers from "./triggers";
|
import triggers from "./triggers";
|
||||||
import checkers from './checkers';
|
import checkers from './checkers';
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
exports.aspectDict = exports.data = exports.triggers = exports.checkers = void 0;
|
exports.aspectDict = exports.data = exports.triggers = exports.checkers = void 0;
|
||||||
require("./typings/polyfill");
|
// import './typings/polyfill';
|
||||||
const aspects_1 = __importDefault(require("./aspects"));
|
const aspects_1 = __importDefault(require("./aspects"));
|
||||||
exports.aspectDict = aspects_1.default /* , { AspectDict } */;
|
exports.aspectDict = aspects_1.default /* , { AspectDict } */;
|
||||||
const triggers_1 = __importDefault(require("./triggers"));
|
const triggers_1 = __importDefault(require("./triggers"));
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ export async function loginMp<ED extends EntityDict>(params: { code: string }, c
|
||||||
throw new Error('method not implemented!');
|
throw new Error('method not implemented!');
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function loginByPassword(params: { password: string, mobile: string }, context: RuntimeContext<EntityDict>): Promise<string> {
|
export async function loginByPassword<ED extends EntityDict>(params: { password: string, mobile: string }, context: RuntimeContext<ED>): Promise<string> {
|
||||||
const { rowStore } = context;
|
const { rowStore } = context;
|
||||||
|
|
||||||
const { result: [mobile]} = await rowStore.select('mobile', {
|
const { result: [mobile]} = await rowStore.select('mobile', {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import './typings/polyfill';
|
// import './typings/polyfill';
|
||||||
import aspectDict/* , { AspectDict } */ from "./aspects";
|
import aspectDict/* , { AspectDict } */ from "./aspects";
|
||||||
import triggers from "./triggers";
|
import triggers from "./triggers";
|
||||||
import checkers from './checkers';
|
import checkers from './checkers';
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
// "sourceMap": true, /* Generates corresponding '.map' file. */
|
// "sourceMap": true, /* Generates corresponding '.map' file. */
|
||||||
// "outFile": "./", /* Concatenate and emit output to single file. */
|
// "outFile": "./", /* Concatenate and emit output to single file. */
|
||||||
"outDir": "lib", /* Redirect output structure to the directory. */
|
"outDir": "lib", /* Redirect output structure to the directory. */
|
||||||
// "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
"rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||||
// "composite": true, /* Enable project compilation */
|
// "composite": true, /* Enable project compilation */
|
||||||
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
||||||
// "removeComments": true, /* Do not emit comments to output. */
|
// "removeComments": true, /* Do not emit comments to output. */
|
||||||
|
|
@ -70,10 +70,12 @@
|
||||||
"./node_modules/miniprogram-api-typings"
|
"./node_modules/miniprogram-api-typings"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": [ "src/**/*.ts" ],
|
"include": [ "./**/*.ts" ],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
"**/*.spec.ts",
|
"**/*.spec.ts",
|
||||||
"test"
|
"test",
|
||||||
|
"scripts",
|
||||||
|
"wechatMp"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -6,6 +6,7 @@ OakPage({
|
||||||
id: 1,
|
id: 1,
|
||||||
name: 1,
|
name: 1,
|
||||||
phone: 1,
|
phone: 1,
|
||||||
|
detail: 1,
|
||||||
area: {
|
area: {
|
||||||
id: 1,
|
id: 1,
|
||||||
name: 1,
|
name: 1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue