@zenstackhq/sdk 3.10.2 → 3.10.4

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 CHANGED
@@ -566,7 +566,7 @@ var PrismaSchemaGenerator = class {
566
566
  const dataSource = this.zmodel.declarations.find(_zenstackhq_language_ast.isDataSource);
567
567
  if (dataSource) attrName = attrName.replace("@db", `@${dataSource.name}`);
568
568
  }
569
- return new FieldAttribute(attrName, attr.args.map((arg) => this.makeAttributeArg(arg)));
569
+ return new FieldAttribute(attrName, attr.args.filter((arg) => !(attrName === "@updatedAt" && arg.$resolvedParam?.name === "ignore")).map((arg) => this.makeAttributeArg(arg)));
570
570
  }
571
571
  makeAttributeArg(arg) {
572
572
  return new AttributeArg$2(arg.name, this.makeAttributeArgValue(arg.value));