@noormdev/sdk 1.5.0 → 1.6.0
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.
|
@@ -97661,5 +97661,5 @@ async function listVaultSecretKeysChecked(gate, db, dialect) {
|
|
|
97661
97661
|
}
|
|
97662
97662
|
|
|
97663
97663
|
export { assertPolicy, assertVaultPolicy, checkConfigPolicy, deleteVaultSecret, deleteVaultSecretChecked, detectAgentHarness, encryptVaultKey, getAllVaultSecrets, getNoormTables, getVaultKey, getVaultKeyChecked, getVaultSecret, getVaultStatus, guarded, initializeVault, initializeVaultChecked, listVaultSecretKeys, listVaultSecretKeysChecked, noormDb, resolveLegacyAccess, setVaultSecret, setVaultSecretChecked, vaultSecretExists };
|
|
97664
|
-
//# sourceMappingURL=chunk-
|
|
97665
|
-
//# sourceMappingURL=chunk-
|
|
97664
|
+
//# sourceMappingURL=chunk-24L5UNQR.js.map
|
|
97665
|
+
//# sourceMappingURL=chunk-24L5UNQR.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1274,7 +1274,7 @@ export interface NoormExecutionsTable {
|
|
|
1274
1274
|
status: ExecutionStatus;
|
|
1275
1275
|
/** Error details (empty = no error) */
|
|
1276
1276
|
error_message: Generated<string>;
|
|
1277
|
-
/** '
|
|
1277
|
+
/** Why a failure left this file unreached, e.g. 'change failed'; older rows may hold 'unchanged' or 'already applied' */
|
|
1278
1278
|
skip_reason: Generated<string>;
|
|
1279
1279
|
/** Execution time (0 = never ran) */
|
|
1280
1280
|
duration_ms: Generated<number>;
|
|
@@ -1957,7 +1957,9 @@ declare class ChangeManager {
|
|
|
1957
1957
|
* List all changes with status.
|
|
1958
1958
|
*
|
|
1959
1959
|
* Merges changes from disk with status from database.
|
|
1960
|
-
* Includes orphaned changes (in DB but not on disk)
|
|
1960
|
+
* Includes orphaned changes (in DB but not on disk), and folders on disk
|
|
1961
|
+
* that cannot be parsed: `failed` with the parse error when they never
|
|
1962
|
+
* ran, otherwise their recorded status.
|
|
1961
1963
|
*
|
|
1962
1964
|
* @returns Array of changes with merged status
|
|
1963
1965
|
*/
|
|
@@ -2585,7 +2587,7 @@ export declare class RunNamespace {
|
|
|
2585
2587
|
*
|
|
2586
2588
|
* @example
|
|
2587
2589
|
* ```typescript
|
|
2588
|
-
* const files = await ctx.noorm.run.discover('sql/')
|
|
2590
|
+
* const files = await ctx.noorm.run.discover('db/sql/')
|
|
2589
2591
|
* ```
|
|
2590
2592
|
*/
|
|
2591
2593
|
discover(dirpath?: string): Promise<string[]>;
|
|
@@ -2594,7 +2596,7 @@ export declare class RunNamespace {
|
|
|
2594
2596
|
*
|
|
2595
2597
|
* @example
|
|
2596
2598
|
* ```typescript
|
|
2597
|
-
* const results = await ctx.noorm.run.preview(['sql/001.sql', 'sql/002.sql'])
|
|
2599
|
+
* const results = await ctx.noorm.run.preview(['db/sql/001.sql', 'db/sql/002.sql'])
|
|
2598
2600
|
* ```
|
|
2599
2601
|
*/
|
|
2600
2602
|
preview(filepaths: string[], output?: string | null): Promise<FileResult[]>;
|