longcelot-sheet-db
Version:
Google Sheets-backed staging database adapter for Node.js with schema-first design
13 lines • 754 B
TypeScript
/**
* Adds any of `entries` missing from the project's `.gitignore` (creating the file if absent).
* `lsdb init` writes `.env` (OAuth client secret) and, after the first `lsdb sync`,
* `.lsdb-tokens.json` (a Google refresh_token) into the project root — with no `.gitignore`
* covering them, a routine `git add .` commits both secrets straight into history. Additive and
* idempotent: existing `.gitignore` content, ordering, and comments are left untouched, and
* entries already present (exact line match) are skipped rather than duplicated.
*/
export declare function ensureGitignoreEntries(entries: string[]): void;
export declare function initCommand(options: {
integrate?: boolean;
}): Promise<void>;
//# sourceMappingURL=init.d.ts.map