File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 GetCommand ,
66 QueryCommand ,
77} from "@aws-sdk/lib-dynamodb" ;
8+ import z from "zod" ;
89import {
910 LETTERQUEUE_TABLENAME ,
1011 LETTERSTABLENAME ,
@@ -13,7 +14,6 @@ import {
1314} from "../constants/api-constants" ;
1415import { createSupplierData , runCreateLetter } from "./pnpm-helpers" ;
1516import { logger } from "./pino-logger" ;
16- import z from "zod" ;
1717
1818const ddb = new DynamoDBClient ( { } ) ;
1919const docClient = DynamoDBDocumentClient . from ( ddb ) ;
@@ -24,7 +24,7 @@ export const PendingLetterSchema = z.object({
2424 queueTimestamp : z . string ( ) ,
2525 visibilityTimestamp : z . string ( ) ,
2626 queueSortOrderSk : z . string ( ) . describe ( "Secondary index SK" ) ,
27- priority : z . int ( ) . min ( 0 ) . max ( 99 ) . optional ( ) ,
27+ priority : z . int ( ) . min ( 0 ) . max ( 99 ) . optional ( ) ,
2828} ) ;
2929export type PendingLetter = z . infer < typeof PendingLetterSchema > ;
3030
You can’t perform that action at this time.
0 commit comments