add resId to cache DoricResource on native
This commit is contained in:
@@ -2145,11 +2145,13 @@ var __extends$f = (undefined && undefined.__extends) || (function () {
|
||||
})();
|
||||
var Resource = /** @class */ (function () {
|
||||
function Resource(type, identifier) {
|
||||
this.resId = uniqueId("resource");
|
||||
this.type = type;
|
||||
this.identifier = identifier;
|
||||
}
|
||||
Resource.prototype.toModel = function () {
|
||||
return {
|
||||
resId: this.resId,
|
||||
type: this.type,
|
||||
identifier: this.identifier,
|
||||
};
|
||||
|
@@ -1610,11 +1610,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,
|
||||
};
|
||||
|
@@ -3138,11 +3138,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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user