@objectstack/metadata 9.2.0 → 9.4.0
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/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/node.cjs +4 -0
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +4 -0
- package/dist/node.js.map +1 -1
- package/package.json +7 -7
package/dist/node.cjs
CHANGED
|
@@ -3230,6 +3230,7 @@ var ARTIFACT_FIELD_TO_TYPE = {
|
|
|
3230
3230
|
analyticsCubes: "analytics_cube",
|
|
3231
3231
|
connectors: "connector",
|
|
3232
3232
|
emailTemplates: "email_template",
|
|
3233
|
+
docs: "doc",
|
|
3233
3234
|
data: "dataset"
|
|
3234
3235
|
};
|
|
3235
3236
|
var MetadataPlugin = class {
|
|
@@ -3609,6 +3610,9 @@ var MetadataPlugin = class {
|
|
|
3609
3610
|
for (const item of items) {
|
|
3610
3611
|
const meta = item;
|
|
3611
3612
|
if (meta?.name) {
|
|
3613
|
+
(0, import_shared.applyProtection)(meta, {
|
|
3614
|
+
packageId: this.options.packageId
|
|
3615
|
+
});
|
|
3612
3616
|
await this.manager.register(entry.type, meta.name, item);
|
|
3613
3617
|
}
|
|
3614
3618
|
}
|