@ttt-productions/ttt-core 0.33.0 → 0.34.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/doc-schemas/ncii/allegations.d.ts +6 -1
- package/dist/doc-schemas/ncii/allegations.d.ts.map +1 -1
- package/dist/doc-schemas/ncii/allegations.js +5 -2
- package/dist/doc-schemas/ncii/allegations.js.map +1 -1
- package/dist/doc-schemas/registry.d.ts +1 -0
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
/** Who alleged: an authenticated user
|
|
2
|
+
/** Who alleged: an authenticated user, an anonymous member of the public, or an `operator` — an
|
|
3
|
+
* admin who found existing on-platform content and marked it as NCII-linked evidence (the
|
|
4
|
+
* admin-only "NCII linked evidence" report option). Operator allegations are the unlinked
|
|
5
|
+
* evidence POOL (status `received`, no `caseId`) until an operator links one to a case. */
|
|
3
6
|
export declare const NciiAllegationReporterTypeSchema: z.ZodEnum<{
|
|
7
|
+
operator: "operator";
|
|
4
8
|
authenticatedUser: "authenticatedUser";
|
|
5
9
|
anonymousPublic: "anonymousPublic";
|
|
6
10
|
}>;
|
|
@@ -22,6 +26,7 @@ export declare const NciiAllegationV1Schema: z.ZodObject<{
|
|
|
22
26
|
allegationId: z.ZodString;
|
|
23
27
|
caseId: z.ZodOptional<z.ZodString>;
|
|
24
28
|
reporterType: z.ZodEnum<{
|
|
29
|
+
operator: "operator";
|
|
25
30
|
authenticatedUser: "authenticatedUser";
|
|
26
31
|
anonymousPublic: "anonymousPublic";
|
|
27
32
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allegations.d.ts","sourceRoot":"","sources":["../../../src/doc-schemas/ncii/allegations.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB
|
|
1
|
+
{"version":3,"file":"allegations.d.ts","sourceRoot":"","sources":["../../../src/doc-schemas/ncii/allegations.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;;4FAG4F;AAC5F,eAAO,MAAM,gCAAgC;;;;EAA+D,CAAC;AAC7G,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F;8EAC8E;AAC9E,eAAO,MAAM,0BAA0B;;;;;EAA2D,CAAC;AACnG,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E;;oDAEoD;AACpD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAUxB,CAAC;AACZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -23,8 +23,11 @@ import { TargetLocatorV1Schema } from '../safety/foundation.js';
|
|
|
23
23
|
// ===========================================================================
|
|
24
24
|
// §A11 (1) — nciiAllegations/{allegationId}
|
|
25
25
|
// ===========================================================================
|
|
26
|
-
/** Who alleged: an authenticated user
|
|
27
|
-
|
|
26
|
+
/** Who alleged: an authenticated user, an anonymous member of the public, or an `operator` — an
|
|
27
|
+
* admin who found existing on-platform content and marked it as NCII-linked evidence (the
|
|
28
|
+
* admin-only "NCII linked evidence" report option). Operator allegations are the unlinked
|
|
29
|
+
* evidence POOL (status `received`, no `caseId`) until an operator links one to a case. */
|
|
30
|
+
export const NciiAllegationReporterTypeSchema = z.enum(['authenticatedUser', 'anonymousPublic', 'operator']);
|
|
28
31
|
/** Allegation lifecycle status — `received` until triaged into one of the
|
|
29
32
|
* terminal/linked states. An allegation NEVER becomes a statutory request. */
|
|
30
33
|
export const NciiAllegationStatusSchema = z.enum(['received', 'linked', 'dismissed', 'escalated']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allegations.js","sourceRoot":"","sources":["../../../src/doc-schemas/ncii/allegations.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,EAAE;AACF,kFAAkF;AAClF,iFAAiF;AACjF,8EAA8E;AAC9E,4EAA4E;AAC5E,gEAAgE;AAChE,EAAE;AACF,0EAA0E;AAC1E,4EAA4E;AAC5E,2BAA2B;AAC3B,EAAE;AACF,kFAAkF;AAClF,6EAA6E;AAC7E,iCAAiC;AACjC,EAAE;AACF,8EAA8E;AAC9E,kFAAkF;AAClF,4EAA4E;AAC5E,kCAAkC;AAElC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,8EAA8E;AAC9E,4CAA4C;AAC5C,8EAA8E;AAE9E
|
|
1
|
+
{"version":3,"file":"allegations.js","sourceRoot":"","sources":["../../../src/doc-schemas/ncii/allegations.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,EAAE;AACF,kFAAkF;AAClF,iFAAiF;AACjF,8EAA8E;AAC9E,4EAA4E;AAC5E,gEAAgE;AAChE,EAAE;AACF,0EAA0E;AAC1E,4EAA4E;AAC5E,2BAA2B;AAC3B,EAAE;AACF,kFAAkF;AAClF,6EAA6E;AAC7E,iCAAiC;AACjC,EAAE;AACF,8EAA8E;AAC9E,kFAAkF;AAClF,4EAA4E;AAC5E,kCAAkC;AAElC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,8EAA8E;AAC9E,4CAA4C;AAC5C,8EAA8E;AAE9E;;;4FAG4F;AAC5F,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,UAAU,CAAC,CAAC,CAAC;AAG7G;8EAC8E;AAC9E,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC;AAGnG;;oDAEoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpC,YAAY,EAAE,gCAAgC;IAC9C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,uFAAuF;IACvF,aAAa,EAAE,qBAAqB;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAC5F,MAAM,EAAE,0BAA0B;CACnC,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
|
@@ -4469,6 +4469,7 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
4469
4469
|
allegationId: z.ZodString;
|
|
4470
4470
|
caseId: z.ZodOptional<z.ZodString>;
|
|
4471
4471
|
reporterType: z.ZodEnum<{
|
|
4472
|
+
operator: "operator";
|
|
4472
4473
|
authenticatedUser: "authenticatedUser";
|
|
4473
4474
|
anonymousPublic: "anonymousPublic";
|
|
4474
4475
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/registry.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoL7B,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/registry.ts"],"names":[],"m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