@astrojs/db 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ export declare const MISSING_SESSION_ID_ERROR: string;
2
+ export declare const MISSING_PROJECT_ID_ERROR: string;
3
+ export declare const MISSING_EXECUTE_PATH_ERROR: string;
4
+ export declare const RENAME_TABLE_ERROR: (oldTable: string, newTable: string) => string;
5
+ export declare const RENAME_COLUMN_ERROR: (oldSelector: string, newSelector: string) => string;
6
+ export declare const FILE_NOT_FOUND_ERROR: (path: string) => string;
7
+ export declare const SHELL_QUERY_MISSING_ERROR: string;
8
+ export declare const SEED_ERROR: (error: string) => string;
9
+ export declare const SEED_DEFAULT_EXPORT_ERROR: (fileName: string) => string;
10
+ export declare const REFERENCE_DNE_ERROR: (columnName: string) => string;
11
+ export declare const FOREIGN_KEY_DNE_ERROR: (tableName: string) => string;
12
+ export declare const FOREIGN_KEY_REFERENCES_LENGTH_ERROR: (tableName: string) => string;
13
+ export declare const FOREIGN_KEY_REFERENCES_EMPTY_ERROR: (tableName: string) => string;
14
+ export declare const INTEGRATION_TABLE_CONFLICT_ERROR: (integrationName: string, tableName: string, isUserConflict: boolean) => string;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This is a modified version of Astro's error map. source:
3
+ * https://github.com/withastro/astro/blob/main/packages/astro/src/content/error-map.ts
4
+ */
5
+ import type { z } from 'astro/zod';
6
+ export declare const errorMap: z.ZodErrorMap;