编译新的oak-domain

This commit is contained in:
Xu Chang 2022-08-27 17:12:10 +08:00
parent cf735d2cd8
commit 05a70d6a48
9 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -64,6 +64,7 @@ declare type AttrFilter<E> = {
extra1: Q_StringValue;
extension: Q_StringValue;
size: Q_NumberValue;
user: User.Filter;
};
export declare type Filter<E = Q_EnumValue<"user" | string>> = MakeFilter<AttrFilter<E> & ExprOp<OpAttr | string>>;
export declare type Projection = {

View File

@ -10,6 +10,7 @@ export declare type OpSchema = {
$$createAt$$: Datetime;
$$updateAt$$: Datetime;
$$deleteAt$$?: Datetime | null;
targetEntity: String<32>;
entity: String<32>;
entityId: String<64>;
action: String<16>;
@ -24,6 +25,7 @@ export declare type Schema = {
$$createAt$$: Datetime;
$$updateAt$$: Datetime;
$$deleteAt$$?: Datetime | null;
targetEntity: String<32>;
entity: String<32>;
entityId: String<64>;
action: String<16>;
@ -39,6 +41,7 @@ declare type AttrFilter = {
id: Q_StringValue | SubQuery.ModiIdSubQuery;
$$createAt$$: Q_DateValue;
$$updateAt$$: Q_DateValue;
targetEntity: Q_StringValue;
entity: Q_StringValue;
entityId: Q_StringValue;
action: Q_StringValue;
@ -51,6 +54,7 @@ export declare type Projection = {
id: 1;
$$createAt$$?: 1;
$$updateAt$$?: 1;
targetEntity?: 1;
entity?: 1;
entityId?: 1;
action?: 1;
@ -68,6 +72,7 @@ export declare type ExportProjection = {
id?: string;
$$createAt$$?: string;
$$updateAt$$?: string;
targetEntity?: string;
entity?: string;
entityId?: string;
action?: string;
@ -88,6 +93,8 @@ export declare type SortAttr = {
$$createAt$$: 1;
} | {
$$updateAt$$: 1;
} | {
targetEntity: 1;
} | {
entity: 1;
} | {

View File

@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.desc = void 0;
exports.desc = {
attributes: {
targetEntity: {
type: "varchar",
params: {
length: 32
}
},
entity: {
type: "varchar",
params: {

View File

@ -1 +1 @@
{ "attr": { "entity": "关联对象", "entityId": "关联对象Id", "action": "动作", "data": "数据", "filter": "条件", "extra": "其它", "iState": "状态" }, "action": { "abandon": "放弃", "apply": "应用" }, "v": { "iState": { "active": "活跃的", "abandoned": "放弃的", "applied": "应用的" } } }
{ "attr": { "targetEntity": "目标对象", "entity": "关联对象", "entityId": "关联对象Id", "action": "动作", "data": "数据", "filter": "条件", "extra": "其它", "iState": "状态" }, "action": { "abandon": "放弃", "apply": "应用" }, "v": { "iState": { "active": "活跃的", "abandoned": "放弃的", "applied": "应用的" } } }

View File

@ -43,6 +43,10 @@ declare type AttrFilter<E> = {
modi: Modi.Filter;
entity: E;
entityId: Q_StringValue;
user: User.Filter;
userEntityGrant: UserEntityGrant.Filter;
wechatQrCode: WechatQrCode.Filter;
wechatUser: WechatUser.Filter;
};
export declare type Filter<E = Q_EnumValue<"user" | "userEntityGrant" | "wechatQrCode" | "wechatUser" | string>> = MakeFilter<AttrFilter<E> & ExprOp<OpAttr | string>>;
export declare type Projection = {

View File

@ -43,6 +43,10 @@ declare type AttrFilter<E> = {
oper: Oper.Filter;
entity: E;
entityId: Q_StringValue;
user: User.Filter;
userEntityGrant: UserEntityGrant.Filter;
wechatQrCode: WechatQrCode.Filter;
wechatUser: WechatUser.Filter;
};
export declare type Filter<E = Q_EnumValue<"user" | "userEntityGrant" | "wechatQrCode" | "wechatUser" | string>> = MakeFilter<AttrFilter<E> & ExprOp<OpAttr | string>>;
export declare type Projection = {

View File

@ -96,6 +96,9 @@ declare type AttrFilter<E> = {
player: User.Filter;
env: Q_EnumValue<Environment>;
ableState: Q_EnumValue<AbleState>;
email: Email.Filter;
mobile: Mobile.Filter;
wechatUser: WechatUser.Filter;
};
export declare type Filter<E = Q_EnumValue<"email" | "mobile" | "wechatUser" | string>> = MakeFilter<AttrFilter<E> & ExprOp<OpAttr | string>>;
export declare type Projection = {

View File

@ -76,6 +76,7 @@ declare type AttrFilter<E> = {
applicationId: Q_StringValue | SubQuery.ApplicationIdSubQuery;
application: Application.Filter;
props: Q_EnumValue<WechatQrCodeProps>;
userEntityGrant: UserEntityGrant.Filter;
};
export declare type Filter<E = Q_EnumValue<"userEntityGrant" | string>> = MakeFilter<AttrFilter<E> & ExprOp<OpAttr | string>>;
export declare type Projection = {