@zenstackhq/sdk 3.6.4 → 3.7.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 CHANGED
@@ -786,6 +786,8 @@ var TsSchemaGenerator = class {
786
786
  objectFields.push(typescript.factory.createPropertyAssignment("updatedAt", ignoreArg ? this.createUpdatedAtObject(ignoreArg) : typescript.factory.createTrue()));
787
787
  }
788
788
  if (hasAttribute(field, "@omit")) objectFields.push(typescript.factory.createPropertyAssignment("omit", typescript.factory.createTrue()));
789
+ if (hasAttribute(field, "@fuzzy")) objectFields.push(typescript.factory.createPropertyAssignment("fuzzy", typescript.factory.createTrue()));
790
+ if (hasAttribute(field, "@fullText")) objectFields.push(typescript.factory.createPropertyAssignment("fullText", typescript.factory.createTrue()));
789
791
  if (contextModel && !isIdField(field, contextModel)) {
790
792
  const delegateOrigin = getDelegateOriginModel(field, contextModel);
791
793
  if (delegateOrigin) objectFields.push(typescript.factory.createPropertyAssignment("originModel", typescript.factory.createStringLiteral(delegateOrigin)));
@@ -1144,7 +1146,11 @@ var TsSchemaGenerator = class {
1144
1146
  "WhereInput",
1145
1147
  "SelectInput",
1146
1148
  "IncludeInput",
1147
- "OmitInput"
1149
+ "OmitInput",
1150
+ "UncheckedCreateInput",
1151
+ "CheckedCreateInput",
1152
+ "UncheckedUpdateInput",
1153
+ "CheckedUpdateInput"
1148
1154
  ];
1149
1155
  const inputTypeNameFixes = {
1150
1156
  SelectInput: "Select",