@heychunky/core 0.11.0 → 0.12.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.
- package/dist/admin/apps.d.ts +21 -0
- package/dist/admin/apps.d.ts.map +1 -1
- package/dist/admin/apps.js +28 -0
- package/dist/admin/apps.js.map +1 -1
- package/dist/admin/users.d.ts +18 -0
- package/dist/admin/users.d.ts.map +1 -1
- package/dist/admin/users.js +21 -0
- package/dist/admin/users.js.map +1 -1
- package/package.json +1 -1
package/dist/admin/apps.d.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { Register } from "./master.ts";
|
|
17
17
|
import type { StepResult } from "./provision.ts";
|
|
18
|
+
import type { User } from "./users.ts";
|
|
18
19
|
export interface App {
|
|
19
20
|
id: string;
|
|
20
21
|
name: string;
|
|
@@ -70,5 +71,25 @@ export declare function assertCanCreate(owner: string, register: Register): Prom
|
|
|
70
71
|
*/
|
|
71
72
|
export declare function recordApp(app: AppRecord, register: Register): Promise<App>;
|
|
72
73
|
/** Apps an owner has, or every app when none is named. */
|
|
74
|
+
/**
|
|
75
|
+
* One app, if this operator may have it.
|
|
76
|
+
*
|
|
77
|
+
* The tenancy rule asked of a single row: a developer reaching for somebody
|
|
78
|
+
* else's app by name gets nothing, which is the same answer as an app that
|
|
79
|
+
* does not exist. Telling those apart would confirm what other people have
|
|
80
|
+
* named their apps, and the caller is expected to answer both the same way.
|
|
81
|
+
*
|
|
82
|
+
* This is what replaces a configured target repository. A run does not hold a
|
|
83
|
+
* repo; it resolves one — from who is asking and which app they named — and
|
|
84
|
+
* `repo` on the row it returns is the answer. Which means the authorisation
|
|
85
|
+
* and the lookup are the same call, and a caller cannot perform the second
|
|
86
|
+
* while forgetting the first.
|
|
87
|
+
*
|
|
88
|
+
* In the Core rather than in a caller because there are now three: the pages,
|
|
89
|
+
* the API, and the superagent working on somebody's app on their behalf. A
|
|
90
|
+
* tenancy rule that lives in one of them is a rule the other two can differ
|
|
91
|
+
* from.
|
|
92
|
+
*/
|
|
93
|
+
export declare function appFor(user: Pick<User, "id" | "role">, name: string, register: Register): Promise<App | undefined>;
|
|
73
94
|
export declare function listApps(owner: string | undefined, register: Register): Promise<App[]>;
|
|
74
95
|
//# sourceMappingURL=apps.d.ts.map
|
package/dist/admin/apps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../src/admin/apps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../src/admin/apps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;CAClC;AAED,sEAAsE;AACtE,qBAAa,aAAc,SAAQ,KAAK;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;gBACX,KAA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ows[0];
|
|
81
81
|
}
|
|
82
82
|
/** Apps an owner has, or every app when none is named. */
|
|
83
|
+
/**
|
|
84
|
+
* One app, if this operator may have it.
|
|
85
|
+
*
|
|
86
|
+
* The tenancy rule asked of a single row: a developer reaching for somebody
|
|
87
|
+
* else's app by name gets nothing, which is the same answer as an app that
|
|
88
|
+
* does not exist. Telling those apart would confirm what other people have
|
|
89
|
+
* named their apps, and the caller is expected to answer both the same way.
|
|
90
|
+
*
|
|
91
|
+
* This is what replaces a configured target repository. A run does not hold a
|
|
92
|
+
* repo; it resolves one — from who is asking and which app they named — and
|
|
93
|
+
* `repo` on the row it returns is the answer. Which means the authorisation
|
|
94
|
+
* and the lookup are the same call, and a caller cannot perform the second
|
|
95
|
+
* while forgetting the first.
|
|
96
|
+
*
|
|
97
|
+
* In the Core rather than in a caller because there are now three: the pages,
|
|
98
|
+
* the API, and the superagent working on somebody's app on their behalf. A
|
|
99
|
+
* tenancy rule that lives in one of them is a rule the other two can differ
|
|
100
|
+
* from.
|
|
101
|
+
*/
|
|
102
|
+
export async function appFor(user, name, register) {
|
|
103
|
+
const select = `select a.*, u.email as owner_email from apps a
|
|
104
|
+
join users u on u.id = a.owner_id
|
|
105
|
+
where lower(a.name) = lower($1)`;
|
|
106
|
+
const { rows } = user.role === "superadmin"
|
|
107
|
+
? await register.query(select, [name])
|
|
108
|
+
: await register.query(`${select} and a.owner_id = $2`, [name, user.id]);
|
|
109
|
+
return rows[0];
|
|
110
|
+
}
|
|
83
111
|
export async function listApps(owner, register) {
|
|
84
112
|
const conn = register;
|
|
85
113
|
const { rows } = owner
|
package/dist/admin/apps.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../src/admin/apps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../src/admin/apps.ts"],"names":[],"mappings":"AAgCA,sEAAsE;AACtE,MAAM,OAAO,aAAc,SAAQ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D,CAAC;IACF,OAAO,IAAI,CAAC,CAAC,CAAmB,CAAC;AACnC,CAAC;AAED,0DAA0D;AAC1D;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,IAA+B,EAC/B,IAAY,EACZ,QAAkB;IAElB,MAAM,MAAM,GAAG;;mDAEkC,CAAC;IAClD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,IAAI,KAAK,YAAY;QACzC,CAAC,CAAC,MAAM,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC;QACtC,CAAC,CAAC,MAAM,QAAQ,CAAC,KAAK,CAAC,GAAG,MAAM,sBAAsB,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3E,OAAO,IAAI,CAAC,CAAC,CAA+B,CAAC;AAC/C,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAC,KAAyB,EAAE,QAAkB;IAC1E,MAAM,IAAI,GAAG,QAAQ,CAAC;IACtB,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK;QACpB,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CACd;sDAC8C,EAAE,CAAC,KAAK,CAAC,CAAC;QAC5D,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CACd;gCACwB,CAAC,CAAC;IAChC,OAAO,IAAwB,CAAC;AAClC,CAAC"}
|
package/dist/admin/users.d.ts
CHANGED
|
@@ -20,6 +20,24 @@ export interface User {
|
|
|
20
20
|
role: Role;
|
|
21
21
|
created_at: string;
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* The account an address belongs to, if any.
|
|
25
|
+
*
|
|
26
|
+
* The join between an inbound message and an operator. Chunky receives mail,
|
|
27
|
+
* a webhook, a form — each carries an address and nothing else, and this is
|
|
28
|
+
* what turns that into somebody the register has heard of and knows the apps
|
|
29
|
+
* of. Without it there is no answer to "on whose behalf".
|
|
30
|
+
*
|
|
31
|
+
* Matched without case, the same way `inviteUser` stores it and the unique
|
|
32
|
+
* index on `lower(email)` enforces: one person, one account, however they
|
|
33
|
+
* typed it.
|
|
34
|
+
*
|
|
35
|
+
* An address nobody owns returns undefined rather than throwing. A stranger
|
|
36
|
+
* writing to the factory is an ordinary event, not an exception — and the
|
|
37
|
+
* caller must be free to ignore it silently rather than answer a question
|
|
38
|
+
* that confirms who does and does not have an account here.
|
|
39
|
+
*/
|
|
40
|
+
export declare function userByEmail(email: string, register: Register): Promise<User | undefined>;
|
|
23
41
|
export declare class DuplicateUserError extends Error {
|
|
24
42
|
constructor(email: string);
|
|
25
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/admin/users.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,MAAM,IAAI,GAAG,YAAY,GAAG,WAAW,CAAC;AAE9C,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,kBAAmB,SAAQ,KAAK;gBAC/B,KAAK,EAAE,MAAM;CAI1B;AAED;;;;;;GAMG;AACH,wBAAsB,UAAU,CAC9B,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,IAAI,CAAA;CAAE,EACjE,QAAQ,EAAE,QAAQ,GACjB,OAAO,CAAC,IAAI,CAAC,CAef;AAED,+DAA+D;AAC/D,wBAAsB,SAAS,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAMnE"}
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/admin/users.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,MAAM,IAAI,GAAG,YAAY,GAAG,WAAW,CAAC;AAE9C,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,WAAW,CAC/B,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,QAAQ,GACjB,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAM3B;AAED,qBAAa,kBAAmB,SAAQ,KAAK;gBAC/B,KAAK,EAAE,MAAM;CAI1B;AAED;;;;;;GAMG;AACH,wBAAsB,UAAU,CAC9B,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,IAAI,CAAA;CAAE,EACjE,QAAQ,EAAE,QAAQ,GACjB,OAAO,CAAC,IAAI,CAAC,CAef;AAED,+DAA+D;AAC/D,wBAAsB,SAAS,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAMnE"}
|
package/dist/admin/users.js
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The account an address belongs to, if any.
|
|
3
|
+
*
|
|
4
|
+
* The join between an inbound message and an operator. Chunky receives mail,
|
|
5
|
+
* a webhook, a form — each carries an address and nothing else, and this is
|
|
6
|
+
* what turns that into somebody the register has heard of and knows the apps
|
|
7
|
+
* of. Without it there is no answer to "on whose behalf".
|
|
8
|
+
*
|
|
9
|
+
* Matched without case, the same way `inviteUser` stores it and the unique
|
|
10
|
+
* index on `lower(email)` enforces: one person, one account, however they
|
|
11
|
+
* typed it.
|
|
12
|
+
*
|
|
13
|
+
* An address nobody owns returns undefined rather than throwing. A stranger
|
|
14
|
+
* writing to the factory is an ordinary event, not an exception — and the
|
|
15
|
+
* caller must be free to ignore it silently rather than answer a question
|
|
16
|
+
* that confirms who does and does not have an account here.
|
|
17
|
+
*/
|
|
18
|
+
export async function userByEmail(email, register) {
|
|
19
|
+
const { rows } = await register.query("select id, email, name, role, created_at from users where lower(email) = lower($1)", [email]);
|
|
20
|
+
return rows[0];
|
|
21
|
+
}
|
|
1
22
|
export class DuplicateUserError extends Error {
|
|
2
23
|
constructor(email) {
|
|
3
24
|
super(`${email} already has an account`);
|
package/dist/admin/users.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/admin/users.ts"],"names":[],"mappings":"AAyBA,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAC3C,YAAY,KAAa;QACvB,KAAK,CAAC,GAAG,KAAK,yBAAyB,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;IACnC,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,UAAU,CAC9B,MAAiE,EACjE,QAAkB;IAElB,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAClC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,yBAAyB,KAAK,EAAE,CAAC,CAAC;IAE5E,MAAM,IAAI,GAAG,QAAQ,CAAC;IACtB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAC/B;;iDAE6C,EAC7C,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,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