fix
This commit is contained in:
parent
17faf4bc26
commit
b113760f34
|
|
@ -9,7 +9,7 @@ export interface Schema extends EntityShape {
|
|||
entity: String<32>;
|
||||
entityId: String<64>;
|
||||
name: String<32>;
|
||||
description: Text;
|
||||
config: WechatPublicConfig;
|
||||
offset: Int<4>;
|
||||
description?: Text;
|
||||
config?: WechatPublicConfig;
|
||||
offset?: Int<4>;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,18 +13,18 @@ export declare type OpSchema = EntityShape & {
|
|||
entity: String<32>;
|
||||
entityId: String<64>;
|
||||
name: String<32>;
|
||||
description: Text;
|
||||
config: WechatPublicConfig;
|
||||
offset: Int<4>;
|
||||
description?: Text | null;
|
||||
config?: WechatPublicConfig | null;
|
||||
offset?: Int<4> | null;
|
||||
};
|
||||
export declare type OpAttr = keyof OpSchema;
|
||||
export declare type Schema = EntityShape & {
|
||||
entity: String<32>;
|
||||
entityId: String<64>;
|
||||
name: String<32>;
|
||||
description: Text;
|
||||
config: WechatPublicConfig;
|
||||
offset: Int<4>;
|
||||
description?: Text | null;
|
||||
config?: WechatPublicConfig | null;
|
||||
offset?: Int<4> | null;
|
||||
} & {
|
||||
[A in ExpressionKey]?: any;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,15 +26,12 @@ exports.desc = {
|
|||
}
|
||||
},
|
||||
description: {
|
||||
notNull: true,
|
||||
type: "text"
|
||||
},
|
||||
config: {
|
||||
notNull: true,
|
||||
type: "object"
|
||||
},
|
||||
offset: {
|
||||
notNull: true,
|
||||
type: "int",
|
||||
params: {
|
||||
width: 4,
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ export interface Schema extends EntityShape {
|
|||
entity: String<32>;
|
||||
entityId: String<64>;
|
||||
name: String<32>;
|
||||
description: Text;
|
||||
config: WechatPublicConfig;
|
||||
offset: Int<4>;
|
||||
description?: Text;
|
||||
config?: WechatPublicConfig;
|
||||
offset?: Int<4>;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue