oak-memory-tree-store/test/app-domain/UserSystem/Storage.ts

19 lines
399 B
TypeScript

import { StorageDesc } from "oak-domain/src/types/Storage";
export const desc: StorageDesc = {
attributes: {
user: {
type: "ref",
ref: "user"
},
system: {
type: "ref",
ref: "system"
},
relation: {
type: "varchar",
params: {
length: 16
}
}
}
};