@uniteverses/shared 1.0.69 → 1.0.71

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.
@@ -2,6 +2,8 @@ export * from "./organization/types";
2
2
  export * from "./organization_membership/types";
3
3
  export * from "./org_property/types";
4
4
  export * from "./property_research_workflow/types";
5
+ export * from "./property_research_workflow_step_task_instruction/types";
6
+ export * from "./property_research_workflow_step_task_instruction/constants";
5
7
  export * from "./org_property_research_workflow_run/types";
6
8
  export * from "./org_property_research_workflow_run/constants";
7
9
  export * from "./org_property_research_workflow_step_progress/types";
@@ -18,6 +18,8 @@ __exportStar(require("./organization/types"), exports);
18
18
  __exportStar(require("./organization_membership/types"), exports);
19
19
  __exportStar(require("./org_property/types"), exports);
20
20
  __exportStar(require("./property_research_workflow/types"), exports);
21
+ __exportStar(require("./property_research_workflow_step_task_instruction/types"), exports);
22
+ __exportStar(require("./property_research_workflow_step_task_instruction/constants"), exports);
21
23
  __exportStar(require("./org_property_research_workflow_run/types"), exports);
22
24
  __exportStar(require("./org_property_research_workflow_run/constants"), exports);
23
25
  __exportStar(require("./org_property_research_workflow_step_progress/types"), exports);
@@ -4,3 +4,4 @@ export declare const LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_ORG_PROPERTY_RUN_TO
4
4
  readonly SCENARIOS: "scenarios";
5
5
  readonly INSTRUCTIONS: "instructions";
6
6
  };
7
+ export declare const LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_EXTENSION_RUN_HASH_KEY = "lrarRunId";
@@ -1,9 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_ORG_PROPERTY_RUN_TOGGLE_SEGMENTS = void 0;
3
+ exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_EXTENSION_RUN_HASH_KEY = exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_ORG_PROPERTY_RUN_TOGGLE_SEGMENTS = void 0;
4
4
  exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_ORG_PROPERTY_RUN_TOGGLE_SEGMENTS = {
5
5
  STEPS: "steps",
6
6
  TASKS: "tasks",
7
7
  SCENARIOS: "scenarios",
8
8
  INSTRUCTIONS: "instructions",
9
9
  };
10
+ // the URL hash key the website writes the run id under when opening the research site
11
+ // in a new tab (`database.url#lrarRunId=<id>`). the extension's content script reads it
12
+ // to learn which run to drive. only the id travels here — never a token.
13
+ exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_EXTENSION_RUN_HASH_KEY = "lrarRunId";
@@ -1,3 +1,4 @@
1
+ import type { LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationAction } from "../property_research_workflow_step_task_instruction/types";
1
2
  export type LawyersRealEstateAssistantsResearchOrgPropertyResearchWorkflowRun = {
2
3
  id: string;
3
4
  propertyId: string;
@@ -56,7 +57,7 @@ export type LawyersRealEstateAssistantsResearchOrgPropertyResearchWorkflowRunDet
56
57
  id: string;
57
58
  position: number;
58
59
  humanInstructions: string;
59
- llmInstructions: string | null;
60
+ navigationInstructions: LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationAction[] | null;
60
61
  checkedAt: string | null;
61
62
  }[];
62
63
  }[];
@@ -0,0 +1,7 @@
1
+ export declare const LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_NAVIGATION_ACTION_TYPES: {
2
+ readonly CLICK: "click";
3
+ readonly TYPE: "type";
4
+ readonly NAVIGATE: "navigate";
5
+ readonly WAIT_FOR: "waitFor";
6
+ readonly EXTRACT: "extract";
7
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_NAVIGATION_ACTION_TYPES = void 0;
4
+ // the action discriminator values — referenced as TS literals by the extension runner
5
+ // (to branch on action kind) and any authoring UI. named once here so a rename propagates.
6
+ exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_NAVIGATION_ACTION_TYPES = {
7
+ CLICK: "click",
8
+ TYPE: "type",
9
+ NAVIGATE: "navigate",
10
+ WAIT_FOR: "waitFor",
11
+ EXTRACT: "extract",
12
+ };
@@ -0,0 +1,23 @@
1
+ export type LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationActionType = "click" | "type" | "navigate" | "waitFor" | "extract";
2
+ export type LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationAction = {
3
+ action: "click";
4
+ selector: string;
5
+ optional?: boolean;
6
+ } | {
7
+ action: "type";
8
+ selector: string;
9
+ value: string;
10
+ optional?: boolean;
11
+ } | {
12
+ action: "navigate";
13
+ url: string;
14
+ } | {
15
+ action: "waitFor";
16
+ selector: string;
17
+ timeoutMs?: number;
18
+ } | {
19
+ action: "extract";
20
+ selector: string;
21
+ as: string;
22
+ attribute?: string;
23
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // the structured content of an instruction's `navigationInstructions` column.
3
+ // each instruction row carries an ordered array of these deterministic DOM actions;
4
+ // the browser extension executes them top-to-bottom. these are NOT prompts for an LLM —
5
+ // the extension is a scripted runner. the LLM only judges scraped data afterwards.
6
+ //
7
+ // `value` and `url` may contain `{{path}}` template tokens (e.g. `{{property.bbl}}`)
8
+ // which the extension substitutes from the run context before acting.
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -378,6 +378,7 @@ export interface OrgEventOccurrence {
378
378
  endsAt: string | Date | null;
379
379
  location: string | null;
380
380
  capacity: number | null;
381
+ rsvpLink: string | null;
381
382
  createdAt: string | Date;
382
383
  applicants?: OrgEventOccurrenceApplicant[];
383
384
  participants?: OrgEventOccurrenceParticipant[];
@@ -393,6 +394,7 @@ export interface CreateOrgEventOccurrenceInput {
393
394
  endsAt?: string;
394
395
  location?: string;
395
396
  capacity?: number;
397
+ rsvpLink?: string | null;
396
398
  translations?: OrgEventOccurrenceTranslationInput[];
397
399
  }
398
400
  export interface UpdateOrgEventOccurrenceInput {
@@ -400,6 +402,7 @@ export interface UpdateOrgEventOccurrenceInput {
400
402
  endsAt?: string;
401
403
  location?: string;
402
404
  capacity?: number;
405
+ rsvpLink?: string | null;
403
406
  imageStoragePath?: string | null;
404
407
  translations?: OrgEventOccurrenceTranslationInput[];
405
408
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.69",
3
+ "version": "1.0.71",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [