@aglyn/plugins-forms 1.0.0-beta.220 → 1.0.0-beta.222
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/README.md +1 -0
- package/package.json +14 -12
- package/src/lib/components/form-detail-card.js +166 -29
- package/src/lib/components/form-detail-card.js.map +1 -1
- package/src/lib/components/form-submissions-card.component.d.ts +12 -0
- package/src/lib/components/form-submissions-card.component.js +35 -2
- package/src/lib/components/form-submissions-card.component.js.map +1 -1
- package/src/lib/components/form.js +2 -1
- package/src/lib/components/form.js.map +1 -1
- package/src/lib/components/host-forms-card.component.d.ts +8 -0
- package/src/lib/components/host-forms-card.component.js +26 -1
- package/src/lib/components/host-forms-card.component.js.map +1 -1
- package/src/lib/components/site-package-form-preview.component.d.ts +13 -0
- package/src/lib/components/site-package-form-preview.component.js +57 -0
- package/src/lib/components/site-package-form-preview.component.js.map +1 -0
- package/src/lib/constants/site-package.d.ts +18 -0
- package/src/lib/constants/site-package.js +18 -0
- package/src/lib/constants/site-package.js.map +1 -0
- package/src/lib/declarations.console-server.d.ts +39 -0
- package/src/lib/declarations.console-server.js +68 -0
- package/src/lib/declarations.console-server.js.map +1 -0
- package/src/lib/declarations.server.js +22 -0
- package/src/lib/declarations.server.js.map +1 -1
- package/src/lib/model/form-door.d.ts +37 -0
- package/src/lib/model/form-door.js +50 -0
- package/src/lib/model/form-door.js.map +1 -0
- package/src/lib/model/form-submission-counts.d.ts +26 -0
- package/src/lib/model/form-submission-counts.js +35 -0
- package/src/lib/model/form-submission-counts.js.map +1 -0
- package/src/lib/model/form-submission-list.d.ts +40 -0
- package/src/lib/model/form-submission-list.js +66 -0
- package/src/lib/model/form-submission-list.js.map +1 -0
- package/src/lib/model/form-submission-record.d.ts +50 -0
- package/src/lib/model/form-submission-record.js +68 -0
- package/src/lib/model/form-submission-record.js.map +1 -0
- package/src/lib/model/form-unavailable.d.ts +83 -0
- package/src/lib/model/form-unavailable.js +88 -0
- package/src/lib/model/form-unavailable.js.map +1 -0
- package/src/lib/model/forms-record-lists.d.ts +31 -0
- package/src/lib/model/forms-record-lists.js +50 -0
- package/src/lib/model/forms-record-lists.js.map +1 -0
- package/src/lib/plan-entitlements.js +6 -6
- package/src/lib/plan-entitlements.js.map +1 -1
- package/src/lib/plugin.js +34 -0
- package/src/lib/plugin.js.map +1 -1
- package/src/lib/server/api-v1/form-submissions.d.ts +34 -0
- package/src/lib/server/api-v1/form-submissions.js +273 -0
- package/src/lib/server/api-v1/form-submissions.js.map +1 -0
- package/src/lib/server/api-v1/openapi.d.ts +26 -0
- package/src/lib/server/api-v1/openapi.js +133 -0
- package/src/lib/server/api-v1/openapi.js.map +1 -0
- package/src/lib/server/form-intake-gate.d.ts +34 -0
- package/src/lib/server/form-intake-gate.js +44 -0
- package/src/lib/server/form-intake-gate.js.map +1 -0
- package/src/lib/server/form-submission-index.d.ts +26 -0
- package/src/lib/server/form-submission-index.js +51 -0
- package/src/lib/server/form-submission-index.js.map +1 -0
- package/src/lib/server/form-submit.d.ts +43 -0
- package/src/lib/server/form-submit.js +769 -0
- package/src/lib/server/form-submit.js.map +1 -0
- package/src/lib/server/increment-form-stats.d.ts +70 -0
- package/src/lib/server/increment-form-stats.js +112 -0
- package/src/lib/server/increment-form-stats.js.map +1 -0
- package/src/lib/server.d.ts +10 -0
- package/src/lib/server.js +15 -0
- package/src/lib/server.js.map +1 -1
- package/src/lib/transfer/form-submissions-transfer-key.d.ts +37 -0
- package/src/lib/transfer/form-submissions-transfer-key.js +40 -0
- package/src/lib/transfer/form-submissions-transfer-key.js.map +1 -0
- package/src/lib/transfer/form-submissions-transfer.d.ts +98 -0
- package/src/lib/transfer/form-submissions-transfer.js +563 -0
- package/src/lib/transfer/form-submissions-transfer.js.map +1 -0
- package/src/lib/transfer/form-submissions-transfer.server.d.ts +26 -0
- package/src/lib/transfer/form-submissions-transfer.server.js +31 -0
- package/src/lib/transfer/form-submissions-transfer.server.js.map +1 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { type FormSubmissionsTransferResource } from './form-submissions-transfer';
|
|
18
|
+
/**
|
|
19
|
+
* The submissions resource over the console's Admin SDK. Loaded by the
|
|
20
|
+
* console-server declarations with the first export, never at boot: this
|
|
21
|
+
* module is what brings `firebase-admin`, so the declarations import it
|
|
22
|
+
* lazily and import no other library lazily — a lazy import of a library
|
|
23
|
+
* would make every static import of it, across the plugin and the apps, a
|
|
24
|
+
* module boundary error.
|
|
25
|
+
*/
|
|
26
|
+
export declare function adminFormSubmissionsTransferResource(): FormSubmissionsTransferResource;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ import { firebaseAdmin } from "@aglyn/tenant-data-admin/server/firebase-admin";
|
|
17
|
+
import { createFormSubmissionsTransferResource } from "./form-submissions-transfer.js";
|
|
18
|
+
/**
|
|
19
|
+
* The submissions resource over the console's Admin SDK. Loaded by the
|
|
20
|
+
* console-server declarations with the first export, never at boot: this
|
|
21
|
+
* module is what brings `firebase-admin`, so the declarations import it
|
|
22
|
+
* lazily and import no other library lazily — a lazy import of a library
|
|
23
|
+
* would make every static import of it, across the plugin and the apps, a
|
|
24
|
+
* module boundary error.
|
|
25
|
+
*/ export function adminFormSubmissionsTransferResource() {
|
|
26
|
+
return createFormSubmissionsTransferResource({
|
|
27
|
+
firestore: firebaseAdmin.app().firestore()
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=form-submissions-transfer.server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/plugins/forms/src/lib/transfer/form-submissions-transfer.server.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { firebaseAdmin } from '@aglyn/tenant-data-admin/server/firebase-admin'\nimport {\n createFormSubmissionsTransferResource,\n type FormSubmissionsTransferResource,\n} from './form-submissions-transfer'\n\n/**\n * The submissions resource over the console's Admin SDK. Loaded by the\n * console-server declarations with the first export, never at boot: this\n * module is what brings `firebase-admin`, so the declarations import it\n * lazily and import no other library lazily — a lazy import of a library\n * would make every static import of it, across the plugin and the apps, a\n * module boundary error.\n */\nexport function adminFormSubmissionsTransferResource(): FormSubmissionsTransferResource {\n return createFormSubmissionsTransferResource({ firestore: firebaseAdmin.app().firestore() })\n}\n"],"names":["firebaseAdmin","createFormSubmissionsTransferResource","adminFormSubmissionsTransferResource","firestore","app"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,SAASA,aAAa,QAAQ,iDAAgD;AAC9E,SACEC,qCAAqC,QAEhC,iCAA6B;AAEpC;;;;;;;CAOC,GACD,OAAO,SAASC;IACd,OAAOD,sCAAsC;QAAEE,WAAWH,cAAcI,GAAG,GAAGD,SAAS;IAAG;AAC5F"}
|