@socotra/ec-react-schemas 2.30.0-next.2 → 2.30.0-next.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/README.md +1 -1
- package/dist/index.d.ts +10 -8
- package/dist/index.es.js +2248 -2263
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -322,7 +322,7 @@ Follow instructions in the `packages/docs/README.md` file to build the documenta
|
|
|
322
322
|
| Zod Schema | Type |
|
|
323
323
|
|------------|------
|
|
324
324
|
| `transactionTypeCategorySchema` | `TransactionTypeCategory` |
|
|
325
|
-
| `
|
|
325
|
+
| `TransactionTypeSchema` | `TransactionType` |
|
|
326
326
|
| `transactionTypesRecordsSchema` | |
|
|
327
327
|
| | `TransactionTypeConfigRecord` |
|
|
328
328
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3343,8 +3343,8 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
3343
3343
|
}>;
|
|
3344
3344
|
costBearing: z.ZodBoolean;
|
|
3345
3345
|
displayHints: z.ZodOptional<z.ZodObject<{
|
|
3346
|
-
displayName: z.ZodString
|
|
3347
|
-
displayOrder: z.
|
|
3346
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3347
|
+
displayOrder: z.ZodOptional<z.ZodInt>;
|
|
3348
3348
|
}, z.core.$strip>>;
|
|
3349
3349
|
}, z.core.$strip>>>;
|
|
3350
3350
|
reversalTypes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14169,10 +14169,11 @@ export declare const transactionStateEnumSchema: z.ZodEnum<{
|
|
|
14169
14169
|
reversed: "reversed";
|
|
14170
14170
|
}>;
|
|
14171
14171
|
|
|
14172
|
-
export declare type TransactionType = z.infer<typeof
|
|
14172
|
+
export declare type TransactionType = z.infer<typeof TransactionTypeSchema>;
|
|
14173
14173
|
|
|
14174
14174
|
export declare type TransactionTypeCategory = z.infer<typeof transactionTypeCategorySchema>;
|
|
14175
14175
|
|
|
14176
|
+
/** Config-layer name; same shape as codegen `transactionTypeRefSchema.shape.category`. */
|
|
14176
14177
|
export declare const transactionTypeCategorySchema: z.ZodEnum<{
|
|
14177
14178
|
issuance: "issuance";
|
|
14178
14179
|
change: "change";
|
|
@@ -14185,7 +14186,8 @@ export declare const transactionTypeCategorySchema: z.ZodEnum<{
|
|
|
14185
14186
|
|
|
14186
14187
|
export declare type TransactionTypeConfigRecord = z.infer<typeof transactionTypesRecordsSchema>;
|
|
14187
14188
|
|
|
14188
|
-
|
|
14189
|
+
/** Config-layer name; same shape as codegen `transactionTypeRefSchema`. */
|
|
14190
|
+
export declare const TransactionTypeSchema: z.ZodObject<{
|
|
14189
14191
|
category: z.ZodEnum<{
|
|
14190
14192
|
issuance: "issuance";
|
|
14191
14193
|
change: "change";
|
|
@@ -14197,8 +14199,8 @@ export declare const transactionTypeSchema: z.ZodObject<{
|
|
|
14197
14199
|
}>;
|
|
14198
14200
|
costBearing: z.ZodBoolean;
|
|
14199
14201
|
displayHints: z.ZodOptional<z.ZodObject<{
|
|
14200
|
-
displayName: z.ZodString
|
|
14201
|
-
displayOrder: z.
|
|
14202
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
14203
|
+
displayOrder: z.ZodOptional<z.ZodInt>;
|
|
14202
14204
|
}, z.core.$strip>>;
|
|
14203
14205
|
}, z.core.$strip>;
|
|
14204
14206
|
|
|
@@ -14214,8 +14216,8 @@ export declare const transactionTypesRecordsSchema: z.ZodRecord<z.ZodString, z.Z
|
|
|
14214
14216
|
}>;
|
|
14215
14217
|
costBearing: z.ZodBoolean;
|
|
14216
14218
|
displayHints: z.ZodOptional<z.ZodObject<{
|
|
14217
|
-
displayName: z.ZodString
|
|
14218
|
-
displayOrder: z.
|
|
14219
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
14220
|
+
displayOrder: z.ZodOptional<z.ZodInt>;
|
|
14219
14221
|
}, z.core.$strip>>;
|
|
14220
14222
|
}, z.core.$strip>>;
|
|
14221
14223
|
|