roboto-js 1.4.29 → 1.4.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/rbt_object.cjs +10 -0
- package/dist/esm/rbt_object.js +8 -0
- package/package.json +1 -1
- package/src/rbt_object.js +10 -0
package/dist/cjs/rbt_object.cjs
CHANGED
|
@@ -177,6 +177,16 @@ var RbtObject = exports["default"] = /*#__PURE__*/function () {
|
|
|
177
177
|
// }
|
|
178
178
|
// });
|
|
179
179
|
// }
|
|
180
|
+
}, {
|
|
181
|
+
key: "getMetaData",
|
|
182
|
+
value: function getMetaData() {
|
|
183
|
+
var meta = {
|
|
184
|
+
timeCreated: this.timeCreated,
|
|
185
|
+
timeModified: this.timeModified,
|
|
186
|
+
timeDeleted: this.timeDeleted,
|
|
187
|
+
revision: this.revision
|
|
188
|
+
};
|
|
189
|
+
}
|
|
180
190
|
}, {
|
|
181
191
|
key: "toRecord",
|
|
182
192
|
value: function toRecord() {
|
package/dist/esm/rbt_object.js
CHANGED
|
@@ -139,6 +139,14 @@ export default class RbtObject {
|
|
|
139
139
|
// });
|
|
140
140
|
// }
|
|
141
141
|
|
|
142
|
+
getMetaData() {
|
|
143
|
+
let meta = {
|
|
144
|
+
timeCreated: this.timeCreated,
|
|
145
|
+
timeModified: this.timeModified,
|
|
146
|
+
timeDeleted: this.timeDeleted,
|
|
147
|
+
revision: this.revision
|
|
148
|
+
};
|
|
149
|
+
}
|
|
142
150
|
toRecord() {
|
|
143
151
|
return {
|
|
144
152
|
...this._internalData,
|
package/package.json
CHANGED
package/src/rbt_object.js
CHANGED
|
@@ -151,6 +151,16 @@ export default class RbtObject {
|
|
|
151
151
|
// });
|
|
152
152
|
// }
|
|
153
153
|
|
|
154
|
+
getMetaData() {
|
|
155
|
+
|
|
156
|
+
let meta = {
|
|
157
|
+
timeCreated: this.timeCreated,
|
|
158
|
+
timeModified: this.timeModified,
|
|
159
|
+
timeDeleted: this.timeDeleted,
|
|
160
|
+
revision: this.revision
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
154
164
|
toRecord() {
|
|
155
165
|
return {
|
|
156
166
|
...this._internalData,
|