add resId to cache DoricResource on native
This commit is contained in:
2
doric-web/dist/index.js
vendored
2
doric-web/dist/index.js
vendored
@@ -3212,11 +3212,13 @@ function text(config) {
|
||||
|
||||
class Resource {
|
||||
constructor(type, identifier) {
|
||||
this.resId = uniqueId("resource");
|
||||
this.type = type;
|
||||
this.identifier = identifier;
|
||||
}
|
||||
toModel() {
|
||||
return {
|
||||
resId: this.resId,
|
||||
type: this.type,
|
||||
identifier: this.identifier,
|
||||
};
|
||||
|
9
doric-web/dist/index.js.map
vendored
9
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user