File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1- import { LetterRepository } from "../../../../../ internal/datastore/src/letter-repository" ;
2- import { LetterStatusType } from "../../../../../ internal/datastore/src/types " ;
1+ import { LetterRepository } from "@ internal/datastore/src/letter-repository" ;
2+ import { LetterStatusType } from "@ internal/datastore" ;
33import { createLetter , createLetterDto } from "../../helpers/create_letter_helpers" ;
44import { uploadFile } from "../../helpers/s3_helpers" ;
55
Original file line number Diff line number Diff line change 11import { hideBin } from "yargs/helpers" ;
22import yargs from "yargs/yargs" ;
3- import {
4- LetterStatusType ,
5- } from "../../../../internal/datastore/src/types" ;
3+ import { LetterStatusType } from "@internal/datastore/src/types" ;
64import { randomUUID } from "crypto" ;
75import { createLetter , createLetterDto } from "../helpers/create_letter_helpers" ;
86import { createLetterRepository } from "../infrastructure/letter-repo-factory" ;
97import { uploadFile } from "../helpers/s3_helpers" ;
10- import { Console } from "console" ;
118
129async function main ( ) {
1310 await yargs ( hideBin ( process . argv ) )
Original file line number Diff line number Diff line change 11import { DynamoDBClient } from '@aws-sdk/client-dynamodb' ;
22import { DynamoDBDocumentClient } from '@aws-sdk/lib-dynamodb' ;
33import pino from 'pino' ;
4- import { LetterRepository } from '../../../../ internal/datastore' ;
4+ import { LetterRepository } from '@ internal/datastore' ;
55
66export function createLetterRepository ( environment : string , ttlHours :number ) : LetterRepository {
77 const ddbClient = new DynamoDBClient ( { } ) ;
You can’t perform that action at this time.
0 commit comments