Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gxkl committed Apr 9, 2024
1 parent bc6f0d5 commit af9255c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
1 change: 0 additions & 1 deletion core/orm-decorator/src/decorator/Attribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { AttributeOptions, EggProtoImplClass } from '@eggjs/tegg-types';
import { ModelInfoUtil } from '../util/ModelInfoUtil';



export function Attribute(dataType: string, options?: AttributeOptions) {
return function(target: any, propertyKey: PropertyKey) {
const clazz = target.constructor as EggProtoImplClass;
Expand Down
2 changes: 1 addition & 1 deletion core/runtime/src/factory/EggObjectFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {
EggObjectLifeCycleContext,
EggObjectName,
EggPrototype,
EggPrototypeClass
EggPrototypeClass,
} from '@eggjs/tegg-types';
import { LoadUnitFactory } from '@eggjs/tegg-metadata';
import EggObjectImpl from '../impl/EggObjectImpl';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import assert from 'assert';
import assert from 'node:assert';
import { PropagationType } from '@eggjs/tegg-types';
import { TransactionMetadataUtil } from '../../src/util/TransactionMetadataUtil';
import { TransactionMetaBuilder } from '../../src/builder/TransactionMetaBuilder';
import { PropagationType } from '../../src/Common';
import { Foo, Bar, FooBar, BarFoo } from '../fixtures/transaction';
import { Transactional } from '../../src/decorator/Transactional';

Expand Down
9 changes: 7 additions & 2 deletions plugin/dal/test/fixtures/apps/dal-app/modules/dal/Foo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ import {
GeometryCollection,
Index,
IndexType,
Line, MultiLine, MultiPoint, MultiPolygon, Point, Polygon,
IndexStoreType,
Line,
MultiLine,
MultiPoint,
MultiPolygon,
Point,
Polygon,
Table,
} from '@eggjs/dal-decorator';
import { IndexStoreType } from '@eggjs/dal-decorator/src/enum/IndexStoreType';

@Table({
name: 'egg_foo',
Expand Down
9 changes: 7 additions & 2 deletions standalone/standalone/test/fixtures/dal-module/Foo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ import {
GeometryCollection,
Index,
IndexType,
Line, MultiLine, MultiPoint, MultiPolygon, Point, Polygon,
IndexStoreType,
Line,
MultiLine,
MultiPoint,
MultiPolygon,
Point,
Polygon,
Table,
} from '@eggjs/dal-decorator';
import { IndexStoreType } from '@eggjs/dal-decorator/src/enum/IndexStoreType';

@Table({
name: 'egg_foo',
Expand Down

0 comments on commit af9255c

Please sign in to comment.