@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 +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -752,6 +752,8 @@ var TsSchemaGenerator = class {
|
|
|
752
752
|
objectFields.push(ts.factory.createPropertyAssignment("updatedAt", ignoreArg ? this.createUpdatedAtObject(ignoreArg) : ts.factory.createTrue()));
|
|
753
753
|
}
|
|
754
754
|
if (hasAttribute(field, "@omit")) objectFields.push(ts.factory.createPropertyAssignment("omit", ts.factory.createTrue()));
|
|
755
|
+
if (hasAttribute(field, "@fuzzy")) objectFields.push(ts.factory.createPropertyAssignment("fuzzy", ts.factory.createTrue()));
|
|
756
|
+
if (hasAttribute(field, "@fullText")) objectFields.push(ts.factory.createPropertyAssignment("fullText", ts.factory.createTrue()));
|
|
755
757
|
if (contextModel && !isIdField(field, contextModel)) {
|
|
756
758
|
const delegateOrigin = getDelegateOriginModel(field, contextModel);
|
|
757
759
|
if (delegateOrigin) objectFields.push(ts.factory.createPropertyAssignment("originModel", ts.factory.createStringLiteral(delegateOrigin)));
|
|
@@ -1110,7 +1112,11 @@ var TsSchemaGenerator = class {
|
|
|
1110
1112
|
"WhereInput",
|
|
1111
1113
|
"SelectInput",
|
|
1112
1114
|
"IncludeInput",
|
|
1113
|
-
"OmitInput"
|
|
1115
|
+
"OmitInput",
|
|
1116
|
+
"UncheckedCreateInput",
|
|
1117
|
+
"CheckedCreateInput",
|
|
1118
|
+
"UncheckedUpdateInput",
|
|
1119
|
+
"CheckedUpdateInput"
|
|
1114
1120
|
];
|
|
1115
1121
|
const inputTypeNameFixes = {
|
|
1116
1122
|
SelectInput: "Select",
|