@marktiderman/genesis-forms 0.9.1 → 0.9.2
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/destinations.cjs.map +1 -1
- package/dist/destinations.d.cts +1 -1
- package/dist/destinations.d.ts +1 -1
- package/dist/destinations.js.map +1 -1
- package/dist/{engine-BaHPC2-1.d.cts → engine-5_HNkWDD.d.cts} +2 -2
- package/dist/{engine-Da99Tv-E.d.ts → engine-B2HNqQDZ.d.ts} +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js.map +1 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/server.js.map +1 -1
- package/dist/{submit-protocol-CFi-0Qd0.d.ts → submit-protocol-BKMZJXHr.d.ts} +5 -5
- package/dist/{submit-protocol-D0cOckmK.d.cts → submit-protocol-DvAwNA_O.d.cts} +5 -5
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +4 -4
- package/dist/testing.d.ts +4 -4
- package/dist/testing.js.map +1 -1
- package/dist/{types-C0pUfew3.d.cts → types-BBDa8oXu.d.cts} +1 -1
- package/dist/{types-C0pUfew3.d.ts → types-BBDa8oXu.d.ts} +1 -1
- package/dist/{validate-DpmBssFk.d.ts → validate-BhIx55N7.d.ts} +4 -4
- package/dist/{validate-U5LoW3eR.d.cts → validate-CocUgR5Q.d.cts} +4 -4
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HostOptions, A as AnswerSnapshot, F as FieldValidator } from './validate-
|
|
2
|
-
import { a as FieldBlock, J as Json, F as FormDefinition, e as FormEvent } from './types-
|
|
1
|
+
import { H as HostOptions, A as AnswerSnapshot, F as FieldValidator } from './validate-BhIx55N7.js';
|
|
2
|
+
import { a as FieldBlock, J as Json, F as FormDefinition, e as FormEvent } from './types-BBDa8oXu.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The `photo` field type: a respondent attaches up to a few photos, such as a
|
|
@@ -295,7 +295,7 @@ interface ClientIpOptions {
|
|
|
295
295
|
}
|
|
296
296
|
/**
|
|
297
297
|
* How many submits, saves as they go and photo uploads one client may make per scope
|
|
298
|
-
* (
|
|
298
|
+
* (an organization, an account) in a window.
|
|
299
299
|
*
|
|
300
300
|
* - submit: 60 responses per 10 minutes: a class at one gym's Wi-Fi fits.
|
|
301
301
|
* - progress: saving answers as they go. A visit counts once, against `submit`, at its
|
|
@@ -329,7 +329,7 @@ declare function clientIp(headers: Pick<Headers, "get">, options?: readonly stri
|
|
|
329
329
|
declare function addressPrefix(ip: string): string;
|
|
330
330
|
/**
|
|
331
331
|
* The stored key, `<kind>:<scope>:<hex HMAC-SHA256 of the address prefix>`: what is
|
|
332
|
-
* counted (such as `submit`, `progress`, `upload`), whose count it is (
|
|
332
|
+
* counted (such as `submit`, `progress`, `upload`), whose count it is (an organization id),
|
|
333
333
|
* and the client, which is never stored as its address. `secret` is a server secret.
|
|
334
334
|
*/
|
|
335
335
|
declare function rateLimitKey(input: {
|
|
@@ -462,7 +462,7 @@ interface UploadForm {
|
|
|
462
462
|
definition: FormDefinition;
|
|
463
463
|
/** Whether it takes responses now (not paused, closed, full…). */
|
|
464
464
|
open: boolean;
|
|
465
|
-
/** Whose rate-limit count this is:
|
|
465
|
+
/** Whose rate-limit count this is: an organization, an account. */
|
|
466
466
|
scope: string;
|
|
467
467
|
/** Whether its edit links work. Default false: no uploads for an edit. */
|
|
468
468
|
allowsEdits?: boolean | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HostOptions, A as AnswerSnapshot, F as FieldValidator } from './validate-
|
|
2
|
-
import { a as FieldBlock, J as Json, F as FormDefinition, e as FormEvent } from './types-
|
|
1
|
+
import { H as HostOptions, A as AnswerSnapshot, F as FieldValidator } from './validate-CocUgR5Q.cjs';
|
|
2
|
+
import { a as FieldBlock, J as Json, F as FormDefinition, e as FormEvent } from './types-BBDa8oXu.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The `photo` field type: a respondent attaches up to a few photos, such as a
|
|
@@ -295,7 +295,7 @@ interface ClientIpOptions {
|
|
|
295
295
|
}
|
|
296
296
|
/**
|
|
297
297
|
* How many submits, saves as they go and photo uploads one client may make per scope
|
|
298
|
-
* (
|
|
298
|
+
* (an organization, an account) in a window.
|
|
299
299
|
*
|
|
300
300
|
* - submit: 60 responses per 10 minutes: a class at one gym's Wi-Fi fits.
|
|
301
301
|
* - progress: saving answers as they go. A visit counts once, against `submit`, at its
|
|
@@ -329,7 +329,7 @@ declare function clientIp(headers: Pick<Headers, "get">, options?: readonly stri
|
|
|
329
329
|
declare function addressPrefix(ip: string): string;
|
|
330
330
|
/**
|
|
331
331
|
* The stored key, `<kind>:<scope>:<hex HMAC-SHA256 of the address prefix>`: what is
|
|
332
|
-
* counted (such as `submit`, `progress`, `upload`), whose count it is (
|
|
332
|
+
* counted (such as `submit`, `progress`, `upload`), whose count it is (an organization id),
|
|
333
333
|
* and the client, which is never stored as its address. `secret` is a server secret.
|
|
334
334
|
*/
|
|
335
335
|
declare function rateLimitKey(input: {
|
|
@@ -462,7 +462,7 @@ interface UploadForm {
|
|
|
462
462
|
definition: FormDefinition;
|
|
463
463
|
/** Whether it takes responses now (not paused, closed, full…). */
|
|
464
464
|
open: boolean;
|
|
465
|
-
/** Whose rate-limit count this is:
|
|
465
|
+
/** Whose rate-limit count this is: an organization, an account. */
|
|
466
466
|
scope: string;
|
|
467
467
|
/** Whether its edit links work. Default false: no uploads for an edit. */
|
|
468
468
|
allowsEdits?: boolean | undefined;
|