File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,22 @@ export type ArcDB<Tables> = ArcDBWith<Tables> & {
7575// Permissive by default: allows any table, any inputs, any outputs.
7676type AnyTables = Record < string , any > ;
7777
78- export interface ArcTables {
79- < Tables = AnyTables > ( ) : Promise < ArcDB < Tables > > ;
78+ type TablesOptions = {
79+ awsjsonMarshall ?: {
80+ allowImpreciseNumbers ?: boolean ,
81+ convertClassInstanceToMap ?: boolean ,
82+ convertEmptyValues ?: boolean ,
83+ convertTopLevelContainer ?: boolean ,
84+ removeUndefinedValues ?: boolean
85+ } ,
86+ awsjsonUnmarshall ?: {
87+ convertWithoutMapWrapper ?: boolean ,
88+ wrapNumbers ?: boolean | ( ( value :string ) => number | bigint | any )
89+ }
90+ } ;
91+
92+ export interface ArcTables {
93+ < Tables = AnyTables > ( options ?: TablesOptions ) : Promise < ArcDB < Tables > > ;
8094
8195 // legacy methods
8296 insert : any ;
You can’t perform that action at this time.
0 commit comments