@disclosureos/origins 1.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/CHANGELOG.md +19 -0
- package/LICENSE +21 -0
- package/README.md +95 -0
- package/dist/classification/index.d.ts +75 -0
- package/dist/classification/index.js +35 -0
- package/dist/classification/index.js.map +1 -0
- package/dist/constants/index.d.ts +41 -0
- package/dist/constants/index.js +1027 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/factories/index.d.ts +25 -0
- package/dist/factories/index.js +1067 -0
- package/dist/factories/index.js.map +1 -0
- package/dist/formatters/index.d.ts +9 -0
- package/dist/formatters/index.js +1036 -0
- package/dist/formatters/index.js.map +1 -0
- package/dist/guards/index.d.ts +3 -0
- package/dist/guards/index.js +1059 -0
- package/dist/guards/index.js.map +1 -0
- package/dist/index-BUFnYJ1s.d.ts +21 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.js +1231 -0
- package/dist/index.js.map +1 -0
- package/dist/labels/index.d.ts +7 -0
- package/dist/labels/index.js +1002 -0
- package/dist/labels/index.js.map +1 -0
- package/dist/reference/aaro/index.d.ts +26 -0
- package/dist/reference/aaro/index.js +47 -0
- package/dist/reference/aaro/index.js.map +1 -0
- package/dist/reference/geipan/index.d.ts +34 -0
- package/dist/reference/geipan/index.js +53 -0
- package/dist/reference/geipan/index.js.map +1 -0
- package/dist/reference/hynek/index.d.ts +37 -0
- package/dist/reference/hynek/index.js +27 -0
- package/dist/reference/hynek/index.js.map +1 -0
- package/dist/reference/index.d.ts +5 -0
- package/dist/reference/index.js +143 -0
- package/dist/reference/index.js.map +1 -0
- package/dist/reference/vallee/index.d.ts +40 -0
- package/dist/reference/vallee/index.js +37 -0
- package/dist/reference/vallee/index.js.map +1 -0
- package/dist/taxonomy/index.d.ts +20 -0
- package/dist/taxonomy/index.js +1071 -0
- package/dist/taxonomy/index.js.map +1 -0
- package/dist/taxonomy/metaphysical/index.d.ts +6 -0
- package/dist/taxonomy/metaphysical/index.js +995 -0
- package/dist/taxonomy/metaphysical/index.js.map +1 -0
- package/dist/taxonomy/physical/index.d.ts +6 -0
- package/dist/taxonomy/physical/index.js +995 -0
- package/dist/taxonomy/physical/index.js.map +1 -0
- package/dist/taxonomy/psychosocial/index.d.ts +6 -0
- package/dist/taxonomy/psychosocial/index.js +995 -0
- package/dist/taxonomy/psychosocial/index.js.map +1 -0
- package/dist/types-DhroHNFf.d.ts +62 -0
- package/package.json +136 -0
- package/schema/origins.schema.json +88 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
// src/reference/vallee/index.ts
|
|
4
|
+
var ValleeBehaviorSchema = z.enum(["AN", "FB", "MA", "CE"]).describe("Vall\xE9e behavior class (Anomaly / Fly-By / Maneuver / Close Encounter).");
|
|
5
|
+
var ValleeInteractionSchema = z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5)]).describe("Vall\xE9e interaction level (1=Sighting \u2026 5=Injury/Death).");
|
|
6
|
+
var ValleeClassificationSchema = z.object({
|
|
7
|
+
behavior: ValleeBehaviorSchema,
|
|
8
|
+
interaction: ValleeInteractionSchema,
|
|
9
|
+
code: z.string()
|
|
10
|
+
}).meta({ id: "ValleeClassification" }).describe("A Vall\xE9e behavior + interaction classification.");
|
|
11
|
+
var SVPRatingSchema = z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)]).describe("SVP rating from 0 to 4.");
|
|
12
|
+
var ValleeSVPSchema = z.object({
|
|
13
|
+
source: SVPRatingSchema.describe("Source reliability (0=unreliable, 4=highly reliable)."),
|
|
14
|
+
visit: SVPRatingSchema.describe("Site visit quality (0=no visit, 4=immediate investigation)."),
|
|
15
|
+
probability: SVPRatingSchema.describe(
|
|
16
|
+
"Probability of natural explanation (0=certain natural, 4=no known explanation)."
|
|
17
|
+
)
|
|
18
|
+
}).meta({ id: "ValleeSVP" }).describe("Vall\xE9e Source-Visit-Probability credibility rating.");
|
|
19
|
+
var VALLEE_BEHAVIORS = {
|
|
20
|
+
AN: { label: "Anomaly", description: "Anomalous observation that does not fit standard categories." },
|
|
21
|
+
FB: { label: "Fly-By", description: "Object observed in continuous flight through atmosphere." },
|
|
22
|
+
MA: { label: "Maneuver", description: "Object observed performing discontinuous or unusual trajectory." },
|
|
23
|
+
CE: { label: "Close Encounter", description: "Observation within 500 feet with associated effects." }
|
|
24
|
+
};
|
|
25
|
+
var VALLEE_INTERACTIONS = {
|
|
26
|
+
1: { label: "Sighting", description: "Visual observation without physical effects." },
|
|
27
|
+
2: { label: "Physical Effects", description: "Observation with physical evidence left behind." },
|
|
28
|
+
3: { label: "Entities", description: "Observation of living beings in association with phenomenon." },
|
|
29
|
+
4: { label: "Transformation", description: "Witness experiences altered reality or time distortion." },
|
|
30
|
+
5: { label: "Injury/Death", description: "Observation resulting in lasting physical or psychological harm." }
|
|
31
|
+
};
|
|
32
|
+
var VALLEE_BEHAVIOR_CODES = ValleeBehaviorSchema.options;
|
|
33
|
+
var VALLEE_INTERACTION_LEVELS = [1, 2, 3, 4, 5];
|
|
34
|
+
|
|
35
|
+
export { VALLEE_BEHAVIORS, VALLEE_BEHAVIOR_CODES, VALLEE_INTERACTIONS, VALLEE_INTERACTION_LEVELS, ValleeBehaviorSchema, ValleeClassificationSchema, ValleeInteractionSchema, ValleeSVPSchema };
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/reference/vallee/index.ts"],"names":[],"mappings":";;;AAEO,IAAM,oBAAA,GAAuB,CAAA,CACjC,IAAA,CAAK,CAAC,IAAA,EAAM,IAAA,EAAM,IAAA,EAAM,IAAI,CAAC,CAAA,CAC7B,QAAA,CAAS,2EAAwE;AAI7E,IAAM,uBAAA,GAA0B,CAAA,CACpC,KAAA,CAAM,CAAC,CAAA,CAAE,OAAA,CAAQ,CAAC,CA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,EAA2D;AAAA,EAC/F,EAAA,EAAI,EAAE,KAAA,EAAO,UAAA,EAAY,aAAa,iEAAA,EAAkE;AAAA,EACxG,EAAA,EAAI,EAAE,KAAA,EAAO,iBAAA,EAAmB,aAAa,sDAAA;AAC/C;AAEO,IAAM,mBAAA,GAAyF;AAAA,EACpG,CAAA,EAAG,EAAE,KAAA,EAAO,UAAA,EAAY,aAAa,8CAAA,EAA+C;AAAA,EACpF,CAAA,EAAG,EAAE,KAAA,EAAO,kBAAA,EAAoB,aAAa,iDAAA,EAAkD;AAAA,EAC/F,CAAA,EAAG,EAAE,KAAA,EAAO,UAAA,EAAY,aAAa,8DAAA,EAA+D;AAAA,EACpG,CAAA,EAAG,EAAE,KAAA,EAAO,gBAAA,EAAkB,aAAa,yDAAA,EAA0D;AAAA,EACrG,CAAA,EAAG,EAAE,KAAA,EAAO,cAAA,EAAgB,aAAa,kEAAA;AAC3C;AAEO,IAAM,wBAAwB,oBAAA,CAAqB;AACnD,IAAM,4BAA0D,CAAC,CAAA,EAAG,CAAA,EAAG,CAAA,EAAG,GAAG,CAAC","file":"index.js","sourcesContent":["import { z } from 'zod';\n\nexport const ValleeBehaviorSchema = z\n .enum(['AN', 'FB', 'MA', 'CE'])\n .describe('Vallée behavior class (Anomaly / Fly-By / Maneuver / Close Encounter).');\n\nexport type ValleeBehavior = z.infer<typeof ValleeBehaviorSchema>;\n\nexport const ValleeInteractionSchema = z\n .union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5)])\n .describe('Vallée interaction level (1=Sighting … 5=Injury/Death).');\n\nexport type ValleeInteraction = z.infer<typeof ValleeInteractionSchema>;\n\nexport const ValleeClassificationSchema = z\n .object({\n behavior: ValleeBehaviorSchema,\n interaction: ValleeInteractionSchema,\n code: z.string(),\n })\n .meta({ id: 'ValleeClassification' })\n .describe('A Vallée behavior + interaction classification.');\n\nexport type ValleeClassification = z.infer<typeof ValleeClassificationSchema>;\n\nconst SVPRatingSchema = z\n .union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)])\n .describe('SVP rating from 0 to 4.');\n\nexport const ValleeSVPSchema = z\n .object({\n source: SVPRatingSchema.describe('Source reliability (0=unreliable, 4=highly reliable).'),\n visit: SVPRatingSchema.describe('Site visit quality (0=no visit, 4=immediate investigation).'),\n probability: SVPRatingSchema.describe(\n 'Probability of natural explanation (0=certain natural, 4=no known explanation).',\n ),\n })\n .meta({ id: 'ValleeSVP' })\n .describe('Vallée Source-Visit-Probability credibility rating.');\n\nexport type ValleeSVP = z.infer<typeof ValleeSVPSchema>;\n\nexport const VALLEE_BEHAVIORS: Record<ValleeBehavior, { label: string; description: string }> = {\n AN: { label: 'Anomaly', description: 'Anomalous observation that does not fit standard categories.' },\n FB: { label: 'Fly-By', description: 'Object observed in continuous flight through atmosphere.' },\n MA: { label: 'Maneuver', description: 'Object observed performing discontinuous or unusual trajectory.' },\n CE: { label: 'Close Encounter', description: 'Observation within 500 feet with associated effects.' },\n};\n\nexport const VALLEE_INTERACTIONS: Record<ValleeInteraction, { label: string; description: string }> = {\n 1: { label: 'Sighting', description: 'Visual observation without physical effects.' },\n 2: { label: 'Physical Effects', description: 'Observation with physical evidence left behind.' },\n 3: { label: 'Entities', description: 'Observation of living beings in association with phenomenon.' },\n 4: { label: 'Transformation', description: 'Witness experiences altered reality or time distortion.' },\n 5: { label: 'Injury/Death', description: 'Observation resulting in lasting physical or psychological harm.' },\n};\n\nexport const VALLEE_BEHAVIOR_CODES = ValleeBehaviorSchema.options;\nexport const VALLEE_INTERACTION_LEVELS: readonly ValleeInteraction[] = [1, 2, 3, 4, 5] as const;\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { a as OCSNode, O as OriginDomain } from '../types-DhroHNFf.js';
|
|
2
|
+
export { M as MetaphysicalSubdomain, b as MetaphysicalSubdomainSchema, c as OCSNodeSchema, d as OriginDomainSchema, e as OriginSubdomain, f as OriginSubdomainSchema, P as PhysicalSubdomain, g as PhysicalSubdomainSchema, h as PsychosocialSubdomain, i as PsychosocialSubdomainSchema } from '../types-DhroHNFf.js';
|
|
3
|
+
export { PHYSICAL_NODES } from './physical/index.js';
|
|
4
|
+
export { PSYCHOSOCIAL_NODES } from './psychosocial/index.js';
|
|
5
|
+
export { METAPHYSICAL_NODES } from './metaphysical/index.js';
|
|
6
|
+
import 'zod';
|
|
7
|
+
|
|
8
|
+
declare const OCS_TAXONOMY: readonly OCSNode[];
|
|
9
|
+
|
|
10
|
+
declare function getNode(id: string): OCSNode | undefined;
|
|
11
|
+
declare function getChildren(id: string): OCSNode[];
|
|
12
|
+
declare function getAncestors(id: string): OCSNode[];
|
|
13
|
+
declare function getSiblings(id: string): OCSNode[];
|
|
14
|
+
declare function getDomain(domain: OriginDomain): OCSNode[];
|
|
15
|
+
declare function getTestableNodes(): OCSNode[];
|
|
16
|
+
declare function getLeafNodes(): OCSNode[];
|
|
17
|
+
declare function searchNodes(query: string): OCSNode[];
|
|
18
|
+
declare function getPath(id: string): string;
|
|
19
|
+
|
|
20
|
+
export { OCSNode, OCS_TAXONOMY, OriginDomain, getAncestors, getChildren, getDomain, getLeafNodes, getNode, getPath, getSiblings, getTestableNodes, searchNodes };
|