@fjall/util 0.99.1 → 0.99.3
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.
package/dist/.minified
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
53 files minified at 2026-05-
|
|
1
|
+
53 files minified at 2026-05-22T22:51:39.799Z
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Producer: `ClickHouseDatabase.getMigrationContributions()` emits the
|
|
5
5
|
* managed-password user names (every entry in the construct's
|
|
6
|
-
* `managedPasswords:` prop
|
|
7
|
-
*
|
|
8
|
-
* `
|
|
6
|
+
* `managedPasswords:` prop — `schemaAdmin.name` is NOT included; the admin
|
|
7
|
+
* is XML-defined in `users_xml` storage which is read-only, so SQL ALTER
|
|
8
|
+
* against it would fail with `ACCESS_STORAGE_READONLY (495)`) as a
|
|
9
|
+
* JSON-stringified array of strings on the migration container's env,
|
|
10
|
+
* plus per-user `USER_<NAME>_PASSWORD` secretsImport entries.
|
|
9
11
|
*
|
|
10
12
|
* Consumer: `@fjall/clickhouse-migrations § provisionUsersFromEnv` parses the
|
|
11
13
|
* env, reads each password from `process.env[USER_<NAME>_PASSWORD]` (injected
|
|
@@ -62,8 +64,9 @@ export declare const ManagedUserNameSchema: z.ZodString;
|
|
|
62
64
|
export type ManagedUserName = z.infer<typeof ManagedUserNameSchema>;
|
|
63
65
|
/**
|
|
64
66
|
* Manifest = ordered array of managed user names. Order matches the
|
|
65
|
-
* construct's `
|
|
66
|
-
*
|
|
67
|
+
* construct's `managedPasswords` declaration order so provisioning is
|
|
68
|
+
* deterministic across deploys. `schemaAdmin.name` is NOT included — see
|
|
69
|
+
* the producer note above.
|
|
67
70
|
*/
|
|
68
71
|
export declare const ManagedUserNamesSchema: z.ZodArray<z.ZodString>;
|
|
69
72
|
export type ManagedUserNames = z.infer<typeof ManagedUserNamesSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fjall/util",
|
|
3
|
-
"version": "0.99.
|
|
3
|
+
"version": "0.99.3",
|
|
4
4
|
"description": "Common utility methods",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"engines": {
|
|
115
115
|
"node": ">=22.0.0"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "e50d25185d5eab618e2a90622466296fa0cbffe8"
|
|
118
118
|
}
|