@geekmidas/constructs 10.0.0-alpha.103 → 10.0.0-alpha.105

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,86 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ let _geekmidas_manifest = require("@geekmidas/manifest");
3
+ //#region src/random-password.ts
4
+ /**
5
+ * `RandomPassword` — a password the platform generates, once per stage.
6
+ *
7
+ * ```ts
8
+ * export const adminPassword = new RandomPassword('AdminPassword');
9
+ *
10
+ * // an endpoint that `.dependsOn([adminPassword])`
11
+ * services.adminPassword // 'k3J…' — a string, no await
12
+ * ```
13
+ *
14
+ * The app's own `secret`: the kind an auth server's signing key already is,
15
+ * with nothing else attached. Nobody issues it and nobody sets it, which is
16
+ * the line between it and a `Credential`:
17
+ *
18
+ * - **A deployed stage** generates it on the first deploy that needs it and
19
+ * keeps it — a server stage in its secrets store, an AWS stage in its
20
+ * state — so every later deploy reads the same value back. One set by hand
21
+ * (`gkm secrets:set`, `sst secret set`) is kept, never replaced.
22
+ * - **`gkm dev` and `gkm test`** derive it from the project, the stage and the
23
+ * id, so nothing has to be set and it is the same on every run.
24
+ *
25
+ * Its key is its name, as a secret's is: `AdminPassword` is `ADMIN_PASSWORD`.
26
+ *
27
+ * 43 letters, digits, `-` and `_` unless told otherwise — for a system with
28
+ * rules of its own:
29
+ *
30
+ * ```ts
31
+ * new RandomPassword('RouterPassword', { length: 24, symbols: '!@#$%' });
32
+ * ```
33
+ *
34
+ * The format is read when the password is generated, so changing it later
35
+ * leaves a deployed stage's existing password as it is.
36
+ */
37
+ var RandomPassword = class {
38
+ format;
39
+ id;
40
+ service;
41
+ /**
42
+ * Declared once and read by both `declare()` and `connect()`, so the key the
43
+ * target publishes and the key the client reads cannot drift.
44
+ */
45
+ key;
46
+ constructor(id, format = {}) {
47
+ this.format = format;
48
+ const canonical = (0, _geekmidas_manifest.canonicalId)(id);
49
+ const { length } = format;
50
+ if (length !== void 0 && !(Number.isInteger(length) && length > 0)) throw new InvalidPasswordLength(canonical, length);
51
+ this.id = canonical;
52
+ this.key = (0, _geekmidas_manifest.environmentCase)(canonical);
53
+ this.service = {
54
+ serviceName: (0, _geekmidas_manifest.serviceKey)(canonical),
55
+ register: (options) => this.connect(options)
56
+ };
57
+ }
58
+ declare() {
59
+ return [{
60
+ kind: "secret",
61
+ id: this.id,
62
+ provides: [this.key],
63
+ ...this.format.length !== void 0 ? { length: this.format.length } : {},
64
+ ...this.format.symbols !== void 0 ? { symbols: this.format.symbols } : {}
65
+ }];
66
+ }
67
+ connect(options) {
68
+ return options.envParser.create((get) => ({ password: get(this.key).string() })).parse().password;
69
+ }
70
+ };
71
+ /** A `RandomPassword` given a length no password can have. */
72
+ var InvalidPasswordLength = class extends Error {
73
+ id;
74
+ length;
75
+ constructor(id, length) {
76
+ super(`${id} asks for a password ${length} characters long. Give it a whole number of characters, at least 1 — or leave length out for 43.`);
77
+ this.id = id;
78
+ this.length = length;
79
+ this.name = "InvalidPasswordLength";
80
+ }
81
+ };
82
+ //#endregion
83
+ exports.InvalidPasswordLength = InvalidPasswordLength;
84
+ exports.RandomPassword = RandomPassword;
85
+
86
+ //# sourceMappingURL=random-password.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"random-password.cjs","names":["canonicalId","environmentCase","serviceKey"],"sources":["../src/random-password.ts"],"sourcesContent":["/**\n * `RandomPassword` — a password the platform generates, once per stage.\n *\n * ```ts\n * export const adminPassword = new RandomPassword('AdminPassword');\n *\n * // an endpoint that `.dependsOn([adminPassword])`\n * services.adminPassword // 'k3J…' — a string, no await\n * ```\n *\n * The app's own `secret`: the kind an auth server's signing key already is,\n * with nothing else attached. Nobody issues it and nobody sets it, which is\n * the line between it and a `Credential`:\n *\n * - **A deployed stage** generates it on the first deploy that needs it and\n * keeps it — a server stage in its secrets store, an AWS stage in its\n * state — so every later deploy reads the same value back. One set by hand\n * (`gkm secrets:set`, `sst secret set`) is kept, never replaced.\n * - **`gkm dev` and `gkm test`** derive it from the project, the stage and the\n * id, so nothing has to be set and it is the same on every run.\n *\n * Its key is its name, as a secret's is: `AdminPassword` is `ADMIN_PASSWORD`.\n *\n * 43 letters, digits, `-` and `_` unless told otherwise — for a system with\n * rules of its own:\n *\n * ```ts\n * new RandomPassword('RouterPassword', { length: 24, symbols: '!@#$%' });\n * ```\n *\n * The format is read when the password is generated, so changing it later\n * leaves a deployed stage's existing password as it is.\n */\n\nimport {\n\ttype ConstructName,\n\tcanonicalId,\n\ttype Declaration,\n\tenvironmentCase,\n\ttype SecretFormat,\n\tserviceKey,\n} from '@geekmidas/manifest';\nimport type { Service, ServiceRegisterOptions } from '@geekmidas/services';\nimport type { Construct } from './construct-interface';\n\nexport class RandomPassword<TName extends string = string>\n\timplements Construct<TName, string>\n{\n\treadonly id: TName;\n\treadonly service: Service<Uncapitalize<TName>, string>;\n\n\t/**\n\t * Declared once and read by both `declare()` and `connect()`, so the key the\n\t * target publishes and the key the client reads cannot drift.\n\t */\n\tprivate readonly key: string;\n\n\tconstructor(\n\t\tid: ConstructName<TName>,\n\t\tprivate readonly format: RandomPasswordOptions = {},\n\t) {\n\t\tconst canonical = canonicalId(id as string);\n\t\tconst { length } = format;\n\n\t\tif (length !== undefined && !(Number.isInteger(length) && length > 0)) {\n\t\t\tthrow new InvalidPasswordLength(canonical, length);\n\t\t}\n\n\t\tthis.id = canonical as TName;\n\t\tthis.key = environmentCase(canonical);\n\n\t\t// A field, not a getter: consumers cache services by object identity.\n\t\tthis.service = {\n\t\t\tserviceName: serviceKey(canonical) as Uncapitalize<TName>,\n\t\t\tregister: (options) => this.connect(options),\n\t\t};\n\t}\n\n\tdeclare(): Declaration[] {\n\t\treturn [\n\t\t\t{\n\t\t\t\tkind: 'secret',\n\t\t\t\tid: this.id,\n\t\t\t\tprovides: [this.key],\n\t\t\t\t...(this.format.length !== undefined\n\t\t\t\t\t? { length: this.format.length }\n\t\t\t\t\t: {}),\n\t\t\t\t...(this.format.symbols !== undefined\n\t\t\t\t\t? { symbols: this.format.symbols }\n\t\t\t\t\t: {}),\n\t\t\t},\n\t\t];\n\t}\n\n\tprivate connect(options: ServiceRegisterOptions): string {\n\t\treturn options.envParser\n\t\t\t.create((get) => ({ password: get(this.key).string() }))\n\t\t\t.parse().password;\n\t}\n}\n\n/**\n * What a password is drawn as. Letters and digits always; `symbols` beside\n * them, one of which is always present.\n */\nexport type RandomPasswordOptions = SecretFormat;\n\n/** A `RandomPassword` given a length no password can have. */\nexport class InvalidPasswordLength extends Error {\n\tconstructor(\n\t\treadonly id: string,\n\t\treadonly length: number,\n\t) {\n\t\tsuper(\n\t\t\t`${id} asks for a password ${length} characters long. ` +\n\t\t\t\t'Give it a whole number of characters, at least 1 — or leave length out for 43.',\n\t\t);\n\t\tthis.name = 'InvalidPasswordLength';\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,IAAa,iBAAb,MAEA;CAYmB;CAXlB;CACA;;;;;CAMA;CAEA,YACC,IACA,SAAiD,CAAC,GACjD;EADgB,KAAA,SAAA;EAEjB,MAAM,aAAA,GAAYA,oBAAAA,YAAAA,CAAY,EAAY;EAC1C,MAAM,EAAE,WAAW;EAEnB,IAAI,WAAW,KAAA,KAAa,EAAE,OAAO,UAAU,MAAM,KAAK,SAAS,IAClE,MAAM,IAAI,sBAAsB,WAAW,MAAM;EAGlD,KAAK,KAAK;EACV,KAAK,OAAA,GAAMC,oBAAAA,gBAAAA,CAAgB,SAAS;EAGpC,KAAK,UAAU;GACd,cAAA,GAAaC,oBAAAA,WAAAA,CAAW,SAAS;GACjC,WAAW,YAAY,KAAK,QAAQ,OAAO;EAC5C;CACD;CAEA,UAAyB;EACxB,OAAO,CACN;GACC,MAAM;GACN,IAAI,KAAK;GACT,UAAU,CAAC,KAAK,GAAG;GACnB,GAAI,KAAK,OAAO,WAAW,KAAA,IACxB,EAAE,QAAQ,KAAK,OAAO,OAAO,IAC7B,CAAC;GACJ,GAAI,KAAK,OAAO,YAAY,KAAA,IACzB,EAAE,SAAS,KAAK,OAAO,QAAQ,IAC/B,CAAC;EACL,CACD;CACD;CAEA,QAAgB,SAAyC;EACxD,OAAO,QAAQ,UACb,QAAQ,SAAS,EAAE,UAAU,IAAI,KAAK,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACvD,MAAM,CAAC,CAAC;CACX;AACD;;AASA,IAAa,wBAAb,cAA2C,MAAM;CAEtC;CACA;CAFV,YACC,IACA,QACC;EACD,MACC,GAAG,GAAG,uBAAuB,OAAO,iGAErC;EANS,KAAA,KAAA;EACA,KAAA,SAAA;EAMT,KAAK,OAAO;CACb;AACD"}
@@ -0,0 +1,30 @@
1
+ import { n as Construct } from "./construct-interface-B1AfqRl4.cjs";
2
+ import { Service } from "@geekmidas/services";
3
+ import { ConstructName, Declaration, SecretFormat } from "@geekmidas/manifest";
4
+ //#region src/random-password.d.ts
5
+ export declare class RandomPassword<TName extends string = string> implements Construct<TName, string> {
6
+ private readonly format;
7
+ readonly id: TName;
8
+ readonly service: Service<Uncapitalize<TName>, string>;
9
+ /**
10
+ * Declared once and read by both `declare()` and `connect()`, so the key the
11
+ * target publishes and the key the client reads cannot drift.
12
+ */
13
+ private readonly key;
14
+ constructor(id: ConstructName<TName>, format?: RandomPasswordOptions);
15
+ declare(): Declaration[];
16
+ private connect;
17
+ }
18
+ /**
19
+ * What a password is drawn as. Letters and digits always; `symbols` beside
20
+ * them, one of which is always present.
21
+ */
22
+ export type RandomPasswordOptions = SecretFormat;
23
+ /** A `RandomPassword` given a length no password can have. */
24
+ export declare class InvalidPasswordLength extends Error {
25
+ readonly id: string;
26
+ readonly length: number;
27
+ constructor(id: string, length: number);
28
+ }
29
+ //#endregion
30
+ //# sourceMappingURL=random-password.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"random-password.d.cts","names":[],"sources":["../src/random-password.ts"],"mappings":";;;;qBA6Ca,eAAe,0CAChB,UAAU;mBAaH;WAXT,IAAI;WACJ,SAAS,QAAQ,aAAa;;;;;mBAMtB;EAEjB,YACC,IAAI,cAAc,QACD,SAAQ;EAmB1B,WAAW;UAgBH;;;;;;YAWG,wBAAwB;;qBAGvB,8BAA8B;WAEhC;WACA;EAFV,YACU,YACA"}
@@ -0,0 +1,30 @@
1
+ import { n as Construct } from "./construct-interface-DluK3_da.mjs";
2
+ import { ConstructName, Declaration, SecretFormat } from "@geekmidas/manifest";
3
+ import { Service } from "@geekmidas/services";
4
+ //#region src/random-password.d.ts
5
+ export declare class RandomPassword<TName extends string = string> implements Construct<TName, string> {
6
+ private readonly format;
7
+ readonly id: TName;
8
+ readonly service: Service<Uncapitalize<TName>, string>;
9
+ /**
10
+ * Declared once and read by both `declare()` and `connect()`, so the key the
11
+ * target publishes and the key the client reads cannot drift.
12
+ */
13
+ private readonly key;
14
+ constructor(id: ConstructName<TName>, format?: RandomPasswordOptions);
15
+ declare(): Declaration[];
16
+ private connect;
17
+ }
18
+ /**
19
+ * What a password is drawn as. Letters and digits always; `symbols` beside
20
+ * them, one of which is always present.
21
+ */
22
+ export type RandomPasswordOptions = SecretFormat;
23
+ /** A `RandomPassword` given a length no password can have. */
24
+ export declare class InvalidPasswordLength extends Error {
25
+ readonly id: string;
26
+ readonly length: number;
27
+ constructor(id: string, length: number);
28
+ }
29
+ //#endregion
30
+ //# sourceMappingURL=random-password.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"random-password.d.mts","names":[],"sources":["../src/random-password.ts"],"mappings":";;;;qBA6Ca,eAAe,0CAChB,UAAU;mBAaH;WAXT,IAAI;WACJ,SAAS,QAAQ,aAAa;;;;;mBAMtB;EAEjB,YACC,IAAI,cAAc,QACD,SAAQ;EAmB1B,WAAW;UAgBH;;;;;;YAWG,wBAAwB;;qBAGvB,8BAA8B;WAEhC;WACA;EAFV,YACU,YACA"}
@@ -0,0 +1,84 @@
1
+ import { canonicalId, environmentCase, serviceKey } from "@geekmidas/manifest";
2
+ //#region src/random-password.ts
3
+ /**
4
+ * `RandomPassword` — a password the platform generates, once per stage.
5
+ *
6
+ * ```ts
7
+ * export const adminPassword = new RandomPassword('AdminPassword');
8
+ *
9
+ * // an endpoint that `.dependsOn([adminPassword])`
10
+ * services.adminPassword // 'k3J…' — a string, no await
11
+ * ```
12
+ *
13
+ * The app's own `secret`: the kind an auth server's signing key already is,
14
+ * with nothing else attached. Nobody issues it and nobody sets it, which is
15
+ * the line between it and a `Credential`:
16
+ *
17
+ * - **A deployed stage** generates it on the first deploy that needs it and
18
+ * keeps it — a server stage in its secrets store, an AWS stage in its
19
+ * state — so every later deploy reads the same value back. One set by hand
20
+ * (`gkm secrets:set`, `sst secret set`) is kept, never replaced.
21
+ * - **`gkm dev` and `gkm test`** derive it from the project, the stage and the
22
+ * id, so nothing has to be set and it is the same on every run.
23
+ *
24
+ * Its key is its name, as a secret's is: `AdminPassword` is `ADMIN_PASSWORD`.
25
+ *
26
+ * 43 letters, digits, `-` and `_` unless told otherwise — for a system with
27
+ * rules of its own:
28
+ *
29
+ * ```ts
30
+ * new RandomPassword('RouterPassword', { length: 24, symbols: '!@#$%' });
31
+ * ```
32
+ *
33
+ * The format is read when the password is generated, so changing it later
34
+ * leaves a deployed stage's existing password as it is.
35
+ */
36
+ var RandomPassword = class {
37
+ format;
38
+ id;
39
+ service;
40
+ /**
41
+ * Declared once and read by both `declare()` and `connect()`, so the key the
42
+ * target publishes and the key the client reads cannot drift.
43
+ */
44
+ key;
45
+ constructor(id, format = {}) {
46
+ this.format = format;
47
+ const canonical = canonicalId(id);
48
+ const { length } = format;
49
+ if (length !== void 0 && !(Number.isInteger(length) && length > 0)) throw new InvalidPasswordLength(canonical, length);
50
+ this.id = canonical;
51
+ this.key = environmentCase(canonical);
52
+ this.service = {
53
+ serviceName: serviceKey(canonical),
54
+ register: (options) => this.connect(options)
55
+ };
56
+ }
57
+ declare() {
58
+ return [{
59
+ kind: "secret",
60
+ id: this.id,
61
+ provides: [this.key],
62
+ ...this.format.length !== void 0 ? { length: this.format.length } : {},
63
+ ...this.format.symbols !== void 0 ? { symbols: this.format.symbols } : {}
64
+ }];
65
+ }
66
+ connect(options) {
67
+ return options.envParser.create((get) => ({ password: get(this.key).string() })).parse().password;
68
+ }
69
+ };
70
+ /** A `RandomPassword` given a length no password can have. */
71
+ var InvalidPasswordLength = class extends Error {
72
+ id;
73
+ length;
74
+ constructor(id, length) {
75
+ super(`${id} asks for a password ${length} characters long. Give it a whole number of characters, at least 1 — or leave length out for 43.`);
76
+ this.id = id;
77
+ this.length = length;
78
+ this.name = "InvalidPasswordLength";
79
+ }
80
+ };
81
+ //#endregion
82
+ export { InvalidPasswordLength, RandomPassword };
83
+
84
+ //# sourceMappingURL=random-password.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"random-password.mjs","names":[],"sources":["../src/random-password.ts"],"sourcesContent":["/**\n * `RandomPassword` — a password the platform generates, once per stage.\n *\n * ```ts\n * export const adminPassword = new RandomPassword('AdminPassword');\n *\n * // an endpoint that `.dependsOn([adminPassword])`\n * services.adminPassword // 'k3J…' — a string, no await\n * ```\n *\n * The app's own `secret`: the kind an auth server's signing key already is,\n * with nothing else attached. Nobody issues it and nobody sets it, which is\n * the line between it and a `Credential`:\n *\n * - **A deployed stage** generates it on the first deploy that needs it and\n * keeps it — a server stage in its secrets store, an AWS stage in its\n * state — so every later deploy reads the same value back. One set by hand\n * (`gkm secrets:set`, `sst secret set`) is kept, never replaced.\n * - **`gkm dev` and `gkm test`** derive it from the project, the stage and the\n * id, so nothing has to be set and it is the same on every run.\n *\n * Its key is its name, as a secret's is: `AdminPassword` is `ADMIN_PASSWORD`.\n *\n * 43 letters, digits, `-` and `_` unless told otherwise — for a system with\n * rules of its own:\n *\n * ```ts\n * new RandomPassword('RouterPassword', { length: 24, symbols: '!@#$%' });\n * ```\n *\n * The format is read when the password is generated, so changing it later\n * leaves a deployed stage's existing password as it is.\n */\n\nimport {\n\ttype ConstructName,\n\tcanonicalId,\n\ttype Declaration,\n\tenvironmentCase,\n\ttype SecretFormat,\n\tserviceKey,\n} from '@geekmidas/manifest';\nimport type { Service, ServiceRegisterOptions } from '@geekmidas/services';\nimport type { Construct } from './construct-interface';\n\nexport class RandomPassword<TName extends string = string>\n\timplements Construct<TName, string>\n{\n\treadonly id: TName;\n\treadonly service: Service<Uncapitalize<TName>, string>;\n\n\t/**\n\t * Declared once and read by both `declare()` and `connect()`, so the key the\n\t * target publishes and the key the client reads cannot drift.\n\t */\n\tprivate readonly key: string;\n\n\tconstructor(\n\t\tid: ConstructName<TName>,\n\t\tprivate readonly format: RandomPasswordOptions = {},\n\t) {\n\t\tconst canonical = canonicalId(id as string);\n\t\tconst { length } = format;\n\n\t\tif (length !== undefined && !(Number.isInteger(length) && length > 0)) {\n\t\t\tthrow new InvalidPasswordLength(canonical, length);\n\t\t}\n\n\t\tthis.id = canonical as TName;\n\t\tthis.key = environmentCase(canonical);\n\n\t\t// A field, not a getter: consumers cache services by object identity.\n\t\tthis.service = {\n\t\t\tserviceName: serviceKey(canonical) as Uncapitalize<TName>,\n\t\t\tregister: (options) => this.connect(options),\n\t\t};\n\t}\n\n\tdeclare(): Declaration[] {\n\t\treturn [\n\t\t\t{\n\t\t\t\tkind: 'secret',\n\t\t\t\tid: this.id,\n\t\t\t\tprovides: [this.key],\n\t\t\t\t...(this.format.length !== undefined\n\t\t\t\t\t? { length: this.format.length }\n\t\t\t\t\t: {}),\n\t\t\t\t...(this.format.symbols !== undefined\n\t\t\t\t\t? { symbols: this.format.symbols }\n\t\t\t\t\t: {}),\n\t\t\t},\n\t\t];\n\t}\n\n\tprivate connect(options: ServiceRegisterOptions): string {\n\t\treturn options.envParser\n\t\t\t.create((get) => ({ password: get(this.key).string() }))\n\t\t\t.parse().password;\n\t}\n}\n\n/**\n * What a password is drawn as. Letters and digits always; `symbols` beside\n * them, one of which is always present.\n */\nexport type RandomPasswordOptions = SecretFormat;\n\n/** A `RandomPassword` given a length no password can have. */\nexport class InvalidPasswordLength extends Error {\n\tconstructor(\n\t\treadonly id: string,\n\t\treadonly length: number,\n\t) {\n\t\tsuper(\n\t\t\t`${id} asks for a password ${length} characters long. ` +\n\t\t\t\t'Give it a whole number of characters, at least 1 — or leave length out for 43.',\n\t\t);\n\t\tthis.name = 'InvalidPasswordLength';\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,IAAa,iBAAb,MAEA;CAYmB;CAXlB;CACA;;;;;CAMA;CAEA,YACC,IACA,SAAiD,CAAC,GACjD;EADgB,KAAA,SAAA;EAEjB,MAAM,YAAY,YAAY,EAAY;EAC1C,MAAM,EAAE,WAAW;EAEnB,IAAI,WAAW,KAAA,KAAa,EAAE,OAAO,UAAU,MAAM,KAAK,SAAS,IAClE,MAAM,IAAI,sBAAsB,WAAW,MAAM;EAGlD,KAAK,KAAK;EACV,KAAK,MAAM,gBAAgB,SAAS;EAGpC,KAAK,UAAU;GACd,aAAa,WAAW,SAAS;GACjC,WAAW,YAAY,KAAK,QAAQ,OAAO;EAC5C;CACD;CAEA,UAAyB;EACxB,OAAO,CACN;GACC,MAAM;GACN,IAAI,KAAK;GACT,UAAU,CAAC,KAAK,GAAG;GACnB,GAAI,KAAK,OAAO,WAAW,KAAA,IACxB,EAAE,QAAQ,KAAK,OAAO,OAAO,IAC7B,CAAC;GACJ,GAAI,KAAK,OAAO,YAAY,KAAA,IACzB,EAAE,SAAS,KAAK,OAAO,QAAQ,IAC/B,CAAC;EACL,CACD;CACD;CAEA,QAAgB,SAAyC;EACxD,OAAO,QAAQ,UACb,QAAQ,SAAS,EAAE,UAAU,IAAI,KAAK,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACvD,MAAM,CAAC,CAAC;CACX;AACD;;AASA,IAAa,wBAAb,cAA2C,MAAM;CAEtC;CACA;CAFV,YACC,IACA,QACC;EACD,MACC,GAAG,GAAG,uBAAuB,OAAO,iGAErC;EANS,KAAA,KAAA;EACA,KAAA,SAAA;EAMT,KAAK,OAAO;CACb;AACD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/constructs",
3
- "version": "10.0.0-alpha.103",
3
+ "version": "10.0.0-alpha.105",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -174,6 +174,16 @@
174
174
  "default": "./dist/encryption.cjs"
175
175
  }
176
176
  },
177
+ "./random-password": {
178
+ "import": {
179
+ "types": "./dist/random-password.d.mts",
180
+ "default": "./dist/random-password.mjs"
181
+ },
182
+ "require": {
183
+ "types": "./dist/random-password.d.cts",
184
+ "default": "./dist/random-password.cjs"
185
+ }
186
+ },
177
187
  "./credential": {
178
188
  "import": {
179
189
  "types": "./dist/credential.d.mts",
@@ -287,13 +297,13 @@
287
297
  "lodash.uniqby": "~4.7.0",
288
298
  "openapi-types": "~12.1.3",
289
299
  "qs": "~6.16.0",
290
- "@geekmidas/envkit": "^10.0.0-alpha.103",
291
- "@geekmidas/errors": "^10.0.0-alpha.103",
292
- "@geekmidas/events": "^10.0.0-alpha.103",
293
- "@geekmidas/logger": "^10.0.0-alpha.103",
294
- "@geekmidas/manifest": "^10.0.0-alpha.103",
295
- "@geekmidas/schema": "^10.0.0-alpha.103",
296
- "@geekmidas/services": "^10.0.0-alpha.103"
300
+ "@geekmidas/envkit": "^10.0.0-alpha.105",
301
+ "@geekmidas/errors": "^10.0.0-alpha.105",
302
+ "@geekmidas/events": "^10.0.0-alpha.105",
303
+ "@geekmidas/logger": "^10.0.0-alpha.105",
304
+ "@geekmidas/manifest": "^10.0.0-alpha.105",
305
+ "@geekmidas/schema": "^10.0.0-alpha.105",
306
+ "@geekmidas/services": "^10.0.0-alpha.105"
297
307
  },
298
308
  "devDependencies": {
299
309
  "@aws-sdk/client-kms": "~3.1136.0",
@@ -311,20 +321,20 @@
311
321
  "msw": "~2.15.0",
312
322
  "pg": "~8.23.0",
313
323
  "zod": "~4.6.5",
314
- "@geekmidas/audit": "^10.0.0-alpha.103",
315
- "@geekmidas/auth": "10.0.0-alpha.103",
316
- "@geekmidas/cache": "^10.0.0-alpha.103",
317
- "@geekmidas/db": "^10.0.0-alpha.103",
318
- "@geekmidas/emailkit": "^10.0.0-alpha.103",
319
- "@geekmidas/envkit": "^10.0.0-alpha.103",
320
- "@geekmidas/errors": "^10.0.0-alpha.103",
321
- "@geekmidas/events": "^10.0.0-alpha.103",
322
- "@geekmidas/logger": "^10.0.0-alpha.103",
323
- "@geekmidas/rate-limit": "^10.0.0-alpha.103",
324
- "@geekmidas/schema": "^10.0.0-alpha.103",
325
- "@geekmidas/services": "^10.0.0-alpha.103",
326
- "@geekmidas/telescope": "10.0.0-alpha.103",
327
- "@geekmidas/testkit": "^10.0.0-alpha.103"
324
+ "@geekmidas/audit": "^10.0.0-alpha.105",
325
+ "@geekmidas/auth": "10.0.0-alpha.105",
326
+ "@geekmidas/cache": "^10.0.0-alpha.105",
327
+ "@geekmidas/db": "^10.0.0-alpha.105",
328
+ "@geekmidas/emailkit": "^10.0.0-alpha.105",
329
+ "@geekmidas/envkit": "^10.0.0-alpha.105",
330
+ "@geekmidas/errors": "^10.0.0-alpha.105",
331
+ "@geekmidas/events": "^10.0.0-alpha.105",
332
+ "@geekmidas/logger": "^10.0.0-alpha.105",
333
+ "@geekmidas/rate-limit": "^10.0.0-alpha.105",
334
+ "@geekmidas/schema": "^10.0.0-alpha.105",
335
+ "@geekmidas/services": "^10.0.0-alpha.105",
336
+ "@geekmidas/telescope": "10.0.0-alpha.105",
337
+ "@geekmidas/testkit": "^10.0.0-alpha.105"
328
338
  },
329
339
  "peerDependencies": {
330
340
  "@aws-sdk/client-kms": ">=3.1136.0",
@@ -335,15 +345,15 @@
335
345
  "kysely": "~0.29.6",
336
346
  "msw": ">=2.15.0",
337
347
  "pg": ">=8.23.0",
338
- "@geekmidas/audit": "^10.0.0-alpha.103",
339
- "@geekmidas/auth": "10.0.0-alpha.103",
340
- "@geekmidas/cache": "^10.0.0-alpha.103",
341
- "@geekmidas/db": "^10.0.0-alpha.103",
342
- "@geekmidas/emailkit": "^10.0.0-alpha.103",
343
- "@geekmidas/rate-limit": "^10.0.0-alpha.103",
344
- "@geekmidas/storage": "^10.0.0-alpha.103",
345
- "@geekmidas/telescope": "10.0.0-alpha.103",
346
- "@geekmidas/testkit": "^10.0.0-alpha.103"
348
+ "@geekmidas/audit": "^10.0.0-alpha.105",
349
+ "@geekmidas/auth": "10.0.0-alpha.105",
350
+ "@geekmidas/cache": "^10.0.0-alpha.105",
351
+ "@geekmidas/db": "^10.0.0-alpha.105",
352
+ "@geekmidas/emailkit": "^10.0.0-alpha.105",
353
+ "@geekmidas/rate-limit": "^10.0.0-alpha.105",
354
+ "@geekmidas/storage": "^10.0.0-alpha.105",
355
+ "@geekmidas/telescope": "10.0.0-alpha.105",
356
+ "@geekmidas/testkit": "^10.0.0-alpha.105"
347
357
  },
348
358
  "peerDependenciesMeta": {
349
359
  "@aws-sdk/client-kms": {