braid-ui 1.0.58 → 1.0.59
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1003,7 +1003,7 @@ interface NewTransactionFormValues {
|
|
|
1003
1003
|
accountNumber: string;
|
|
1004
1004
|
counterpartyName?: string;
|
|
1005
1005
|
amount: string;
|
|
1006
|
-
description
|
|
1006
|
+
description: string;
|
|
1007
1007
|
certifyInformation: boolean;
|
|
1008
1008
|
adjustmentDirection?: string;
|
|
1009
1009
|
adjustmentType?: string;
|
|
@@ -1805,7 +1805,7 @@ declare const newTransactionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zod
|
|
|
1805
1805
|
accountNumber: z.ZodString;
|
|
1806
1806
|
counterpartyName: z.ZodOptional<z.ZodString>;
|
|
1807
1807
|
amount: z.ZodString;
|
|
1808
|
-
description: z.
|
|
1808
|
+
description: z.ZodString;
|
|
1809
1809
|
certifyInformation: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
|
|
1810
1810
|
adjustmentDirection: z.ZodOptional<z.ZodString>;
|
|
1811
1811
|
adjustmentType: z.ZodOptional<z.ZodString>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1003,7 +1003,7 @@ interface NewTransactionFormValues {
|
|
|
1003
1003
|
accountNumber: string;
|
|
1004
1004
|
counterpartyName?: string;
|
|
1005
1005
|
amount: string;
|
|
1006
|
-
description
|
|
1006
|
+
description: string;
|
|
1007
1007
|
certifyInformation: boolean;
|
|
1008
1008
|
adjustmentDirection?: string;
|
|
1009
1009
|
adjustmentType?: string;
|
|
@@ -1805,7 +1805,7 @@ declare const newTransactionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zod
|
|
|
1805
1805
|
accountNumber: z.ZodString;
|
|
1806
1806
|
counterpartyName: z.ZodOptional<z.ZodString>;
|
|
1807
1807
|
amount: z.ZodString;
|
|
1808
|
-
description: z.
|
|
1808
|
+
description: z.ZodString;
|
|
1809
1809
|
certifyInformation: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
|
|
1810
1810
|
adjustmentDirection: z.ZodOptional<z.ZodString>;
|
|
1811
1811
|
adjustmentType: z.ZodOptional<z.ZodString>;
|
package/dist/index.js
CHANGED
|
@@ -8779,7 +8779,7 @@ var NewTransactionView = ({
|
|
|
8779
8779
|
FormInput,
|
|
8780
8780
|
{
|
|
8781
8781
|
name: "description",
|
|
8782
|
-
label: "Description
|
|
8782
|
+
label: "Description",
|
|
8783
8783
|
placeholder: "Enter transaction description",
|
|
8784
8784
|
disabled: requiresCounterparty ? !counterpartyLookedUp : isTransfer ? !receiverAccountLookedUp : !transactionType
|
|
8785
8785
|
}
|
|
@@ -14348,7 +14348,7 @@ var newTransactionSchema = z.object({
|
|
|
14348
14348
|
accountNumber: z.string().min(1, "Account number is required"),
|
|
14349
14349
|
counterpartyName: z.string().optional(),
|
|
14350
14350
|
amount: z.string().min(1, "Amount is required"),
|
|
14351
|
-
description: z.string().
|
|
14351
|
+
description: z.string().min(1, "Description is required"),
|
|
14352
14352
|
certifyInformation: z.boolean().refine((val) => val === true, {
|
|
14353
14353
|
message: "You must certify the information is correct"
|
|
14354
14354
|
}),
|