mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-15 07:04:01 -06:00
29 lines
703 B
TypeScript
29 lines
703 B
TypeScript
#!/usr/bin/env node
|
|
export function collectDatabaseFirstLegacyStoreSourceFiles(
|
|
sourceRoots: string[],
|
|
): Promise<string[]>;
|
|
/**
|
|
* Finds database-first legacy-store violations in one native Swift source file.
|
|
*/
|
|
export function collectDatabaseFirstNativeLegacyStoreViolations(
|
|
content: string,
|
|
relativePath: string,
|
|
): {
|
|
kind: string;
|
|
line: number;
|
|
}[];
|
|
/**
|
|
* Finds database-first legacy-store violations in one TypeScript/JavaScript source file.
|
|
*/
|
|
export function collectDatabaseFirstLegacyStoreViolations(
|
|
content: string,
|
|
relativePath?: string,
|
|
): {
|
|
kind: string;
|
|
line: number;
|
|
}[];
|
|
/**
|
|
* Runs the database-first legacy-store guard.
|
|
*/
|
|
export function main(): Promise<void>;
|