fix: 一处错误的导入
This commit is contained in:
parent
f3d782fcbc
commit
5543806a63
|
|
@ -2,8 +2,7 @@ import { assert } from 'oak-domain/lib/utils/assert';
|
|||
import { getCosBackend } from '../utils/cos/index.backend';
|
||||
import { generateNewIdAsync } from 'oak-domain/lib/utils/uuid';
|
||||
import { groupBy } from 'oak-domain/lib/utils/lodash';
|
||||
import { extraFileProjection } from '../types/Projection';
|
||||
import applicationPassport from '../components/applicationPassport';
|
||||
import { applicationProjection, extraFileProjection } from '../types/Projection';
|
||||
async function checkWhetherSuccess(context, applicationId, rows) {
|
||||
const successIds = [];
|
||||
const failedIds = [];
|
||||
|
|
@ -104,7 +103,7 @@ const watchers = [
|
|||
projection: {
|
||||
...extraFileProjection,
|
||||
application: {
|
||||
...applicationPassport,
|
||||
...applicationProjection,
|
||||
}
|
||||
},
|
||||
fn: async (context, data) => {
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const tslib_1 = require("tslib");
|
||||
const assert_1 = require("oak-domain/lib/utils/assert");
|
||||
const index_backend_1 = require("../utils/cos/index.backend");
|
||||
const uuid_1 = require("oak-domain/lib/utils/uuid");
|
||||
const lodash_1 = require("oak-domain/lib/utils/lodash");
|
||||
const Projection_1 = require("../types/Projection");
|
||||
const applicationPassport_1 = tslib_1.__importDefault(require("../components/applicationPassport"));
|
||||
async function checkWhetherSuccess(context, applicationId, rows) {
|
||||
const successIds = [];
|
||||
const failedIds = [];
|
||||
|
|
@ -107,7 +105,7 @@ const watchers = [
|
|||
projection: {
|
||||
...Projection_1.extraFileProjection,
|
||||
application: {
|
||||
...applicationPassport_1.default,
|
||||
...Projection_1.applicationProjection,
|
||||
}
|
||||
},
|
||||
fn: async (context, data) => {
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@ import { Watcher, BBWatcher } from 'oak-domain/lib/types/Watcher';
|
|||
import { getCosBackend } from '../utils/cos/index.backend';
|
||||
import { generateNewIdAsync } from 'oak-domain/lib/utils/uuid';
|
||||
import { groupBy } from 'oak-domain/lib/utils/lodash';
|
||||
import { extraFileProjection } from '../types/Projection';
|
||||
import applicationPassport from '../components/applicationPassport';
|
||||
import { applicationProjection, extraFileProjection } from '../types/Projection';
|
||||
|
||||
async function checkWhetherSuccess(context: BackendRuntimeContext<EntityDict>, applicationId: string, rows: EntityDict['extraFile']['OpSchema'][]) {
|
||||
const successIds: string[] = [];
|
||||
|
|
@ -121,7 +120,7 @@ const watchers: Watcher<
|
|||
projection: {
|
||||
...extraFileProjection,
|
||||
application: {
|
||||
...applicationPassport,
|
||||
...applicationProjection,
|
||||
}
|
||||
},
|
||||
fn: async (context, data) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue