registry/backend/yjs/Register.yjs
PhiTer9426 398869c9a6 init
2022-05-02 23:12:25 +08:00

17 lines
562 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import "User.yjs";
import "metaDetail.yjs";
oracle Register{
@ArgSchema({"!doId":"string","offset":"number","count":"number"})
export function retrieve(){
//executeContract去拿到Repo的原始结果
//根据request进行判断找到对应的rule
//将原始结果与rule做一个映射得到转换后的结果
//返回转换后的结果。
return Transform.trans(abc);
}
function onCreate(arg){
Global.registerID = arg.registerID;
org.bdware.sc.registry.RegistryDB.init(arg, requester);
}
}