@pleasenobugs/core 0.1.0 → 0.2.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/rules.d.ts +20 -2
- package/dist/rules.d.ts.map +1 -1
- package/dist/rules.js +28 -3
- package/dist/rules.js.map +1 -1
- package/dist/types.d.ts +44 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/rules.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import type { PostKind, PostStatus, Rules } from './types.js';
|
|
1
|
+
import type { PostKind, PostStatus, Rules, ShotRule } from './types.js';
|
|
2
2
|
/**
|
|
3
3
|
* The limits a new project starts with. These are the numbers Shitti's board
|
|
4
4
|
* ran on, where they had been tried on real people before being written here.
|
|
5
5
|
*/
|
|
6
6
|
export declare const DEFAULT_RULES: Readonly<Rules>;
|
|
7
|
+
export declare const SHOT_RULES: readonly ShotRule[];
|
|
8
|
+
/** Whether a value is one of the screenshot rules, for reading a request or a variable. */
|
|
9
|
+
export declare function isShotRule(v: unknown): v is ShotRule;
|
|
7
10
|
/** A display name. Long enough for a real one, short enough for a card. */
|
|
8
11
|
export declare const NAME_MAX = 24;
|
|
9
12
|
/** A client-minted post id. */
|
|
@@ -15,8 +18,23 @@ export declare const CONTEXT_VALUE_MAX = 100;
|
|
|
15
18
|
export declare const DAY_MS: number;
|
|
16
19
|
export declare const POST_KINDS: readonly PostKind[];
|
|
17
20
|
export declare const POST_STATUSES: readonly PostStatus[];
|
|
18
|
-
/** Whether a value is one of the
|
|
21
|
+
/** Whether a value is one of the kinds, for reading a request body. */
|
|
19
22
|
export declare function isPostKind(v: unknown): v is PostKind;
|
|
23
|
+
/** A review's stars, both ends included. */
|
|
24
|
+
export declare const RATING_MIN = 1;
|
|
25
|
+
export declare const RATING_MAX = 5;
|
|
26
|
+
/** Whether a value is a whole number of stars. */
|
|
27
|
+
export declare function isRating(v: unknown): v is number;
|
|
28
|
+
/**
|
|
29
|
+
* A screenshot, at most this many bytes once decoded. The widget scales a
|
|
30
|
+
* phone screenshot down to well under it; the limit is for scripts.
|
|
31
|
+
*/
|
|
32
|
+
export declare const SHOT_MAX_BYTES = 1000000;
|
|
33
|
+
/** The image types a screenshot may be. No SVG: it can carry script. */
|
|
34
|
+
export declare const SHOT_TYPES: readonly ["image/jpeg", "image/png", "image/webp"];
|
|
35
|
+
export type ShotType = (typeof SHOT_TYPES)[number];
|
|
36
|
+
/** Whether a kind may carry a screenshot. A review is an opinion, not a report. */
|
|
37
|
+
export declare function takesShot(kind: PostKind): boolean;
|
|
20
38
|
/** Whether a value is one of the four states, for reading a request body. */
|
|
21
39
|
export declare function isPostStatus(v: unknown): v is PostStatus;
|
|
22
40
|
/**
|
package/dist/rules.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../src/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../src/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,KAAK,CAUxC,CAAC;AAEH,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EAA+B,CAAC;AAE1E,2FAA2F;AAC3F,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,QAAQ,CAEpD;AAED,2EAA2E;AAC3E,eAAO,MAAM,QAAQ,KAAK,CAAC;AAE3B,+BAA+B;AAC/B,eAAO,MAAM,WAAW,MAAM,CAAC;AAE/B,6CAA6C;AAC7C,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,iBAAiB,MAAM,CAAC;AAErC,mFAAmF;AACnF,eAAO,MAAM,MAAM,QAAsB,CAAC;AAE1C,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EAA8B,CAAC;AACzE,eAAO,MAAM,aAAa,EAAE,SAAS,UAAU,EAA4C,CAAC;AAE5F,uEAAuE;AACvE,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,QAAQ,CAEpD;AAED,4CAA4C;AAC5C,eAAO,MAAM,UAAU,IAAI,CAAC;AAC5B,eAAO,MAAM,UAAU,IAAI,CAAC;AAE5B,kDAAkD;AAClD,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAEhD;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,UAAY,CAAC;AAExC,wEAAwE;AACxE,eAAO,MAAM,UAAU,oDAAqD,CAAC;AAC7E,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,mFAAmF;AACnF,wBAAgB,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAEjD;AAED,6EAA6E;AAC7E,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,UAAU,CAExD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAWtE"}
|
package/dist/rules.js
CHANGED
|
@@ -9,8 +9,15 @@ export const DEFAULT_RULES = Object.freeze({
|
|
|
9
9
|
textMax: 200,
|
|
10
10
|
/** Longer than a post, because the reply is the one that has to explain. */
|
|
11
11
|
replyMax: 300,
|
|
12
|
-
kinds: ['bug', 'idea'],
|
|
12
|
+
kinds: ['bug', 'idea', 'review'],
|
|
13
|
+
screenshots: 'board',
|
|
14
|
+
approve: false,
|
|
13
15
|
});
|
|
16
|
+
export const SHOT_RULES = ['board', 'owners', 'off'];
|
|
17
|
+
/** Whether a value is one of the screenshot rules, for reading a request or a variable. */
|
|
18
|
+
export function isShotRule(v) {
|
|
19
|
+
return typeof v === 'string' && SHOT_RULES.includes(v);
|
|
20
|
+
}
|
|
14
21
|
/** A display name. Long enough for a real one, short enough for a card. */
|
|
15
22
|
export const NAME_MAX = 24;
|
|
16
23
|
/** A client-minted post id. */
|
|
@@ -20,12 +27,30 @@ export const CONTEXT_MAX_KEYS = 10;
|
|
|
20
27
|
export const CONTEXT_VALUE_MAX = 100;
|
|
21
28
|
/** The window `rules.perDay` is counted over. Rolling, never reset at midnight. */
|
|
22
29
|
export const DAY_MS = 24 * 60 * 60 * 1000;
|
|
23
|
-
export const POST_KINDS = ['bug', 'idea'];
|
|
30
|
+
export const POST_KINDS = ['bug', 'idea', 'review'];
|
|
24
31
|
export const POST_STATUSES = ['open', 'planned', 'done', 'declined'];
|
|
25
|
-
/** Whether a value is one of the
|
|
32
|
+
/** Whether a value is one of the kinds, for reading a request body. */
|
|
26
33
|
export function isPostKind(v) {
|
|
27
34
|
return typeof v === 'string' && POST_KINDS.includes(v);
|
|
28
35
|
}
|
|
36
|
+
/** A review's stars, both ends included. */
|
|
37
|
+
export const RATING_MIN = 1;
|
|
38
|
+
export const RATING_MAX = 5;
|
|
39
|
+
/** Whether a value is a whole number of stars. */
|
|
40
|
+
export function isRating(v) {
|
|
41
|
+
return typeof v === 'number' && Number.isInteger(v) && v >= RATING_MIN && v <= RATING_MAX;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* A screenshot, at most this many bytes once decoded. The widget scales a
|
|
45
|
+
* phone screenshot down to well under it; the limit is for scripts.
|
|
46
|
+
*/
|
|
47
|
+
export const SHOT_MAX_BYTES = 1_000_000;
|
|
48
|
+
/** The image types a screenshot may be. No SVG: it can carry script. */
|
|
49
|
+
export const SHOT_TYPES = ['image/jpeg', 'image/png', 'image/webp'];
|
|
50
|
+
/** Whether a kind may carry a screenshot. A review is an opinion, not a report. */
|
|
51
|
+
export function takesShot(kind) {
|
|
52
|
+
return kind === 'bug' || kind === 'idea';
|
|
53
|
+
}
|
|
29
54
|
/** Whether a value is one of the four states, for reading a request body. */
|
|
30
55
|
export function isPostStatus(v) {
|
|
31
56
|
return typeof v === 'string' && POST_STATUSES.includes(v);
|
package/dist/rules.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../src/rules.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAoB,MAAM,CAAC,MAAM,CAAC;IAC1D,MAAM,EAAE,CAAC;IACT;oCACgC;IAChC,OAAO,EAAE,GAAG;IACZ,4EAA4E;IAC5E,QAAQ,EAAE,GAAG;IACb,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,CAAe;
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../src/rules.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAoB,MAAM,CAAC,MAAM,CAAC;IAC1D,MAAM,EAAE,CAAC;IACT;oCACgC;IAChC,OAAO,EAAE,GAAG;IACZ,4EAA4E;IAC5E,QAAQ,EAAE,GAAG;IACb,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAe;IAC9C,WAAW,EAAE,OAAmB;IAChC,OAAO,EAAE,KAAK;CACf,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAwB,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;AAE1E,2FAA2F;AAC3F,MAAM,UAAU,UAAU,CAAC,CAAU;IACnC,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAK,UAAgC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;AAChF,CAAC;AAED,2EAA2E;AAC3E,MAAM,CAAC,MAAM,QAAQ,GAAG,EAA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6E;AAC7E,MAAM,UAAU,YAAY,CAAC,CAAU;IACrC,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAK,aAAmC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;AACnF,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,YAAY,CAAC,CAAU;IACrC,IAAI,CAAC,CAAC,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QAAE,OAAO,IAAI,CAAC;IACjE,MAAM,GAAG,GAA2B,EAAE,CAAC;IACvC,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7C,IAAI,CAAC,IAAI,gBAAgB;YAAE,MAAM;QACjC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,EAAE;YAAE,SAAS;QACnE,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC;QAC7C,CAAC,EAAE,CAAC;IACN,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -6,8 +6,12 @@
|
|
|
6
6
|
* is a v2. Clients must ignore fields they do not know, which is what lets the
|
|
7
7
|
* server add one without breaking an app nobody has updated.
|
|
8
8
|
*/
|
|
9
|
-
/**
|
|
10
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Something is broken, something is missing, or what somebody thinks of the
|
|
11
|
+
* app as it is. A review carries a `rating` and is the one kind that is not a
|
|
12
|
+
* request: nothing gets planned or fixed, so it never gets a status.
|
|
13
|
+
*/
|
|
14
|
+
export type PostKind = 'bug' | 'idea' | 'review';
|
|
11
15
|
/**
|
|
12
16
|
* Where a post stands, set by a project's owners and nobody else.
|
|
13
17
|
*
|
|
@@ -29,6 +33,23 @@ export interface PostReply {
|
|
|
29
33
|
* become a place to stash anything bigger than a label.
|
|
30
34
|
*/
|
|
31
35
|
export type PostContext = Record<string, string>;
|
|
36
|
+
/**
|
|
37
|
+
* Who sees a post's screenshot.
|
|
38
|
+
*
|
|
39
|
+
* - `board`: everybody who reads the board. Only ever because its author
|
|
40
|
+
* ticked that everyone may see it.
|
|
41
|
+
* - `off`: the author agreed, but an owner took it off the board. Owners can
|
|
42
|
+
* put it back.
|
|
43
|
+
* - `owners`: the author never agreed, so owners only, for good. Nobody can
|
|
44
|
+
* turn it into `board` later; that would be a promise broken after the fact.
|
|
45
|
+
*/
|
|
46
|
+
export type ShotFor = 'board' | 'off' | 'owners';
|
|
47
|
+
/**
|
|
48
|
+
* What a board allows screenshots to be, whatever the widget asks:
|
|
49
|
+
* `board` (the author may put one on the board), `owners` (only ever for the
|
|
50
|
+
* owners) or `off` (none at all).
|
|
51
|
+
*/
|
|
52
|
+
export type ShotRule = 'board' | 'owners' | 'off';
|
|
32
53
|
/**
|
|
33
54
|
* One post, as a reader receives it.
|
|
34
55
|
*
|
|
@@ -52,10 +73,20 @@ export interface Post {
|
|
|
52
73
|
* chose one. Never an address: a name is a label, an address an identity. */
|
|
53
74
|
who?: string;
|
|
54
75
|
reply?: PostReply;
|
|
76
|
+
/** Reviews only: 1 to 5 stars. */
|
|
77
|
+
rating?: number;
|
|
55
78
|
/** Owners only. */
|
|
56
79
|
context?: PostContext;
|
|
80
|
+
/** A screenshot comes with it, read through the post's `/shot` route. Sent
|
|
81
|
+
* to everybody for one on the board, and to owners for any. */
|
|
82
|
+
shot?: boolean;
|
|
83
|
+
/** Owners only, with `shot`: who sees it. */
|
|
84
|
+
shotFor?: ShotFor;
|
|
57
85
|
/** Owners only: a post they took off the board, kept so it can come back. */
|
|
58
86
|
hidden?: boolean;
|
|
87
|
+
/** Waiting for an owner to approve it, on a board with `rules.approve`.
|
|
88
|
+
* Only its author and the owners see it until then. */
|
|
89
|
+
pending?: boolean;
|
|
59
90
|
}
|
|
60
91
|
/** A project's limits. Defaults in `DEFAULT_RULES`. */
|
|
61
92
|
export interface Rules {
|
|
@@ -66,6 +97,16 @@ export interface Rules {
|
|
|
66
97
|
replyMax: number;
|
|
67
98
|
/** Which kinds this board accepts, in the order the widget offers them. */
|
|
68
99
|
kinds: PostKind[];
|
|
100
|
+
/**
|
|
101
|
+
* What screenshots may be on this board, enforced by the server whatever a
|
|
102
|
+
* widget sends. Absent on projects made before 0.2.0, which means `board`.
|
|
103
|
+
*/
|
|
104
|
+
screenshots?: ShotRule;
|
|
105
|
+
/**
|
|
106
|
+
* Whether a new post waits for an owner's approval before anybody else sees
|
|
107
|
+
* it. For a board on a public page. Absent means no.
|
|
108
|
+
*/
|
|
109
|
+
approve?: boolean;
|
|
69
110
|
}
|
|
70
111
|
/** What anybody may know about a project. */
|
|
71
112
|
export interface PublicProject {
|
|
@@ -146,5 +187,5 @@ export interface AppLogin {
|
|
|
146
187
|
message: string;
|
|
147
188
|
}
|
|
148
189
|
/** Every error the API answers with, as `{ error: ErrorCode }`. */
|
|
149
|
-
export type ErrorCode = 'bad_request' | 'unauthorized' | 'not_yours' | 'not_owner' | 'origin_not_allowed' | 'no_project' | 'no_post' | 'duplicate' | 'too_many' | 'rate_limited' | 'not_found' | 'internal';
|
|
190
|
+
export type ErrorCode = 'bad_request' | 'unauthorized' | 'not_yours' | 'not_owner' | 'origin_not_allowed' | 'no_project' | 'no_post' | 'duplicate' | 'reviewed' | 'too_many' | 'rate_limited' | 'not_found' | 'internal';
|
|
150
191
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA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