@learncard/network-brain-service 3.19.1 → 4.0.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/.env.example +44 -111
- package/AGENTS.md +52 -0
- package/CHANGELOG.md +109 -0
- package/README.md +9 -2
- package/bootstrapLambda.test.ts +72 -0
- package/config/config.dev.json +29 -0
- package/config/config.example.json +29 -0
- package/config/config.json +1 -0
- package/config/config.production.json +29 -0
- package/config/config.scouts.dev.json +24 -0
- package/config/config.scouts.production.json +24 -0
- package/contractEventsLambda.ts +18 -0
- package/contractEventsLambdaApp.ts +19 -0
- package/didWebLambda.ts +13 -18
- package/didWebLambdaApp.ts +22 -0
- package/dist/accesslayer/app-manifest-version/create.d.ts +10 -0
- package/dist/accesslayer/app-manifest-version/create.d.ts.map +1 -0
- package/dist/accesslayer/app-manifest-version/read.d.ts +11 -0
- package/dist/accesslayer/app-manifest-version/read.d.ts.map +1 -0
- package/dist/accesslayer/app-manifest-version/update.d.ts +7 -0
- package/dist/accesslayer/app-manifest-version/update.d.ts.map +1 -0
- package/dist/accesslayer/app-store-listing/read.d.ts +2 -1
- package/dist/accesslayer/app-store-listing/read.d.ts.map +1 -1
- package/dist/accesslayer/app-store-listing/relationships/create.d.ts +1 -0
- package/dist/accesslayer/app-store-listing/relationships/create.d.ts.map +1 -1
- package/dist/accesslayer/app-store-listing/relationships/read.d.ts +2 -0
- package/dist/accesslayer/app-store-listing/relationships/read.d.ts.map +1 -1
- package/dist/accesslayer/app-store-listing/update.d.ts +1 -0
- package/dist/accesslayer/app-store-listing/update.d.ts.map +1 -1
- package/dist/accesslayer/boost/relationships/create.d.ts +2 -1
- package/dist/accesslayer/boost/relationships/create.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/create.d.ts +9 -1
- package/dist/accesslayer/consentflowcontract/create.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/read.d.ts +34 -3
- package/dist/accesslayer/consentflowcontract/read.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/relationships/create.d.ts +4 -1
- package/dist/accesslayer/consentflowcontract/relationships/create.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/relationships/delete.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/relationships/read.d.ts +3 -2
- package/dist/accesslayer/consentflowcontract/relationships/read.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/relationships/recipients.d.ts +12 -0
- package/dist/accesslayer/consentflowcontract/relationships/recipients.d.ts.map +1 -0
- package/dist/accesslayer/consentflowcontract/relationships/smartResume.d.ts +12 -0
- package/dist/accesslayer/consentflowcontract/relationships/smartResume.d.ts.map +1 -0
- package/dist/accesslayer/consentflowcontract/relationships/update.d.ts +8 -5
- package/dist/accesslayer/consentflowcontract/relationships/update.d.ts.map +1 -1
- package/dist/accesslayer/credential/create.d.ts +2 -1
- package/dist/accesslayer/credential/create.d.ts.map +1 -1
- package/dist/accesslayer/credential/relationships/create.d.ts +4 -3
- package/dist/accesslayer/credential/relationships/create.d.ts.map +1 -1
- package/dist/accesslayer/inbox-credential/relationships/create.d.ts +2 -1
- package/dist/accesslayer/inbox-credential/relationships/create.d.ts.map +1 -1
- package/dist/accesslayer/inbox-credential/update.d.ts +2 -1
- package/dist/accesslayer/inbox-credential/update.d.ts.map +1 -1
- package/dist/accesslayer/share-link/abandon.d.ts.map +1 -1
- package/dist/accesslayer/share-link/attachment.d.ts +37 -0
- package/dist/accesslayer/share-link/attachment.d.ts.map +1 -0
- package/dist/accesslayer/share-link/finalize.d.ts.map +1 -1
- package/dist/accesslayer/share-link/helpers.d.ts +3 -0
- package/dist/accesslayer/share-link/helpers.d.ts.map +1 -1
- package/dist/accesslayer/share-link/recovery.d.ts.map +1 -1
- package/dist/accesslayer/share-link/reserve.d.ts.map +1 -1
- package/dist/accesslayer/share-link/revoke.d.ts.map +1 -1
- package/dist/accesslayer/share-link/types.d.ts +8 -3
- package/dist/accesslayer/share-link/types.d.ts.map +1 -1
- package/dist/cache/app-store.caches.d.ts +49 -0
- package/dist/cache/app-store.caches.d.ts.map +1 -1
- package/dist/config/applyDockerStageConfig.d.ts +2 -0
- package/dist/config/applyDockerStageConfig.d.ts.map +1 -0
- package/dist/config/environment.d.ts +5 -0
- package/dist/config/environment.d.ts.map +1 -1
- package/dist/config/serverlessFunctionEnv.test.d.ts +2 -0
- package/dist/config/serverlessFunctionEnv.test.d.ts.map +1 -0
- package/dist/config/stageConfig.d.ts +112 -0
- package/dist/config/stageConfig.d.ts.map +1 -0
- package/dist/config/stageConfig.test.d.ts +2 -0
- package/dist/config/stageConfig.test.d.ts.map +1 -0
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/docker-entry.d.ts +1 -1
- package/dist/docker-entry.d.ts.map +1 -1
- package/dist/helpers/app-manifest.helpers.d.ts +5 -0
- package/dist/helpers/app-manifest.helpers.d.ts.map +1 -0
- package/dist/helpers/claim-hooks.helpers.d.ts +2 -1
- package/dist/helpers/claim-hooks.helpers.d.ts.map +1 -1
- package/dist/helpers/consent-referral.helpers.d.ts +2 -0
- package/dist/helpers/consent-referral.helpers.d.ts.map +1 -0
- package/dist/helpers/consent-scopes.helpers.d.ts +7 -0
- package/dist/helpers/consent-scopes.helpers.d.ts.map +1 -0
- package/dist/helpers/contract-event-maintenance.helpers.d.ts +3 -0
- package/dist/helpers/contract-event-maintenance.helpers.d.ts.map +1 -0
- package/dist/helpers/contract-events.helpers.d.ts +25 -0
- package/dist/helpers/contract-events.helpers.d.ts.map +1 -0
- package/dist/helpers/contract-requests.helpers.d.ts +19 -0
- package/dist/helpers/contract-requests.helpers.d.ts.map +1 -0
- package/dist/helpers/finalize-inbox.helpers.d.ts +3 -3
- package/dist/helpers/finalize-inbox.helpers.d.ts.map +1 -1
- package/dist/helpers/inbox.helpers.d.ts.map +1 -1
- package/dist/helpers/inline-template.helpers.d.ts +45 -0
- package/dist/helpers/inline-template.helpers.d.ts.map +1 -0
- package/dist/helpers/notificationMessages.d.ts +1 -1
- package/dist/helpers/notificationMessages.d.ts.map +1 -1
- package/dist/helpers/notificationQueue.helpers.d.ts.map +1 -1
- package/dist/helpers/notifications.helpers.d.ts +6 -0
- package/dist/helpers/notifications.helpers.d.ts.map +1 -1
- package/dist/helpers/profile.helpers.d.ts +1 -0
- package/dist/helpers/profile.helpers.d.ts.map +1 -1
- package/dist/helpers/share-link-attachment-access.d.ts +4 -0
- package/dist/helpers/share-link-attachment-access.d.ts.map +1 -0
- package/dist/helpers/share-link-attachment.d.ts +18 -0
- package/dist/helpers/share-link-attachment.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/attachment-stat.d.ts +5 -0
- package/dist/helpers/share-link-coordinator/attachment-stat.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/coordinator.d.ts.map +1 -1
- package/dist/helpers/share-link-coordinator/recovery-runner.d.ts.map +1 -1
- package/dist/helpers/share-link-maintenance/runner.d.ts +1 -0
- package/dist/helpers/share-link-maintenance/runner.d.ts.map +1 -1
- package/dist/helpers/share-link-maintenance/runtime.d.ts +2 -0
- package/dist/helpers/share-link-maintenance/runtime.d.ts.map +1 -1
- package/dist/helpers/share-link-maintenance/telemetry.d.ts.map +1 -1
- package/dist/helpers/share-link-maintenance/types.d.ts +4 -1
- package/dist/helpers/share-link-maintenance/types.d.ts.map +1 -1
- package/dist/helpers/share-link-owner-projection.d.ts.map +1 -1
- package/dist/helpers/share-link-policy/production.d.ts +3 -5
- package/dist/helpers/share-link-policy/production.d.ts.map +1 -1
- package/dist/helpers/share-link-policy/resolver.d.ts +1 -1
- package/dist/helpers/share-link-policy/resolver.d.ts.map +1 -1
- package/dist/helpers/share-link-policy/types.d.ts +8 -2
- package/dist/helpers/share-link-policy/types.d.ts.map +1 -1
- package/dist/helpers/signingAuthority.helpers.d.ts.map +1 -1
- package/dist/helpers/smartResume.helpers.d.ts +3 -0
- package/dist/helpers/smartResume.helpers.d.ts.map +1 -0
- package/dist/index.js +2 -2
- package/dist/models/AppManifestVersion.d.ts +20 -0
- package/dist/models/AppManifestVersion.d.ts.map +1 -0
- package/dist/models/AppStoreListing.d.ts +13 -0
- package/dist/models/AppStoreListing.d.ts.map +1 -1
- package/dist/models/ConsentFlowContract.d.ts +13 -2
- package/dist/models/ConsentFlowContract.d.ts.map +1 -1
- package/dist/models/ConsentFlowTerms.d.ts.map +1 -1
- package/dist/models/ConsentFlowTransaction.d.ts.map +1 -1
- package/dist/models/Integration.d.ts +2 -0
- package/dist/models/Integration.d.ts.map +1 -1
- package/dist/models/ShareLink.d.ts +2 -0
- package/dist/models/ShareLink.d.ts.map +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/share-link-constraints.d.ts.map +1 -1
- package/dist/openapi.d.ts +1 -1
- package/dist/openapi.d.ts.map +1 -1
- package/dist/routes/app-store.d.ts +619 -0
- package/dist/routes/app-store.d.ts.map +1 -1
- package/dist/routes/boosts.d.ts +2 -2
- package/dist/routes/boosts.d.ts.map +1 -1
- package/dist/routes/contracts.d.ts +146 -3
- package/dist/routes/contracts.d.ts.map +1 -1
- package/dist/routes/credentials.d.ts +34 -0
- package/dist/routes/credentials.d.ts.map +1 -1
- package/dist/routes/inbox.d.ts +52 -2
- package/dist/routes/inbox.d.ts.map +1 -1
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/profile-manager.d.ts.map +1 -1
- package/dist/routes/profiles.d.ts.map +1 -1
- package/dist/routes/public-share-links.d.ts +55 -0
- package/dist/routes/public-share-links.d.ts.map +1 -1
- package/dist/routes/share-links.d.ts +175 -14
- package/dist/routes/share-links.d.ts.map +1 -1
- package/dist/routes/test.d.ts +5 -0
- package/dist/routes/test.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/types/app-manifest.d.ts +339 -0
- package/dist/types/app-manifest.d.ts.map +1 -0
- package/dist/types/app-store-listing.d.ts +34 -0
- package/dist/types/app-store-listing.d.ts.map +1 -1
- package/dist/types/consentflowcontract.d.ts +30 -3
- package/dist/types/consentflowcontract.d.ts.map +1 -1
- package/dist/types/credential-refresh.d.ts +1 -1
- package/esbuildPlugins.cjs +1 -0
- package/lambda.ts +49 -195
- package/lambdaApp.ts +203 -0
- package/package.json +20 -18
- package/scripts/export-openapi.ts +20 -0
- package/scripts/offline-schema-environment.ts +18 -0
- package/scripts/verify-python-contracts.ts +72 -0
- package/serverless-local.yml +3 -6
- package/serverless.function-env.cjs +50 -0
- package/serverless.local.yml +0 -1
- package/serverless.yml +27 -74
- package/shareLinkMaintenanceLambda.ts +13 -44
- package/shareLinkMaintenanceLambdaApp.ts +50 -0
- package/src/accesslayer/app-manifest-version/create.ts +57 -0
- package/src/accesslayer/app-manifest-version/read.ts +129 -0
- package/src/accesslayer/app-manifest-version/update.ts +61 -0
- package/src/accesslayer/app-store-listing/read.ts +6 -0
- package/src/accesslayer/app-store-listing/relationships/create.ts +20 -0
- package/src/accesslayer/app-store-listing/relationships/read.ts +24 -1
- package/src/accesslayer/app-store-listing/update.ts +15 -0
- package/src/accesslayer/boost/relationships/create.ts +8 -2
- package/src/accesslayer/consentflowcontract/create.ts +81 -8
- package/src/accesslayer/consentflowcontract/read.ts +84 -10
- package/src/accesslayer/consentflowcontract/relationships/create.ts +116 -93
- package/src/accesslayer/consentflowcontract/relationships/delete.ts +1 -0
- package/src/accesslayer/consentflowcontract/relationships/read.ts +184 -108
- package/src/accesslayer/consentflowcontract/relationships/recipients.ts +125 -0
- package/src/accesslayer/consentflowcontract/relationships/smartResume.ts +125 -0
- package/src/accesslayer/consentflowcontract/relationships/update.ts +240 -189
- package/src/accesslayer/credential/create.test.ts +2 -115
- package/src/accesslayer/credential/create.ts +11 -6
- package/src/accesslayer/credential/relationships/create.ts +17 -10
- package/src/accesslayer/inbox-credential/relationships/create.ts +70 -48
- package/src/accesslayer/inbox-credential/update.ts +4 -2
- package/src/accesslayer/share-link/abandon.ts +20 -0
- package/src/accesslayer/share-link/attachment.ts +360 -0
- package/src/accesslayer/share-link/finalize.ts +55 -7
- package/src/accesslayer/share-link/helpers.ts +33 -2
- package/src/accesslayer/share-link/recovery.ts +20 -0
- package/src/accesslayer/share-link/reserve.ts +85 -6
- package/src/accesslayer/share-link/revoke.ts +35 -0
- package/src/accesslayer/share-link/types.ts +9 -4
- package/src/cache/app-store.caches.ts +35 -0
- package/src/config/applyDockerStageConfig.ts +6 -0
- package/src/config/environment.test.ts +17 -12
- package/src/config/environment.ts +1 -0
- package/src/config/serverlessFunctionEnv.test.ts +105 -0
- package/src/config/stageConfig.test.ts +25 -0
- package/src/config/stageConfig.ts +24 -0
- package/src/docker-entry.ts +24 -0
- package/src/helpers/app-manifest.helpers.ts +185 -0
- package/src/helpers/claim-hooks.helpers.ts +20 -7
- package/src/helpers/consent-referral.helpers.ts +6 -0
- package/src/helpers/consent-scopes.helpers.ts +58 -0
- package/src/helpers/contract-event-maintenance.helpers.ts +43 -0
- package/src/helpers/contract-events.helpers.ts +540 -0
- package/src/helpers/contract-requests.helpers.ts +211 -0
- package/src/helpers/finalize-inbox.helpers.ts +163 -44
- package/src/helpers/inbox.helpers.ts +51 -66
- package/src/helpers/inline-template.helpers.ts +560 -0
- package/src/helpers/notificationMessages.ts +59 -0
- package/src/helpers/notificationQueue.helpers.ts +23 -5
- package/src/helpers/notifications.helpers.ts +25 -1
- package/src/helpers/profile.helpers.ts +6 -0
- package/src/helpers/share-link-attachment-access.ts +87 -0
- package/src/helpers/share-link-attachment.ts +115 -0
- package/src/helpers/share-link-coordinator/attachment-stat.ts +41 -0
- package/src/helpers/share-link-coordinator/coordinator.ts +15 -2
- package/src/helpers/share-link-coordinator/recovery-runner.ts +15 -0
- package/src/helpers/share-link-maintenance/runner.ts +28 -0
- package/src/helpers/share-link-maintenance/runtime.ts +6 -0
- package/src/helpers/share-link-maintenance/telemetry.ts +3 -0
- package/src/helpers/share-link-maintenance/types.ts +2 -0
- package/src/helpers/share-link-owner-projection.ts +2 -0
- package/src/helpers/share-link-policy/production.ts +37 -17
- package/src/helpers/share-link-policy/resolver.ts +16 -11
- package/src/helpers/share-link-policy/types.ts +15 -7
- package/src/helpers/signingAuthority.helpers.ts +23 -14
- package/src/helpers/smartResume.helpers.ts +123 -0
- package/src/models/AppManifestVersion.ts +43 -0
- package/src/models/AppStoreListing.ts +32 -0
- package/src/models/ConsentFlowContract.ts +34 -3
- package/src/models/ConsentFlowTerms.ts +10 -0
- package/src/models/ConsentFlowTransaction.ts +3 -0
- package/src/models/Integration.ts +2 -0
- package/src/models/ShareLink.ts +4 -0
- package/src/models/index.ts +23 -0
- package/src/models/share-link-constraints.ts +5 -0
- package/src/openapi.ts +44 -8
- package/src/routes/app-store.ts +1054 -27
- package/src/routes/boosts.ts +12 -14
- package/src/routes/contracts.ts +382 -262
- package/src/routes/inbox.ts +4 -2
- package/src/routes/index.ts +4 -1
- package/src/routes/profile-manager.ts +19 -0
- package/src/routes/profiles.ts +12 -0
- package/src/routes/public-share-links.ts +169 -0
- package/src/routes/share-links.ts +69 -0
- package/src/routes/workflows.ts +3 -2
- package/src/types/app-manifest.ts +28 -0
- package/src/types/app-store-listing.ts +13 -0
- package/src/types/consentflowcontract.ts +25 -4
- package/test/app-manifest.helpers.spec.ts +170 -0
- package/test/app-manifest.routes.spec.ts +299 -0
- package/test/app-store-listing-updates.spec.ts +236 -0
- package/test/app-store-listing.spec.ts +65 -3
- package/test/consent-data-boundaries.spec.ts +352 -0
- package/test/consent-recipients.spec.ts +513 -0
- package/test/consent-scopes.helpers.spec.ts +67 -0
- package/test/consentflow.spec.ts +63 -2
- package/test/contract-requests.spec.ts +1588 -0
- package/test/credential-storage.neo4j.spec.ts +122 -0
- package/test/guardian-gated-routes.spec.ts +36 -0
- package/test/inbox-security.e2e.ts +26 -10
- package/test/inbox.spec.ts +184 -8
- package/test/inline-template.helpers.spec.ts +49 -0
- package/test/managed-recipient-inbox.spec.ts +24 -2
- package/test/openapi.spec.ts +14 -73
- package/test/profiles.spec.ts +30 -0
- package/test/share-link-attachment.neo4j.spec.ts +262 -0
- package/test/share-link-attachment.unit.spec.ts +244 -0
- package/test/share-link-lifecycle.neo4j.spec.ts +145 -2
- package/test/share-link-maintenance.unit.spec.ts +32 -5
- package/test/share-link-owner-route.unit.spec.ts +70 -2
- package/test/share-link-policy.unit.spec.ts +18 -4
- package/test/share-link-production-policy.unit.spec.ts +58 -9
- package/test/share-link-public-route.unit.spec.ts +279 -0
- package/test/share-link-service-policy.neo4j.spec.ts +403 -0
- package/test/signing-authority-encryption.spec.ts +75 -0
- package/test/smart-resume-consent.spec.ts +233 -0
- package/test/smart-resume-upload.spec.ts +65 -0
- package/tsconfig.build.json +1 -1
- package/tsconfig.json +1 -0
- package/vitest.config.ts +13 -0
- package/vitest.inbox-e2e.config.ts +2 -0
- package/workerLambda.test.ts +100 -0
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { RecoveryRunnerDependencies, ShareLinkCoordinator } from '../helpers/share-link-coordinator';
|
|
2
|
+
import type { ShareLinkAttachmentOwnerApi } from '../helpers/share-link-attachment';
|
|
2
3
|
import type { ListShareLinksInput, ListShareLinksResult } from '../accesslayer/share-link/types';
|
|
3
4
|
export type ShareLinkRouterDependencies = {
|
|
4
5
|
readonly namespace: string;
|
|
5
6
|
readonly coordinator: ShareLinkCoordinator;
|
|
6
7
|
readonly recovery: RecoveryRunnerDependencies;
|
|
8
|
+
readonly attachments?: ShareLinkAttachmentOwnerApi;
|
|
9
|
+
readonly enforceAttachmentWriteRateLimit?: (ownerProfileId: string) => Promise<void>;
|
|
7
10
|
readonly listShareLinks: (input: ListShareLinksInput) => Promise<ListShareLinksResult>;
|
|
8
11
|
readonly enforceOwnerWriteRateLimit: (ownerProfileId: string) => Promise<void>;
|
|
9
12
|
readonly resolveViewCountingEligibility: (ownerProfileId: string) => Promise<boolean>;
|
|
@@ -14,6 +17,63 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
14
17
|
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
15
18
|
transformer: true;
|
|
16
19
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
20
|
+
putAttachmentChunk: import("@trpc/server").TRPCMutationProcedure<{
|
|
21
|
+
input: {
|
|
22
|
+
chunkCount: number;
|
|
23
|
+
envelope: {
|
|
24
|
+
v: 1;
|
|
25
|
+
alg: "A256GCM";
|
|
26
|
+
iv: string;
|
|
27
|
+
ct: string;
|
|
28
|
+
};
|
|
29
|
+
ownerEncryptedRecovery: {
|
|
30
|
+
protected: string;
|
|
31
|
+
iv: string;
|
|
32
|
+
ciphertext: string;
|
|
33
|
+
tag: string;
|
|
34
|
+
aad?: string | undefined;
|
|
35
|
+
recipients?: {
|
|
36
|
+
header: {
|
|
37
|
+
alg: string;
|
|
38
|
+
iv: string;
|
|
39
|
+
tag: string;
|
|
40
|
+
epk?: {
|
|
41
|
+
kty?: string | undefined;
|
|
42
|
+
crv?: string | undefined;
|
|
43
|
+
x?: string | undefined;
|
|
44
|
+
y?: string | undefined;
|
|
45
|
+
n?: string | undefined;
|
|
46
|
+
d?: string | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
kid?: string | undefined;
|
|
49
|
+
apv?: string | undefined;
|
|
50
|
+
apu?: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
encrypted_key: string;
|
|
53
|
+
}[] | undefined;
|
|
54
|
+
};
|
|
55
|
+
id: string;
|
|
56
|
+
contentVersion: number;
|
|
57
|
+
attachmentId: string;
|
|
58
|
+
chunkIndex: number;
|
|
59
|
+
};
|
|
60
|
+
output: {
|
|
61
|
+
ok: true;
|
|
62
|
+
};
|
|
63
|
+
meta: import(".././routes/index").RouteMetadata;
|
|
64
|
+
}>;
|
|
65
|
+
deleteAttachmentChunks: import("@trpc/server").TRPCMutationProcedure<{
|
|
66
|
+
input: {
|
|
67
|
+
id: string;
|
|
68
|
+
contentVersion: number;
|
|
69
|
+
attachmentId: string;
|
|
70
|
+
chunkCount: number;
|
|
71
|
+
};
|
|
72
|
+
output: {
|
|
73
|
+
ok: boolean;
|
|
74
|
+
};
|
|
75
|
+
meta: import(".././routes/index").RouteMetadata;
|
|
76
|
+
}>;
|
|
17
77
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
18
78
|
input: {
|
|
19
79
|
id: string;
|
|
@@ -57,6 +117,10 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
57
117
|
expiresAt?: string | null | undefined;
|
|
58
118
|
passcode?: string | undefined;
|
|
59
119
|
notifyOnView?: boolean | undefined;
|
|
120
|
+
attachment?: {
|
|
121
|
+
id: string;
|
|
122
|
+
chunkCount: number;
|
|
123
|
+
} | undefined;
|
|
60
124
|
};
|
|
61
125
|
output: {
|
|
62
126
|
status: "completed";
|
|
@@ -66,7 +130,7 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
66
130
|
selectedCount: number;
|
|
67
131
|
version: number;
|
|
68
132
|
contentVersion: number;
|
|
69
|
-
status: "
|
|
133
|
+
status: "pending" | "active" | "stopped";
|
|
70
134
|
contentState: "staging" | "finalized" | "content_missing";
|
|
71
135
|
createdAt: string;
|
|
72
136
|
updatedAt: string;
|
|
@@ -82,6 +146,8 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
82
146
|
viewCountingEnabled: boolean;
|
|
83
147
|
};
|
|
84
148
|
note?: string | undefined;
|
|
149
|
+
attachmentId?: string | null | undefined;
|
|
150
|
+
attachmentChunkCount?: number | null | undefined;
|
|
85
151
|
viewCount?: number | undefined;
|
|
86
152
|
contentUrl?: string | undefined;
|
|
87
153
|
};
|
|
@@ -136,6 +202,10 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
136
202
|
encrypted_key: string;
|
|
137
203
|
}[] | undefined;
|
|
138
204
|
} | undefined;
|
|
205
|
+
attachment?: {
|
|
206
|
+
id: string;
|
|
207
|
+
chunkCount: number;
|
|
208
|
+
} | undefined;
|
|
139
209
|
};
|
|
140
210
|
output: {
|
|
141
211
|
status: "completed";
|
|
@@ -145,7 +215,7 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
145
215
|
selectedCount: number;
|
|
146
216
|
version: number;
|
|
147
217
|
contentVersion: number;
|
|
148
|
-
status: "
|
|
218
|
+
status: "pending" | "active" | "stopped";
|
|
149
219
|
contentState: "staging" | "finalized" | "content_missing";
|
|
150
220
|
createdAt: string;
|
|
151
221
|
updatedAt: string;
|
|
@@ -161,6 +231,8 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
161
231
|
viewCountingEnabled: boolean;
|
|
162
232
|
};
|
|
163
233
|
note?: string | undefined;
|
|
234
|
+
attachmentId?: string | null | undefined;
|
|
235
|
+
attachmentChunkCount?: number | null | undefined;
|
|
164
236
|
viewCount?: number | undefined;
|
|
165
237
|
contentUrl?: string | undefined;
|
|
166
238
|
};
|
|
@@ -185,7 +257,7 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
185
257
|
selectedCount: number;
|
|
186
258
|
version: number;
|
|
187
259
|
contentVersion: number;
|
|
188
|
-
status: "
|
|
260
|
+
status: "pending" | "active" | "stopped";
|
|
189
261
|
contentState: "staging" | "finalized" | "content_missing";
|
|
190
262
|
createdAt: string;
|
|
191
263
|
updatedAt: string;
|
|
@@ -201,6 +273,8 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
201
273
|
viewCountingEnabled: boolean;
|
|
202
274
|
};
|
|
203
275
|
note?: string | undefined;
|
|
276
|
+
attachmentId?: string | null | undefined;
|
|
277
|
+
attachmentChunkCount?: number | null | undefined;
|
|
204
278
|
viewCount?: number | undefined;
|
|
205
279
|
contentUrl?: string | undefined;
|
|
206
280
|
};
|
|
@@ -224,7 +298,7 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
224
298
|
selectedCount: number;
|
|
225
299
|
version: number;
|
|
226
300
|
contentVersion: number;
|
|
227
|
-
status: "
|
|
301
|
+
status: "pending" | "active" | "stopped";
|
|
228
302
|
contentState: "staging" | "finalized" | "content_missing";
|
|
229
303
|
createdAt: string;
|
|
230
304
|
updatedAt: string;
|
|
@@ -240,6 +314,8 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
240
314
|
viewCountingEnabled: boolean;
|
|
241
315
|
};
|
|
242
316
|
note?: string | undefined;
|
|
317
|
+
attachmentId?: string | null | undefined;
|
|
318
|
+
attachmentChunkCount?: number | null | undefined;
|
|
243
319
|
viewCount?: number | undefined;
|
|
244
320
|
contentUrl?: string | undefined;
|
|
245
321
|
}[];
|
|
@@ -259,7 +335,7 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
259
335
|
selectedCount: number;
|
|
260
336
|
version: number;
|
|
261
337
|
contentVersion: number;
|
|
262
|
-
status: "
|
|
338
|
+
status: "pending" | "active" | "stopped";
|
|
263
339
|
contentState: "staging" | "finalized" | "content_missing";
|
|
264
340
|
createdAt: string;
|
|
265
341
|
updatedAt: string;
|
|
@@ -275,6 +351,8 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
275
351
|
viewCountingEnabled: boolean;
|
|
276
352
|
};
|
|
277
353
|
note?: string | undefined;
|
|
354
|
+
attachmentId?: string | null | undefined;
|
|
355
|
+
attachmentChunkCount?: number | null | undefined;
|
|
278
356
|
viewCount?: number | undefined;
|
|
279
357
|
contentUrl?: string | undefined;
|
|
280
358
|
};
|
|
@@ -301,7 +379,7 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
301
379
|
selectedCount: number;
|
|
302
380
|
version: number;
|
|
303
381
|
contentVersion: number;
|
|
304
|
-
status: "
|
|
382
|
+
status: "pending" | "active" | "stopped";
|
|
305
383
|
contentState: "staging" | "finalized" | "content_missing";
|
|
306
384
|
createdAt: string;
|
|
307
385
|
updatedAt: string;
|
|
@@ -317,6 +395,8 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
317
395
|
viewCountingEnabled: boolean;
|
|
318
396
|
};
|
|
319
397
|
note?: string | undefined;
|
|
398
|
+
attachmentId?: string | null | undefined;
|
|
399
|
+
attachmentChunkCount?: number | null | undefined;
|
|
320
400
|
viewCount?: number | undefined;
|
|
321
401
|
contentUrl?: string | undefined;
|
|
322
402
|
};
|
|
@@ -343,7 +423,7 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
343
423
|
selectedCount: number;
|
|
344
424
|
version: number;
|
|
345
425
|
contentVersion: number;
|
|
346
|
-
status: "
|
|
426
|
+
status: "pending" | "active" | "stopped";
|
|
347
427
|
contentState: "staging" | "finalized" | "content_missing";
|
|
348
428
|
createdAt: string;
|
|
349
429
|
updatedAt: string;
|
|
@@ -359,6 +439,8 @@ export declare const createShareLinksRouter: (getDependencies: () => Promise<Sha
|
|
|
359
439
|
viewCountingEnabled: boolean;
|
|
360
440
|
};
|
|
361
441
|
note?: string | undefined;
|
|
442
|
+
attachmentId?: string | null | undefined;
|
|
443
|
+
attachmentChunkCount?: number | null | undefined;
|
|
362
444
|
viewCount?: number | undefined;
|
|
363
445
|
contentUrl?: string | undefined;
|
|
364
446
|
};
|
|
@@ -432,6 +514,63 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
432
514
|
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
433
515
|
transformer: true;
|
|
434
516
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
517
|
+
putAttachmentChunk: import("@trpc/server").TRPCMutationProcedure<{
|
|
518
|
+
input: {
|
|
519
|
+
chunkCount: number;
|
|
520
|
+
envelope: {
|
|
521
|
+
v: 1;
|
|
522
|
+
alg: "A256GCM";
|
|
523
|
+
iv: string;
|
|
524
|
+
ct: string;
|
|
525
|
+
};
|
|
526
|
+
ownerEncryptedRecovery: {
|
|
527
|
+
protected: string;
|
|
528
|
+
iv: string;
|
|
529
|
+
ciphertext: string;
|
|
530
|
+
tag: string;
|
|
531
|
+
aad?: string | undefined;
|
|
532
|
+
recipients?: {
|
|
533
|
+
header: {
|
|
534
|
+
alg: string;
|
|
535
|
+
iv: string;
|
|
536
|
+
tag: string;
|
|
537
|
+
epk?: {
|
|
538
|
+
kty?: string | undefined;
|
|
539
|
+
crv?: string | undefined;
|
|
540
|
+
x?: string | undefined;
|
|
541
|
+
y?: string | undefined;
|
|
542
|
+
n?: string | undefined;
|
|
543
|
+
d?: string | undefined;
|
|
544
|
+
} | undefined;
|
|
545
|
+
kid?: string | undefined;
|
|
546
|
+
apv?: string | undefined;
|
|
547
|
+
apu?: string | undefined;
|
|
548
|
+
};
|
|
549
|
+
encrypted_key: string;
|
|
550
|
+
}[] | undefined;
|
|
551
|
+
};
|
|
552
|
+
id: string;
|
|
553
|
+
contentVersion: number;
|
|
554
|
+
attachmentId: string;
|
|
555
|
+
chunkIndex: number;
|
|
556
|
+
};
|
|
557
|
+
output: {
|
|
558
|
+
ok: true;
|
|
559
|
+
};
|
|
560
|
+
meta: import(".././routes/index").RouteMetadata;
|
|
561
|
+
}>;
|
|
562
|
+
deleteAttachmentChunks: import("@trpc/server").TRPCMutationProcedure<{
|
|
563
|
+
input: {
|
|
564
|
+
id: string;
|
|
565
|
+
contentVersion: number;
|
|
566
|
+
attachmentId: string;
|
|
567
|
+
chunkCount: number;
|
|
568
|
+
};
|
|
569
|
+
output: {
|
|
570
|
+
ok: boolean;
|
|
571
|
+
};
|
|
572
|
+
meta: import(".././routes/index").RouteMetadata;
|
|
573
|
+
}>;
|
|
435
574
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
436
575
|
input: {
|
|
437
576
|
id: string;
|
|
@@ -475,6 +614,10 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
475
614
|
expiresAt?: string | null | undefined;
|
|
476
615
|
passcode?: string | undefined;
|
|
477
616
|
notifyOnView?: boolean | undefined;
|
|
617
|
+
attachment?: {
|
|
618
|
+
id: string;
|
|
619
|
+
chunkCount: number;
|
|
620
|
+
} | undefined;
|
|
478
621
|
};
|
|
479
622
|
output: {
|
|
480
623
|
status: "completed";
|
|
@@ -484,7 +627,7 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
484
627
|
selectedCount: number;
|
|
485
628
|
version: number;
|
|
486
629
|
contentVersion: number;
|
|
487
|
-
status: "
|
|
630
|
+
status: "pending" | "active" | "stopped";
|
|
488
631
|
contentState: "staging" | "finalized" | "content_missing";
|
|
489
632
|
createdAt: string;
|
|
490
633
|
updatedAt: string;
|
|
@@ -500,6 +643,8 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
500
643
|
viewCountingEnabled: boolean;
|
|
501
644
|
};
|
|
502
645
|
note?: string | undefined;
|
|
646
|
+
attachmentId?: string | null | undefined;
|
|
647
|
+
attachmentChunkCount?: number | null | undefined;
|
|
503
648
|
viewCount?: number | undefined;
|
|
504
649
|
contentUrl?: string | undefined;
|
|
505
650
|
};
|
|
@@ -554,6 +699,10 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
554
699
|
encrypted_key: string;
|
|
555
700
|
}[] | undefined;
|
|
556
701
|
} | undefined;
|
|
702
|
+
attachment?: {
|
|
703
|
+
id: string;
|
|
704
|
+
chunkCount: number;
|
|
705
|
+
} | undefined;
|
|
557
706
|
};
|
|
558
707
|
output: {
|
|
559
708
|
status: "completed";
|
|
@@ -563,7 +712,7 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
563
712
|
selectedCount: number;
|
|
564
713
|
version: number;
|
|
565
714
|
contentVersion: number;
|
|
566
|
-
status: "
|
|
715
|
+
status: "pending" | "active" | "stopped";
|
|
567
716
|
contentState: "staging" | "finalized" | "content_missing";
|
|
568
717
|
createdAt: string;
|
|
569
718
|
updatedAt: string;
|
|
@@ -579,6 +728,8 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
579
728
|
viewCountingEnabled: boolean;
|
|
580
729
|
};
|
|
581
730
|
note?: string | undefined;
|
|
731
|
+
attachmentId?: string | null | undefined;
|
|
732
|
+
attachmentChunkCount?: number | null | undefined;
|
|
582
733
|
viewCount?: number | undefined;
|
|
583
734
|
contentUrl?: string | undefined;
|
|
584
735
|
};
|
|
@@ -603,7 +754,7 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
603
754
|
selectedCount: number;
|
|
604
755
|
version: number;
|
|
605
756
|
contentVersion: number;
|
|
606
|
-
status: "
|
|
757
|
+
status: "pending" | "active" | "stopped";
|
|
607
758
|
contentState: "staging" | "finalized" | "content_missing";
|
|
608
759
|
createdAt: string;
|
|
609
760
|
updatedAt: string;
|
|
@@ -619,6 +770,8 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
619
770
|
viewCountingEnabled: boolean;
|
|
620
771
|
};
|
|
621
772
|
note?: string | undefined;
|
|
773
|
+
attachmentId?: string | null | undefined;
|
|
774
|
+
attachmentChunkCount?: number | null | undefined;
|
|
622
775
|
viewCount?: number | undefined;
|
|
623
776
|
contentUrl?: string | undefined;
|
|
624
777
|
};
|
|
@@ -642,7 +795,7 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
642
795
|
selectedCount: number;
|
|
643
796
|
version: number;
|
|
644
797
|
contentVersion: number;
|
|
645
|
-
status: "
|
|
798
|
+
status: "pending" | "active" | "stopped";
|
|
646
799
|
contentState: "staging" | "finalized" | "content_missing";
|
|
647
800
|
createdAt: string;
|
|
648
801
|
updatedAt: string;
|
|
@@ -658,6 +811,8 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
658
811
|
viewCountingEnabled: boolean;
|
|
659
812
|
};
|
|
660
813
|
note?: string | undefined;
|
|
814
|
+
attachmentId?: string | null | undefined;
|
|
815
|
+
attachmentChunkCount?: number | null | undefined;
|
|
661
816
|
viewCount?: number | undefined;
|
|
662
817
|
contentUrl?: string | undefined;
|
|
663
818
|
}[];
|
|
@@ -677,7 +832,7 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
677
832
|
selectedCount: number;
|
|
678
833
|
version: number;
|
|
679
834
|
contentVersion: number;
|
|
680
|
-
status: "
|
|
835
|
+
status: "pending" | "active" | "stopped";
|
|
681
836
|
contentState: "staging" | "finalized" | "content_missing";
|
|
682
837
|
createdAt: string;
|
|
683
838
|
updatedAt: string;
|
|
@@ -693,6 +848,8 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
693
848
|
viewCountingEnabled: boolean;
|
|
694
849
|
};
|
|
695
850
|
note?: string | undefined;
|
|
851
|
+
attachmentId?: string | null | undefined;
|
|
852
|
+
attachmentChunkCount?: number | null | undefined;
|
|
696
853
|
viewCount?: number | undefined;
|
|
697
854
|
contentUrl?: string | undefined;
|
|
698
855
|
};
|
|
@@ -719,7 +876,7 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
719
876
|
selectedCount: number;
|
|
720
877
|
version: number;
|
|
721
878
|
contentVersion: number;
|
|
722
|
-
status: "
|
|
879
|
+
status: "pending" | "active" | "stopped";
|
|
723
880
|
contentState: "staging" | "finalized" | "content_missing";
|
|
724
881
|
createdAt: string;
|
|
725
882
|
updatedAt: string;
|
|
@@ -735,6 +892,8 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
735
892
|
viewCountingEnabled: boolean;
|
|
736
893
|
};
|
|
737
894
|
note?: string | undefined;
|
|
895
|
+
attachmentId?: string | null | undefined;
|
|
896
|
+
attachmentChunkCount?: number | null | undefined;
|
|
738
897
|
viewCount?: number | undefined;
|
|
739
898
|
contentUrl?: string | undefined;
|
|
740
899
|
};
|
|
@@ -761,7 +920,7 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
761
920
|
selectedCount: number;
|
|
762
921
|
version: number;
|
|
763
922
|
contentVersion: number;
|
|
764
|
-
status: "
|
|
923
|
+
status: "pending" | "active" | "stopped";
|
|
765
924
|
contentState: "staging" | "finalized" | "content_missing";
|
|
766
925
|
createdAt: string;
|
|
767
926
|
updatedAt: string;
|
|
@@ -777,6 +936,8 @@ export declare const shareLinksRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
777
936
|
viewCountingEnabled: boolean;
|
|
778
937
|
};
|
|
779
938
|
note?: string | undefined;
|
|
939
|
+
attachmentId?: string | null | undefined;
|
|
940
|
+
attachmentChunkCount?: number | null | undefined;
|
|
780
941
|
viewCount?: number | undefined;
|
|
781
942
|
contentUrl?: string | undefined;
|
|
782
943
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share-links.d.ts","sourceRoot":"","sources":["../../src/routes/share-links.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"share-links.d.ts","sourceRoot":"","sources":["../../src/routes/share-links.ts"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EACR,0BAA0B,EAC1B,oBAAoB,EAEvB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,KAAK,EACR,mBAAmB,EACnB,oBAAoB,EAEvB,MAAM,+BAA+B,CAAC;AAYvC,MAAM,MAAM,2BAA2B,GAAG;IACtC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,0BAA0B,CAAC;IAC9C,QAAQ,CAAC,WAAW,CAAC,EAAE,2BAA2B,CAAC;IACnD,QAAQ,CAAC,+BAA+B,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAMrF,QAAQ,CAAC,cAAc,EAAE,CAAC,KAAK,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoD,CAAC"}
|
package/dist/routes/test.d.ts
CHANGED
|
@@ -144,6 +144,11 @@ export declare const testRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
144
144
|
approvedAt: string;
|
|
145
145
|
contractUpdatedAt: string;
|
|
146
146
|
} | undefined;
|
|
147
|
+
referral?: {
|
|
148
|
+
requestId: string;
|
|
149
|
+
requestedBy: string;
|
|
150
|
+
externalReferenceId?: string | undefined;
|
|
151
|
+
} | undefined;
|
|
147
152
|
uris?: string[] | undefined;
|
|
148
153
|
} | undefined;
|
|
149
154
|
inbox?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/routes/test.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/routes/test.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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