@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/index.cjs
CHANGED
|
@@ -3228,6 +3228,7 @@ var ARTIFACT_FIELD_TO_TYPE = {
|
|
|
3228
3228
|
analyticsCubes: "analytics_cube",
|
|
3229
3229
|
connectors: "connector",
|
|
3230
3230
|
emailTemplates: "email_template",
|
|
3231
|
+
docs: "doc",
|
|
3231
3232
|
data: "dataset"
|
|
3232
3233
|
};
|
|
3233
3234
|
var MetadataPlugin = class {
|
|
@@ -3607,6 +3608,9 @@ var MetadataPlugin = class {
|
|
|
3607
3608
|
for (const item of items) {
|
|
3608
3609
|
const meta = item;
|
|
3609
3610
|
if (meta?.name) {
|
|
3611
|
+
(0, import_shared.applyProtection)(meta, {
|
|
3612
|
+
packageId: this.options.packageId
|
|
3613
|
+
});
|
|
3610
3614
|
await this.manager.register(entry.type, meta.name, item);
|
|
3611
3615
|
}
|
|
3612
3616
|
}
|