6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
import {IHasteFS} from 'jest-haste-map';
|
|
import default_2, {ResolveModuleConfig} from 'jest-resolve';
|
|
import {SnapshotResolver} from 'jest-snapshot';
|
|
|
|
/**
|
|
* DependencyResolver is used to resolve the direct dependencies of a module or
|
|
* to retrieve a list of all transitive inverse dependencies.
|
|
*/
|
|
export declare class DependencyResolver {
|
|
private readonly _hasteFS;
|
|
private readonly _resolver;
|
|
private readonly _snapshotResolver;
|
|
constructor(
|
|
resolver: default_2,
|
|
hasteFS: IHasteFS,
|
|
snapshotResolver: SnapshotResolver,
|
|
);
|
|
resolve(file: string, options?: ResolveModuleConfig): Array<string>;
|
|
resolveInverseModuleMap(
|
|
paths: Set<string>,
|
|
filter: (file: string) => boolean,
|
|
options?: ResolveModuleConfig,
|
|
): Array<ResolvedModule>;
|
|
resolveInverse(
|
|
paths: Set<string>,
|
|
filter: (file: string) => boolean,
|
|
options?: ResolveModuleConfig,
|
|
): Array<string>;
|
|
}
|
|
|
|
export declare type ResolvedModule = {
|
|
file: string;
|
|
dependencies: Array<string>;
|
|
};
|