@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/node.js CHANGED
@@ -3190,6 +3190,7 @@ var ARTIFACT_FIELD_TO_TYPE = {
3190
3190
  analyticsCubes: "analytics_cube",
3191
3191
  connectors: "connector",
3192
3192
  emailTemplates: "email_template",
3193
+ docs: "doc",
3193
3194
  data: "dataset"
3194
3195
  };
3195
3196
  var MetadataPlugin = class {
@@ -3569,6 +3570,9 @@ var MetadataPlugin = class {
3569
3570
  for (const item of items) {
3570
3571
  const meta = item;
3571
3572
  if (meta?.name) {
3573
+ applyProtection(meta, {
3574
+ packageId: this.options.packageId
3575
+ });
3572
3576
  await this.manager.register(entry.type, meta.name, item);
3573
3577
  }
3574
3578
  }