diff --git a/packages/types/src/misc.ts b/packages/types/src/misc.ts index 8018e61c..fcd7bce6 100644 --- a/packages/types/src/misc.ts +++ b/packages/types/src/misc.ts @@ -4,6 +4,7 @@ export type APIDefinition = { name: string; // Must match name on SmartAPI registry infores?: string; // infores of API primarySource?: boolean; + includeFlipped?: boolean; // Automatically generate flipped MetaEdges (TRAPI only) } & ({ id: string } | { infores: string }); export interface APIList { diff --git a/packages/types/src/trapi.ts b/packages/types/src/trapi.ts index 8e0fc305..af8549a3 100644 --- a/packages/types/src/trapi.ts +++ b/packages/types/src/trapi.ts @@ -67,12 +67,12 @@ export interface TrapiAttribute { value_type_id?: string; attribute_source?: string | null; value_url?: string | null; - attributes?: TrapiAttribute; + attributes?: TrapiAttribute[]; [additionalProperties: string]: | string | string[] | null - | TrapiAttribute + | TrapiAttribute[] | number | number[]; }