Skip to content

Commit

Permalink
Update snapshot for test
Browse files Browse the repository at this point in the history
  • Loading branch information
nalanj committed Feb 7, 2025
1 parent 254fc44 commit 4c46077
Showing 1 changed file with 24 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ interface JwtCredentials {
type: AuthModes['Jwt'];
privateKeyId?: string;
issuerId?: string;
privateKey:{
privateKey: {
id: string;
secret: string;
} | string;
Expand Down Expand Up @@ -275,15 +275,15 @@ export interface NangoProps {
track_deletes?: boolean;
attributes?: object | undefined;
logMessages?:
| {
counts: {
updated: number;
added: number;
deleted: number;
};
messages: unknown[];
}
| undefined;
| {
counts: {
updated: number;
added: number;
deleted: number;
};
messages: unknown[];
}
| undefined;
rawSaveOutput?: Map<string, unknown[]> | undefined;
rawDeleteOutput?: Map<string, unknown[]> | undefined;
stubbedMetadata?: Metadata | undefined;
Expand Down Expand Up @@ -378,12 +378,12 @@ export declare class NangoAction {
message: any,
options?:
| {
level?: LogLevel;
}
level?: LogLevel;
}
| {
[key: string]: any;
level?: never;
}
[key: string]: any;
level?: never;
}
): Promise<void>;
log(
message: string,
Expand All @@ -407,13 +407,13 @@ export declare class NangoSync extends NangoAction {
track_deletes: boolean;
logMessages?:
| {
counts: {
updated: number;
added: number;
deleted: number;
};
messages: unknown[];
}
counts: {
updated: number;
added: number;
deleted: number;
};
messages: unknown[];
}
| undefined;
rawSaveOutput?: Map<string, unknown[]>;
rawDeleteOutput?: Map<string, unknown[]>;
Expand All @@ -429,6 +429,7 @@ export declare class NangoSync extends NangoAction {
batchUpdate<T = any>(results: T[], model: string): Promise<boolean | null>;
getMetadata<T = Metadata>(): Promise<T>;
setMergingStrategy(merging: { strategy: 'ignore_if_modified_after' | 'override' }, model: string): Promise<void>;
getObjectsByIds<K = any, T = any>(ids: K[], model: string): Promise<Map<K, T>>;
}
/**
* @internal
Expand All @@ -437,7 +438,7 @@ export declare class NangoSync extends NangoAction {
* It has been split from the actual code to avoid making the code too dirty and to easily enable/disable tracing if there is an issue with it
*/
export declare function instrumentSDK(rawNango: NangoAction | NangoSync): NangoAction | NangoSync;
export {};
export { };
Expand Down

0 comments on commit 4c46077

Please sign in to comment.