@opencode-ai/schema 0.0.0-next-15174 → 0.0.0-next-15180
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/durable-event-manifest.d.ts +232 -322
- package/dist/event-manifest.d.ts +464 -644
- package/dist/session-event.d.ts +1165 -1615
- package/dist/session-event.js +12 -14
- package/dist/session-input.d.ts +284 -181
- package/dist/session-input.js +35 -13
- package/package.json +1 -1
package/dist/session-event.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as SessionEvent from "./session-event.js";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
import { Event } from "./event.js";
|
|
4
|
-
import { FileAttachment
|
|
4
|
+
import { FileAttachment } from "./prompt.js";
|
|
5
5
|
export { FileAttachment };
|
|
6
6
|
export declare const Source: Schema.Struct<{
|
|
7
7
|
readonly start: Schema.Int;
|
|
@@ -472,13 +472,13 @@ export declare const Forked: Schema.Struct<{
|
|
|
472
472
|
}>;
|
|
473
473
|
};
|
|
474
474
|
export type Forked = typeof Forked.Type;
|
|
475
|
-
export declare const
|
|
475
|
+
export declare const InputPromoted: Schema.Struct<{
|
|
476
476
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
477
477
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
478
478
|
};
|
|
479
479
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
480
480
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
481
|
-
readonly type: Schema.Literal<"session.
|
|
481
|
+
readonly type: Schema.Literal<"session.input.promoted">;
|
|
482
482
|
readonly durable: Schema.Struct<{
|
|
483
483
|
readonly aggregateID: Schema.String;
|
|
484
484
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -514,7 +514,7 @@ export declare const PromptPromoted: Schema.Struct<{
|
|
|
514
514
|
};
|
|
515
515
|
}>;
|
|
516
516
|
}> & {
|
|
517
|
-
type: "session.
|
|
517
|
+
type: "session.input.promoted";
|
|
518
518
|
durability: "durable";
|
|
519
519
|
durable: {
|
|
520
520
|
readonly version: number;
|
|
@@ -531,14 +531,14 @@ export declare const PromptPromoted: Schema.Struct<{
|
|
|
531
531
|
};
|
|
532
532
|
}>;
|
|
533
533
|
};
|
|
534
|
-
export type
|
|
535
|
-
export declare const
|
|
534
|
+
export type InputPromoted = typeof InputPromoted.Type;
|
|
535
|
+
export declare const InputAdmitted: Schema.Struct<{
|
|
536
536
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
537
537
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
538
538
|
};
|
|
539
539
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
540
540
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
541
|
-
readonly type: Schema.Literal<"session.
|
|
541
|
+
readonly type: Schema.Literal<"session.input.admitted">;
|
|
542
542
|
readonly durable: Schema.Struct<{
|
|
543
543
|
readonly aggregateID: Schema.String;
|
|
544
544
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -564,356 +564,266 @@ export declare const PromptAdmitted: Schema.Struct<{
|
|
|
564
564
|
}>, never, never>;
|
|
565
565
|
}>>, never, never>;
|
|
566
566
|
readonly data: Schema.Struct<{
|
|
567
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
567
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
568
568
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
569
569
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
570
570
|
};
|
|
571
|
-
|
|
572
|
-
readonly
|
|
573
|
-
readonly
|
|
574
|
-
readonly
|
|
575
|
-
readonly
|
|
576
|
-
readonly
|
|
577
|
-
readonly
|
|
578
|
-
|
|
579
|
-
readonly
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
587
|
-
readonly
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
readonly
|
|
599
|
-
|
|
600
|
-
readonly
|
|
601
|
-
|
|
571
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
572
|
+
readonly type: Schema.tag<"user">;
|
|
573
|
+
readonly data: Schema.Struct<{
|
|
574
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
575
|
+
readonly text: Schema.String;
|
|
576
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
577
|
+
readonly data: Schema.String;
|
|
578
|
+
readonly mime: Schema.String;
|
|
579
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
580
|
+
readonly type: Schema.Literal<"inline">;
|
|
581
|
+
}>, Schema.Struct<{
|
|
582
|
+
readonly type: Schema.Literal<"uri">;
|
|
583
|
+
readonly uri: Schema.String;
|
|
584
|
+
}>]>;
|
|
585
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
586
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
587
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
588
|
+
readonly start: Schema.Finite;
|
|
589
|
+
readonly end: Schema.Finite;
|
|
590
|
+
readonly text: Schema.String;
|
|
591
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
592
|
+
readonly start: Schema.Finite;
|
|
593
|
+
readonly end: Schema.Finite;
|
|
594
|
+
readonly text: Schema.String;
|
|
595
|
+
}>>, never, never>;
|
|
596
|
+
}> & {
|
|
597
|
+
create: (input: FileAttachment) => {
|
|
598
|
+
readonly data: string;
|
|
599
|
+
readonly mime: string;
|
|
600
|
+
readonly source: {
|
|
601
|
+
readonly type: "inline";
|
|
602
|
+
} | {
|
|
603
|
+
readonly type: "uri";
|
|
604
|
+
readonly uri: string;
|
|
605
|
+
};
|
|
606
|
+
readonly name?: string | undefined;
|
|
607
|
+
readonly description?: string | undefined;
|
|
608
|
+
readonly mention?: {
|
|
609
|
+
readonly start: number;
|
|
610
|
+
readonly end: number;
|
|
611
|
+
readonly text: string;
|
|
612
|
+
} | undefined;
|
|
602
613
|
};
|
|
603
|
-
|
|
604
|
-
readonly
|
|
605
|
-
readonly
|
|
606
|
-
|
|
607
|
-
readonly
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
614
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
615
|
+
readonly data: Schema.String;
|
|
616
|
+
readonly mime: Schema.String;
|
|
617
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
618
|
+
readonly type: Schema.Literal<"inline">;
|
|
619
|
+
}>, Schema.Struct<{
|
|
620
|
+
readonly type: Schema.Literal<"uri">;
|
|
621
|
+
readonly uri: Schema.String;
|
|
622
|
+
}>]>;
|
|
623
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
624
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
625
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
626
|
+
readonly start: Schema.Finite;
|
|
627
|
+
readonly end: Schema.Finite;
|
|
628
|
+
readonly text: Schema.String;
|
|
629
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
630
|
+
readonly start: Schema.Finite;
|
|
631
|
+
readonly end: Schema.Finite;
|
|
632
|
+
readonly text: Schema.String;
|
|
633
|
+
}>>, never, never>;
|
|
634
|
+
}> & {
|
|
635
|
+
create: (input: FileAttachment) => {
|
|
636
|
+
readonly data: string;
|
|
637
|
+
readonly mime: string;
|
|
638
|
+
readonly source: {
|
|
639
|
+
readonly type: "inline";
|
|
640
|
+
} | {
|
|
641
|
+
readonly type: "uri";
|
|
642
|
+
readonly uri: string;
|
|
643
|
+
};
|
|
644
|
+
readonly name?: string | undefined;
|
|
645
|
+
readonly description?: string | undefined;
|
|
646
|
+
readonly mention?: {
|
|
647
|
+
readonly start: number;
|
|
648
|
+
readonly end: number;
|
|
649
|
+
readonly text: string;
|
|
650
|
+
} | undefined;
|
|
640
651
|
};
|
|
641
|
-
readonly name?: string | undefined;
|
|
642
|
-
readonly description?: string | undefined;
|
|
643
|
-
readonly mention?: {
|
|
644
|
-
readonly start: number;
|
|
645
|
-
readonly end: number;
|
|
646
|
-
readonly text: string;
|
|
647
|
-
} | undefined;
|
|
648
|
-
};
|
|
649
|
-
}>>, never, never>;
|
|
650
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
651
|
-
readonly name: Schema.String;
|
|
652
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
653
|
-
readonly start: Schema.Finite;
|
|
654
|
-
readonly end: Schema.Finite;
|
|
655
|
-
readonly text: Schema.String;
|
|
656
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
657
|
-
readonly start: Schema.Finite;
|
|
658
|
-
readonly end: Schema.Finite;
|
|
659
|
-
readonly text: Schema.String;
|
|
660
652
|
}>>, never, never>;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
readonly
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
};
|
|
685
|
-
readonly name?: string | undefined;
|
|
686
|
-
readonly description?: string | undefined;
|
|
687
|
-
readonly mention?: {
|
|
688
|
-
readonly start: number;
|
|
689
|
-
readonly end: number;
|
|
690
|
-
readonly text: string;
|
|
691
|
-
} | undefined;
|
|
692
|
-
}[] | undefined;
|
|
693
|
-
readonly agents?: readonly {
|
|
694
|
-
readonly name: string;
|
|
695
|
-
readonly mention?: {
|
|
696
|
-
readonly start: number;
|
|
697
|
-
readonly end: number;
|
|
698
|
-
readonly text: string;
|
|
699
|
-
} | undefined;
|
|
700
|
-
}[] | undefined;
|
|
653
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
654
|
+
readonly name: Schema.String;
|
|
655
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
656
|
+
readonly start: Schema.Finite;
|
|
657
|
+
readonly end: Schema.Finite;
|
|
658
|
+
readonly text: Schema.String;
|
|
659
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
660
|
+
readonly start: Schema.Finite;
|
|
661
|
+
readonly end: Schema.Finite;
|
|
662
|
+
readonly text: Schema.String;
|
|
663
|
+
}>>, never, never>;
|
|
664
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
665
|
+
readonly name: Schema.String;
|
|
666
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
667
|
+
readonly start: Schema.Finite;
|
|
668
|
+
readonly end: Schema.Finite;
|
|
669
|
+
readonly text: Schema.String;
|
|
670
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
671
|
+
readonly start: Schema.Finite;
|
|
672
|
+
readonly end: Schema.Finite;
|
|
673
|
+
readonly text: Schema.String;
|
|
674
|
+
}>>, never, never>;
|
|
675
|
+
}>>>, never, never>;
|
|
701
676
|
}>;
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
readonly name?: string | undefined;
|
|
714
|
-
readonly description?: string | undefined;
|
|
715
|
-
readonly mention?: {
|
|
716
|
-
readonly start: number;
|
|
717
|
-
readonly end: number;
|
|
718
|
-
readonly text: string;
|
|
719
|
-
} | undefined;
|
|
720
|
-
}[] | undefined;
|
|
721
|
-
readonly agents?: readonly {
|
|
722
|
-
readonly name: string;
|
|
723
|
-
readonly mention?: {
|
|
724
|
-
readonly start: number;
|
|
725
|
-
readonly end: number;
|
|
726
|
-
readonly text: string;
|
|
727
|
-
} | undefined;
|
|
728
|
-
}[] | undefined;
|
|
729
|
-
};
|
|
730
|
-
};
|
|
731
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
732
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
677
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
678
|
+
}>, Schema.Struct<{
|
|
679
|
+
readonly type: Schema.tag<"synthetic">;
|
|
680
|
+
readonly data: Schema.Struct<{
|
|
681
|
+
readonly text: Schema.String;
|
|
682
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
683
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
684
|
+
}>;
|
|
685
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
686
|
+
}>]>;
|
|
687
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
733
688
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
734
689
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
735
690
|
};
|
|
736
691
|
}>;
|
|
737
692
|
}> & {
|
|
738
|
-
type: "session.
|
|
693
|
+
type: "session.input.admitted";
|
|
739
694
|
durability: "durable";
|
|
740
695
|
durable: {
|
|
741
696
|
readonly version: number;
|
|
742
697
|
readonly aggregate: string;
|
|
743
698
|
};
|
|
744
699
|
data: Schema.Struct<{
|
|
745
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
700
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
746
701
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
747
702
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
748
703
|
};
|
|
749
|
-
|
|
750
|
-
readonly
|
|
751
|
-
readonly
|
|
752
|
-
readonly
|
|
753
|
-
readonly
|
|
754
|
-
readonly
|
|
755
|
-
readonly
|
|
756
|
-
|
|
757
|
-
readonly
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
readonly
|
|
764
|
-
readonly
|
|
765
|
-
readonly
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
readonly
|
|
777
|
-
|
|
778
|
-
readonly
|
|
779
|
-
|
|
704
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
705
|
+
readonly type: Schema.tag<"user">;
|
|
706
|
+
readonly data: Schema.Struct<{
|
|
707
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
708
|
+
readonly text: Schema.String;
|
|
709
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
710
|
+
readonly data: Schema.String;
|
|
711
|
+
readonly mime: Schema.String;
|
|
712
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
713
|
+
readonly type: Schema.Literal<"inline">;
|
|
714
|
+
}>, Schema.Struct<{
|
|
715
|
+
readonly type: Schema.Literal<"uri">;
|
|
716
|
+
readonly uri: Schema.String;
|
|
717
|
+
}>]>;
|
|
718
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
719
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
720
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
721
|
+
readonly start: Schema.Finite;
|
|
722
|
+
readonly end: Schema.Finite;
|
|
723
|
+
readonly text: Schema.String;
|
|
724
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
725
|
+
readonly start: Schema.Finite;
|
|
726
|
+
readonly end: Schema.Finite;
|
|
727
|
+
readonly text: Schema.String;
|
|
728
|
+
}>>, never, never>;
|
|
729
|
+
}> & {
|
|
730
|
+
create: (input: FileAttachment) => {
|
|
731
|
+
readonly data: string;
|
|
732
|
+
readonly mime: string;
|
|
733
|
+
readonly source: {
|
|
734
|
+
readonly type: "inline";
|
|
735
|
+
} | {
|
|
736
|
+
readonly type: "uri";
|
|
737
|
+
readonly uri: string;
|
|
738
|
+
};
|
|
739
|
+
readonly name?: string | undefined;
|
|
740
|
+
readonly description?: string | undefined;
|
|
741
|
+
readonly mention?: {
|
|
742
|
+
readonly start: number;
|
|
743
|
+
readonly end: number;
|
|
744
|
+
readonly text: string;
|
|
745
|
+
} | undefined;
|
|
780
746
|
};
|
|
781
|
-
|
|
782
|
-
readonly
|
|
783
|
-
readonly
|
|
784
|
-
|
|
785
|
-
readonly
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
747
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
748
|
+
readonly data: Schema.String;
|
|
749
|
+
readonly mime: Schema.String;
|
|
750
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
751
|
+
readonly type: Schema.Literal<"inline">;
|
|
752
|
+
}>, Schema.Struct<{
|
|
753
|
+
readonly type: Schema.Literal<"uri">;
|
|
754
|
+
readonly uri: Schema.String;
|
|
755
|
+
}>]>;
|
|
756
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
757
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
758
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
759
|
+
readonly start: Schema.Finite;
|
|
760
|
+
readonly end: Schema.Finite;
|
|
761
|
+
readonly text: Schema.String;
|
|
762
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
763
|
+
readonly start: Schema.Finite;
|
|
764
|
+
readonly end: Schema.Finite;
|
|
765
|
+
readonly text: Schema.String;
|
|
766
|
+
}>>, never, never>;
|
|
767
|
+
}> & {
|
|
768
|
+
create: (input: FileAttachment) => {
|
|
769
|
+
readonly data: string;
|
|
770
|
+
readonly mime: string;
|
|
771
|
+
readonly source: {
|
|
772
|
+
readonly type: "inline";
|
|
773
|
+
} | {
|
|
774
|
+
readonly type: "uri";
|
|
775
|
+
readonly uri: string;
|
|
776
|
+
};
|
|
777
|
+
readonly name?: string | undefined;
|
|
778
|
+
readonly description?: string | undefined;
|
|
779
|
+
readonly mention?: {
|
|
780
|
+
readonly start: number;
|
|
781
|
+
readonly end: number;
|
|
782
|
+
readonly text: string;
|
|
783
|
+
} | undefined;
|
|
818
784
|
};
|
|
819
|
-
readonly name?: string | undefined;
|
|
820
|
-
readonly description?: string | undefined;
|
|
821
|
-
readonly mention?: {
|
|
822
|
-
readonly start: number;
|
|
823
|
-
readonly end: number;
|
|
824
|
-
readonly text: string;
|
|
825
|
-
} | undefined;
|
|
826
|
-
};
|
|
827
|
-
}>>, never, never>;
|
|
828
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
829
|
-
readonly name: Schema.String;
|
|
830
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
831
|
-
readonly start: Schema.Finite;
|
|
832
|
-
readonly end: Schema.Finite;
|
|
833
|
-
readonly text: Schema.String;
|
|
834
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
835
|
-
readonly start: Schema.Finite;
|
|
836
|
-
readonly end: Schema.Finite;
|
|
837
|
-
readonly text: Schema.String;
|
|
838
785
|
}>>, never, never>;
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
readonly
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
};
|
|
863
|
-
readonly name?: string | undefined;
|
|
864
|
-
readonly description?: string | undefined;
|
|
865
|
-
readonly mention?: {
|
|
866
|
-
readonly start: number;
|
|
867
|
-
readonly end: number;
|
|
868
|
-
readonly text: string;
|
|
869
|
-
} | undefined;
|
|
870
|
-
}[] | undefined;
|
|
871
|
-
readonly agents?: readonly {
|
|
872
|
-
readonly name: string;
|
|
873
|
-
readonly mention?: {
|
|
874
|
-
readonly start: number;
|
|
875
|
-
readonly end: number;
|
|
876
|
-
readonly text: string;
|
|
877
|
-
} | undefined;
|
|
878
|
-
}[] | undefined;
|
|
786
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
787
|
+
readonly name: Schema.String;
|
|
788
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
789
|
+
readonly start: Schema.Finite;
|
|
790
|
+
readonly end: Schema.Finite;
|
|
791
|
+
readonly text: Schema.String;
|
|
792
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
793
|
+
readonly start: Schema.Finite;
|
|
794
|
+
readonly end: Schema.Finite;
|
|
795
|
+
readonly text: Schema.String;
|
|
796
|
+
}>>, never, never>;
|
|
797
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
798
|
+
readonly name: Schema.String;
|
|
799
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
800
|
+
readonly start: Schema.Finite;
|
|
801
|
+
readonly end: Schema.Finite;
|
|
802
|
+
readonly text: Schema.String;
|
|
803
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
804
|
+
readonly start: Schema.Finite;
|
|
805
|
+
readonly end: Schema.Finite;
|
|
806
|
+
readonly text: Schema.String;
|
|
807
|
+
}>>, never, never>;
|
|
808
|
+
}>>>, never, never>;
|
|
879
809
|
}>;
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
readonly name?: string | undefined;
|
|
892
|
-
readonly description?: string | undefined;
|
|
893
|
-
readonly mention?: {
|
|
894
|
-
readonly start: number;
|
|
895
|
-
readonly end: number;
|
|
896
|
-
readonly text: string;
|
|
897
|
-
} | undefined;
|
|
898
|
-
}[] | undefined;
|
|
899
|
-
readonly agents?: readonly {
|
|
900
|
-
readonly name: string;
|
|
901
|
-
readonly mention?: {
|
|
902
|
-
readonly start: number;
|
|
903
|
-
readonly end: number;
|
|
904
|
-
readonly text: string;
|
|
905
|
-
} | undefined;
|
|
906
|
-
}[] | undefined;
|
|
907
|
-
};
|
|
908
|
-
};
|
|
909
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
910
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
810
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
811
|
+
}>, Schema.Struct<{
|
|
812
|
+
readonly type: Schema.tag<"synthetic">;
|
|
813
|
+
readonly data: Schema.Struct<{
|
|
814
|
+
readonly text: Schema.String;
|
|
815
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
816
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
817
|
+
}>;
|
|
818
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
819
|
+
}>]>;
|
|
820
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
911
821
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
912
822
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
913
823
|
};
|
|
914
824
|
}>;
|
|
915
825
|
};
|
|
916
|
-
export type
|
|
826
|
+
export type InputAdmitted = typeof InputAdmitted.Type;
|
|
917
827
|
export declare namespace Execution {
|
|
918
828
|
const Started: Schema.Struct<{
|
|
919
829
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -3719,7 +3629,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3719
3629
|
};
|
|
3720
3630
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3721
3631
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3722
|
-
readonly type: Schema.Literal<"session.
|
|
3632
|
+
readonly type: Schema.Literal<"session.input.promoted">;
|
|
3723
3633
|
readonly durable: Schema.Struct<{
|
|
3724
3634
|
readonly aggregateID: Schema.String;
|
|
3725
3635
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3755,7 +3665,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3755
3665
|
};
|
|
3756
3666
|
}>;
|
|
3757
3667
|
}> & {
|
|
3758
|
-
type: "session.
|
|
3668
|
+
type: "session.input.promoted";
|
|
3759
3669
|
durability: "durable";
|
|
3760
3670
|
durable: {
|
|
3761
3671
|
readonly version: number;
|
|
@@ -3777,7 +3687,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3777
3687
|
};
|
|
3778
3688
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3779
3689
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3780
|
-
readonly type: Schema.Literal<"session.
|
|
3690
|
+
readonly type: Schema.Literal<"session.input.admitted">;
|
|
3781
3691
|
readonly durable: Schema.Struct<{
|
|
3782
3692
|
readonly aggregateID: Schema.String;
|
|
3783
3693
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3803,350 +3713,260 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3803
3713
|
}>, never, never>;
|
|
3804
3714
|
}>>, never, never>;
|
|
3805
3715
|
readonly data: Schema.Struct<{
|
|
3806
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3716
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3807
3717
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3808
3718
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3809
3719
|
};
|
|
3810
|
-
|
|
3811
|
-
readonly
|
|
3812
|
-
readonly
|
|
3813
|
-
readonly
|
|
3814
|
-
readonly
|
|
3815
|
-
readonly
|
|
3816
|
-
readonly
|
|
3817
|
-
|
|
3818
|
-
readonly
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
readonly
|
|
3825
|
-
readonly
|
|
3826
|
-
readonly
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
readonly
|
|
3838
|
-
|
|
3839
|
-
readonly
|
|
3840
|
-
|
|
3720
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
3721
|
+
readonly type: Schema.tag<"user">;
|
|
3722
|
+
readonly data: Schema.Struct<{
|
|
3723
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3724
|
+
readonly text: Schema.String;
|
|
3725
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3726
|
+
readonly data: Schema.String;
|
|
3727
|
+
readonly mime: Schema.String;
|
|
3728
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
3729
|
+
readonly type: Schema.Literal<"inline">;
|
|
3730
|
+
}>, Schema.Struct<{
|
|
3731
|
+
readonly type: Schema.Literal<"uri">;
|
|
3732
|
+
readonly uri: Schema.String;
|
|
3733
|
+
}>]>;
|
|
3734
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3735
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3736
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3737
|
+
readonly start: Schema.Finite;
|
|
3738
|
+
readonly end: Schema.Finite;
|
|
3739
|
+
readonly text: Schema.String;
|
|
3740
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3741
|
+
readonly start: Schema.Finite;
|
|
3742
|
+
readonly end: Schema.Finite;
|
|
3743
|
+
readonly text: Schema.String;
|
|
3744
|
+
}>>, never, never>;
|
|
3745
|
+
}> & {
|
|
3746
|
+
create: (input: FileAttachment) => {
|
|
3747
|
+
readonly data: string;
|
|
3748
|
+
readonly mime: string;
|
|
3749
|
+
readonly source: {
|
|
3750
|
+
readonly type: "inline";
|
|
3751
|
+
} | {
|
|
3752
|
+
readonly type: "uri";
|
|
3753
|
+
readonly uri: string;
|
|
3754
|
+
};
|
|
3755
|
+
readonly name?: string | undefined;
|
|
3756
|
+
readonly description?: string | undefined;
|
|
3757
|
+
readonly mention?: {
|
|
3758
|
+
readonly start: number;
|
|
3759
|
+
readonly end: number;
|
|
3760
|
+
readonly text: string;
|
|
3761
|
+
} | undefined;
|
|
3841
3762
|
};
|
|
3842
|
-
|
|
3843
|
-
readonly
|
|
3844
|
-
readonly
|
|
3845
|
-
|
|
3846
|
-
readonly
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3763
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3764
|
+
readonly data: Schema.String;
|
|
3765
|
+
readonly mime: Schema.String;
|
|
3766
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
3767
|
+
readonly type: Schema.Literal<"inline">;
|
|
3768
|
+
}>, Schema.Struct<{
|
|
3769
|
+
readonly type: Schema.Literal<"uri">;
|
|
3770
|
+
readonly uri: Schema.String;
|
|
3771
|
+
}>]>;
|
|
3772
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3773
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3774
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3775
|
+
readonly start: Schema.Finite;
|
|
3776
|
+
readonly end: Schema.Finite;
|
|
3777
|
+
readonly text: Schema.String;
|
|
3778
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3779
|
+
readonly start: Schema.Finite;
|
|
3780
|
+
readonly end: Schema.Finite;
|
|
3781
|
+
readonly text: Schema.String;
|
|
3782
|
+
}>>, never, never>;
|
|
3783
|
+
}> & {
|
|
3784
|
+
create: (input: FileAttachment) => {
|
|
3785
|
+
readonly data: string;
|
|
3786
|
+
readonly mime: string;
|
|
3787
|
+
readonly source: {
|
|
3788
|
+
readonly type: "inline";
|
|
3789
|
+
} | {
|
|
3790
|
+
readonly type: "uri";
|
|
3791
|
+
readonly uri: string;
|
|
3792
|
+
};
|
|
3793
|
+
readonly name?: string | undefined;
|
|
3794
|
+
readonly description?: string | undefined;
|
|
3795
|
+
readonly mention?: {
|
|
3796
|
+
readonly start: number;
|
|
3797
|
+
readonly end: number;
|
|
3798
|
+
readonly text: string;
|
|
3799
|
+
} | undefined;
|
|
3879
3800
|
};
|
|
3880
|
-
readonly name?: string | undefined;
|
|
3881
|
-
readonly description?: string | undefined;
|
|
3882
|
-
readonly mention?: {
|
|
3883
|
-
readonly start: number;
|
|
3884
|
-
readonly end: number;
|
|
3885
|
-
readonly text: string;
|
|
3886
|
-
} | undefined;
|
|
3887
|
-
};
|
|
3888
|
-
}>>, never, never>;
|
|
3889
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3890
|
-
readonly name: Schema.String;
|
|
3891
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3892
|
-
readonly start: Schema.Finite;
|
|
3893
|
-
readonly end: Schema.Finite;
|
|
3894
|
-
readonly text: Schema.String;
|
|
3895
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3896
|
-
readonly start: Schema.Finite;
|
|
3897
|
-
readonly end: Schema.Finite;
|
|
3898
|
-
readonly text: Schema.String;
|
|
3899
|
-
}>>, never, never>;
|
|
3900
|
-
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3901
|
-
readonly name: Schema.String;
|
|
3902
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3903
|
-
readonly start: Schema.Finite;
|
|
3904
|
-
readonly end: Schema.Finite;
|
|
3905
|
-
readonly text: Schema.String;
|
|
3906
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3907
|
-
readonly start: Schema.Finite;
|
|
3908
|
-
readonly end: Schema.Finite;
|
|
3909
|
-
readonly text: Schema.String;
|
|
3910
3801
|
}>>, never, never>;
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
readonly
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
readonly
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
readonly
|
|
3928
|
-
|
|
3929
|
-
readonly
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
readonly mention?: {
|
|
3935
|
-
readonly start: number;
|
|
3936
|
-
readonly end: number;
|
|
3937
|
-
readonly text: string;
|
|
3938
|
-
} | undefined;
|
|
3939
|
-
}[] | undefined;
|
|
3802
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3803
|
+
readonly name: Schema.String;
|
|
3804
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3805
|
+
readonly start: Schema.Finite;
|
|
3806
|
+
readonly end: Schema.Finite;
|
|
3807
|
+
readonly text: Schema.String;
|
|
3808
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3809
|
+
readonly start: Schema.Finite;
|
|
3810
|
+
readonly end: Schema.Finite;
|
|
3811
|
+
readonly text: Schema.String;
|
|
3812
|
+
}>>, never, never>;
|
|
3813
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3814
|
+
readonly name: Schema.String;
|
|
3815
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3816
|
+
readonly start: Schema.Finite;
|
|
3817
|
+
readonly end: Schema.Finite;
|
|
3818
|
+
readonly text: Schema.String;
|
|
3819
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3820
|
+
readonly start: Schema.Finite;
|
|
3821
|
+
readonly end: Schema.Finite;
|
|
3822
|
+
readonly text: Schema.String;
|
|
3823
|
+
}>>, never, never>;
|
|
3824
|
+
}>>>, never, never>;
|
|
3940
3825
|
}>;
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
readonly name?: string | undefined;
|
|
3953
|
-
readonly description?: string | undefined;
|
|
3954
|
-
readonly mention?: {
|
|
3955
|
-
readonly start: number;
|
|
3956
|
-
readonly end: number;
|
|
3957
|
-
readonly text: string;
|
|
3958
|
-
} | undefined;
|
|
3959
|
-
}[] | undefined;
|
|
3960
|
-
readonly agents?: readonly {
|
|
3961
|
-
readonly name: string;
|
|
3962
|
-
readonly mention?: {
|
|
3963
|
-
readonly start: number;
|
|
3964
|
-
readonly end: number;
|
|
3965
|
-
readonly text: string;
|
|
3966
|
-
} | undefined;
|
|
3967
|
-
}[] | undefined;
|
|
3968
|
-
};
|
|
3969
|
-
};
|
|
3970
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3971
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3826
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3827
|
+
}>, Schema.Struct<{
|
|
3828
|
+
readonly type: Schema.tag<"synthetic">;
|
|
3829
|
+
readonly data: Schema.Struct<{
|
|
3830
|
+
readonly text: Schema.String;
|
|
3831
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3832
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3833
|
+
}>;
|
|
3834
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3835
|
+
}>]>;
|
|
3836
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3972
3837
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3973
3838
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3974
3839
|
};
|
|
3975
3840
|
}>;
|
|
3976
3841
|
}> & {
|
|
3977
|
-
type: "session.
|
|
3842
|
+
type: "session.input.admitted";
|
|
3978
3843
|
durability: "durable";
|
|
3979
3844
|
durable: {
|
|
3980
3845
|
readonly version: number;
|
|
3981
3846
|
readonly aggregate: string;
|
|
3982
3847
|
};
|
|
3983
3848
|
data: Schema.Struct<{
|
|
3984
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3849
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3985
3850
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3986
3851
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3987
3852
|
};
|
|
3988
|
-
|
|
3989
|
-
readonly
|
|
3990
|
-
readonly
|
|
3991
|
-
readonly
|
|
3992
|
-
readonly
|
|
3993
|
-
readonly
|
|
3994
|
-
readonly
|
|
3995
|
-
|
|
3996
|
-
readonly
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
readonly
|
|
4003
|
-
readonly
|
|
4004
|
-
readonly
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
readonly
|
|
4016
|
-
|
|
4017
|
-
readonly
|
|
4018
|
-
|
|
3853
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
3854
|
+
readonly type: Schema.tag<"user">;
|
|
3855
|
+
readonly data: Schema.Struct<{
|
|
3856
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3857
|
+
readonly text: Schema.String;
|
|
3858
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3859
|
+
readonly data: Schema.String;
|
|
3860
|
+
readonly mime: Schema.String;
|
|
3861
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
3862
|
+
readonly type: Schema.Literal<"inline">;
|
|
3863
|
+
}>, Schema.Struct<{
|
|
3864
|
+
readonly type: Schema.Literal<"uri">;
|
|
3865
|
+
readonly uri: Schema.String;
|
|
3866
|
+
}>]>;
|
|
3867
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3868
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3869
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3870
|
+
readonly start: Schema.Finite;
|
|
3871
|
+
readonly end: Schema.Finite;
|
|
3872
|
+
readonly text: Schema.String;
|
|
3873
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3874
|
+
readonly start: Schema.Finite;
|
|
3875
|
+
readonly end: Schema.Finite;
|
|
3876
|
+
readonly text: Schema.String;
|
|
3877
|
+
}>>, never, never>;
|
|
3878
|
+
}> & {
|
|
3879
|
+
create: (input: FileAttachment) => {
|
|
3880
|
+
readonly data: string;
|
|
3881
|
+
readonly mime: string;
|
|
3882
|
+
readonly source: {
|
|
3883
|
+
readonly type: "inline";
|
|
3884
|
+
} | {
|
|
3885
|
+
readonly type: "uri";
|
|
3886
|
+
readonly uri: string;
|
|
3887
|
+
};
|
|
3888
|
+
readonly name?: string | undefined;
|
|
3889
|
+
readonly description?: string | undefined;
|
|
3890
|
+
readonly mention?: {
|
|
3891
|
+
readonly start: number;
|
|
3892
|
+
readonly end: number;
|
|
3893
|
+
readonly text: string;
|
|
3894
|
+
} | undefined;
|
|
4019
3895
|
};
|
|
4020
|
-
|
|
4021
|
-
readonly
|
|
4022
|
-
readonly
|
|
4023
|
-
|
|
4024
|
-
readonly
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
3896
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3897
|
+
readonly data: Schema.String;
|
|
3898
|
+
readonly mime: Schema.String;
|
|
3899
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
3900
|
+
readonly type: Schema.Literal<"inline">;
|
|
3901
|
+
}>, Schema.Struct<{
|
|
3902
|
+
readonly type: Schema.Literal<"uri">;
|
|
3903
|
+
readonly uri: Schema.String;
|
|
3904
|
+
}>]>;
|
|
3905
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3906
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3907
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3908
|
+
readonly start: Schema.Finite;
|
|
3909
|
+
readonly end: Schema.Finite;
|
|
3910
|
+
readonly text: Schema.String;
|
|
3911
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3912
|
+
readonly start: Schema.Finite;
|
|
3913
|
+
readonly end: Schema.Finite;
|
|
3914
|
+
readonly text: Schema.String;
|
|
3915
|
+
}>>, never, never>;
|
|
3916
|
+
}> & {
|
|
3917
|
+
create: (input: FileAttachment) => {
|
|
3918
|
+
readonly data: string;
|
|
3919
|
+
readonly mime: string;
|
|
3920
|
+
readonly source: {
|
|
3921
|
+
readonly type: "inline";
|
|
3922
|
+
} | {
|
|
3923
|
+
readonly type: "uri";
|
|
3924
|
+
readonly uri: string;
|
|
3925
|
+
};
|
|
3926
|
+
readonly name?: string | undefined;
|
|
3927
|
+
readonly description?: string | undefined;
|
|
3928
|
+
readonly mention?: {
|
|
3929
|
+
readonly start: number;
|
|
3930
|
+
readonly end: number;
|
|
3931
|
+
readonly text: string;
|
|
3932
|
+
} | undefined;
|
|
4057
3933
|
};
|
|
4058
|
-
readonly name?: string | undefined;
|
|
4059
|
-
readonly description?: string | undefined;
|
|
4060
|
-
readonly mention?: {
|
|
4061
|
-
readonly start: number;
|
|
4062
|
-
readonly end: number;
|
|
4063
|
-
readonly text: string;
|
|
4064
|
-
} | undefined;
|
|
4065
|
-
};
|
|
4066
|
-
}>>, never, never>;
|
|
4067
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
4068
|
-
readonly name: Schema.String;
|
|
4069
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4070
|
-
readonly start: Schema.Finite;
|
|
4071
|
-
readonly end: Schema.Finite;
|
|
4072
|
-
readonly text: Schema.String;
|
|
4073
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4074
|
-
readonly start: Schema.Finite;
|
|
4075
|
-
readonly end: Schema.Finite;
|
|
4076
|
-
readonly text: Schema.String;
|
|
4077
|
-
}>>, never, never>;
|
|
4078
|
-
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4079
|
-
readonly name: Schema.String;
|
|
4080
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4081
|
-
readonly start: Schema.Finite;
|
|
4082
|
-
readonly end: Schema.Finite;
|
|
4083
|
-
readonly text: Schema.String;
|
|
4084
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4085
|
-
readonly start: Schema.Finite;
|
|
4086
|
-
readonly end: Schema.Finite;
|
|
4087
|
-
readonly text: Schema.String;
|
|
4088
3934
|
}>>, never, never>;
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
readonly
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
readonly
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
readonly
|
|
4106
|
-
|
|
4107
|
-
readonly
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
readonly mention?: {
|
|
4113
|
-
readonly start: number;
|
|
4114
|
-
readonly end: number;
|
|
4115
|
-
readonly text: string;
|
|
4116
|
-
} | undefined;
|
|
4117
|
-
}[] | undefined;
|
|
3935
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
3936
|
+
readonly name: Schema.String;
|
|
3937
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3938
|
+
readonly start: Schema.Finite;
|
|
3939
|
+
readonly end: Schema.Finite;
|
|
3940
|
+
readonly text: Schema.String;
|
|
3941
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3942
|
+
readonly start: Schema.Finite;
|
|
3943
|
+
readonly end: Schema.Finite;
|
|
3944
|
+
readonly text: Schema.String;
|
|
3945
|
+
}>>, never, never>;
|
|
3946
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3947
|
+
readonly name: Schema.String;
|
|
3948
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3949
|
+
readonly start: Schema.Finite;
|
|
3950
|
+
readonly end: Schema.Finite;
|
|
3951
|
+
readonly text: Schema.String;
|
|
3952
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3953
|
+
readonly start: Schema.Finite;
|
|
3954
|
+
readonly end: Schema.Finite;
|
|
3955
|
+
readonly text: Schema.String;
|
|
3956
|
+
}>>, never, never>;
|
|
3957
|
+
}>>>, never, never>;
|
|
4118
3958
|
}>;
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
readonly name?: string | undefined;
|
|
4131
|
-
readonly description?: string | undefined;
|
|
4132
|
-
readonly mention?: {
|
|
4133
|
-
readonly start: number;
|
|
4134
|
-
readonly end: number;
|
|
4135
|
-
readonly text: string;
|
|
4136
|
-
} | undefined;
|
|
4137
|
-
}[] | undefined;
|
|
4138
|
-
readonly agents?: readonly {
|
|
4139
|
-
readonly name: string;
|
|
4140
|
-
readonly mention?: {
|
|
4141
|
-
readonly start: number;
|
|
4142
|
-
readonly end: number;
|
|
4143
|
-
readonly text: string;
|
|
4144
|
-
} | undefined;
|
|
4145
|
-
}[] | undefined;
|
|
4146
|
-
};
|
|
4147
|
-
};
|
|
4148
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
4149
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3959
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3960
|
+
}>, Schema.Struct<{
|
|
3961
|
+
readonly type: Schema.tag<"synthetic">;
|
|
3962
|
+
readonly data: Schema.Struct<{
|
|
3963
|
+
readonly text: Schema.String;
|
|
3964
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3965
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3966
|
+
}>;
|
|
3967
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3968
|
+
}>]>;
|
|
3969
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4150
3970
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4151
3971
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4152
3972
|
};
|
|
@@ -6802,7 +6622,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6802
6622
|
};
|
|
6803
6623
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6804
6624
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6805
|
-
readonly type: Schema.Literal<"session.
|
|
6625
|
+
readonly type: Schema.Literal<"session.input.promoted">;
|
|
6806
6626
|
readonly durable: Schema.Struct<{
|
|
6807
6627
|
readonly aggregateID: Schema.String;
|
|
6808
6628
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6838,7 +6658,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6838
6658
|
};
|
|
6839
6659
|
}>;
|
|
6840
6660
|
}> & {
|
|
6841
|
-
type: "session.
|
|
6661
|
+
type: "session.input.promoted";
|
|
6842
6662
|
durability: "durable";
|
|
6843
6663
|
durable: {
|
|
6844
6664
|
readonly version: number;
|
|
@@ -6860,7 +6680,7 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6860
6680
|
};
|
|
6861
6681
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6862
6682
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6863
|
-
readonly type: Schema.Literal<"session.
|
|
6683
|
+
readonly type: Schema.Literal<"session.input.admitted">;
|
|
6864
6684
|
readonly durable: Schema.Struct<{
|
|
6865
6685
|
readonly aggregateID: Schema.String;
|
|
6866
6686
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6886,350 +6706,260 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
6886
6706
|
}>, never, never>;
|
|
6887
6707
|
}>>, never, never>;
|
|
6888
6708
|
readonly data: Schema.Struct<{
|
|
6889
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6709
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6890
6710
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6891
6711
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6892
6712
|
};
|
|
6893
|
-
|
|
6894
|
-
readonly
|
|
6895
|
-
readonly
|
|
6896
|
-
readonly
|
|
6897
|
-
readonly
|
|
6898
|
-
readonly
|
|
6899
|
-
readonly
|
|
6900
|
-
|
|
6901
|
-
readonly
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
readonly
|
|
6908
|
-
readonly
|
|
6909
|
-
readonly
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
readonly
|
|
6921
|
-
|
|
6922
|
-
readonly
|
|
6923
|
-
|
|
6713
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
6714
|
+
readonly type: Schema.tag<"user">;
|
|
6715
|
+
readonly data: Schema.Struct<{
|
|
6716
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6717
|
+
readonly text: Schema.String;
|
|
6718
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
6719
|
+
readonly data: Schema.String;
|
|
6720
|
+
readonly mime: Schema.String;
|
|
6721
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
6722
|
+
readonly type: Schema.Literal<"inline">;
|
|
6723
|
+
}>, Schema.Struct<{
|
|
6724
|
+
readonly type: Schema.Literal<"uri">;
|
|
6725
|
+
readonly uri: Schema.String;
|
|
6726
|
+
}>]>;
|
|
6727
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6728
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6729
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6730
|
+
readonly start: Schema.Finite;
|
|
6731
|
+
readonly end: Schema.Finite;
|
|
6732
|
+
readonly text: Schema.String;
|
|
6733
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6734
|
+
readonly start: Schema.Finite;
|
|
6735
|
+
readonly end: Schema.Finite;
|
|
6736
|
+
readonly text: Schema.String;
|
|
6737
|
+
}>>, never, never>;
|
|
6738
|
+
}> & {
|
|
6739
|
+
create: (input: FileAttachment) => {
|
|
6740
|
+
readonly data: string;
|
|
6741
|
+
readonly mime: string;
|
|
6742
|
+
readonly source: {
|
|
6743
|
+
readonly type: "inline";
|
|
6744
|
+
} | {
|
|
6745
|
+
readonly type: "uri";
|
|
6746
|
+
readonly uri: string;
|
|
6747
|
+
};
|
|
6748
|
+
readonly name?: string | undefined;
|
|
6749
|
+
readonly description?: string | undefined;
|
|
6750
|
+
readonly mention?: {
|
|
6751
|
+
readonly start: number;
|
|
6752
|
+
readonly end: number;
|
|
6753
|
+
readonly text: string;
|
|
6754
|
+
} | undefined;
|
|
6924
6755
|
};
|
|
6925
|
-
|
|
6926
|
-
readonly
|
|
6927
|
-
readonly
|
|
6928
|
-
|
|
6929
|
-
readonly
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6756
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
6757
|
+
readonly data: Schema.String;
|
|
6758
|
+
readonly mime: Schema.String;
|
|
6759
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
6760
|
+
readonly type: Schema.Literal<"inline">;
|
|
6761
|
+
}>, Schema.Struct<{
|
|
6762
|
+
readonly type: Schema.Literal<"uri">;
|
|
6763
|
+
readonly uri: Schema.String;
|
|
6764
|
+
}>]>;
|
|
6765
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6766
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6767
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6768
|
+
readonly start: Schema.Finite;
|
|
6769
|
+
readonly end: Schema.Finite;
|
|
6770
|
+
readonly text: Schema.String;
|
|
6771
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6772
|
+
readonly start: Schema.Finite;
|
|
6773
|
+
readonly end: Schema.Finite;
|
|
6774
|
+
readonly text: Schema.String;
|
|
6775
|
+
}>>, never, never>;
|
|
6776
|
+
}> & {
|
|
6777
|
+
create: (input: FileAttachment) => {
|
|
6778
|
+
readonly data: string;
|
|
6779
|
+
readonly mime: string;
|
|
6780
|
+
readonly source: {
|
|
6781
|
+
readonly type: "inline";
|
|
6782
|
+
} | {
|
|
6783
|
+
readonly type: "uri";
|
|
6784
|
+
readonly uri: string;
|
|
6785
|
+
};
|
|
6786
|
+
readonly name?: string | undefined;
|
|
6787
|
+
readonly description?: string | undefined;
|
|
6788
|
+
readonly mention?: {
|
|
6789
|
+
readonly start: number;
|
|
6790
|
+
readonly end: number;
|
|
6791
|
+
readonly text: string;
|
|
6792
|
+
} | undefined;
|
|
6962
6793
|
};
|
|
6963
|
-
readonly name?: string | undefined;
|
|
6964
|
-
readonly description?: string | undefined;
|
|
6965
|
-
readonly mention?: {
|
|
6966
|
-
readonly start: number;
|
|
6967
|
-
readonly end: number;
|
|
6968
|
-
readonly text: string;
|
|
6969
|
-
} | undefined;
|
|
6970
|
-
};
|
|
6971
|
-
}>>, never, never>;
|
|
6972
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
6973
|
-
readonly name: Schema.String;
|
|
6974
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6975
|
-
readonly start: Schema.Finite;
|
|
6976
|
-
readonly end: Schema.Finite;
|
|
6977
|
-
readonly text: Schema.String;
|
|
6978
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6979
|
-
readonly start: Schema.Finite;
|
|
6980
|
-
readonly end: Schema.Finite;
|
|
6981
|
-
readonly text: Schema.String;
|
|
6982
6794
|
}>>, never, never>;
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
readonly
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
};
|
|
7007
|
-
readonly name?: string | undefined;
|
|
7008
|
-
readonly description?: string | undefined;
|
|
7009
|
-
readonly mention?: {
|
|
7010
|
-
readonly start: number;
|
|
7011
|
-
readonly end: number;
|
|
7012
|
-
readonly text: string;
|
|
7013
|
-
} | undefined;
|
|
7014
|
-
}[] | undefined;
|
|
7015
|
-
readonly agents?: readonly {
|
|
7016
|
-
readonly name: string;
|
|
7017
|
-
readonly mention?: {
|
|
7018
|
-
readonly start: number;
|
|
7019
|
-
readonly end: number;
|
|
7020
|
-
readonly text: string;
|
|
7021
|
-
} | undefined;
|
|
7022
|
-
}[] | undefined;
|
|
6795
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
6796
|
+
readonly name: Schema.String;
|
|
6797
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6798
|
+
readonly start: Schema.Finite;
|
|
6799
|
+
readonly end: Schema.Finite;
|
|
6800
|
+
readonly text: Schema.String;
|
|
6801
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6802
|
+
readonly start: Schema.Finite;
|
|
6803
|
+
readonly end: Schema.Finite;
|
|
6804
|
+
readonly text: Schema.String;
|
|
6805
|
+
}>>, never, never>;
|
|
6806
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
6807
|
+
readonly name: Schema.String;
|
|
6808
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6809
|
+
readonly start: Schema.Finite;
|
|
6810
|
+
readonly end: Schema.Finite;
|
|
6811
|
+
readonly text: Schema.String;
|
|
6812
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6813
|
+
readonly start: Schema.Finite;
|
|
6814
|
+
readonly end: Schema.Finite;
|
|
6815
|
+
readonly text: Schema.String;
|
|
6816
|
+
}>>, never, never>;
|
|
6817
|
+
}>>>, never, never>;
|
|
7023
6818
|
}>;
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
readonly name?: string | undefined;
|
|
7036
|
-
readonly description?: string | undefined;
|
|
7037
|
-
readonly mention?: {
|
|
7038
|
-
readonly start: number;
|
|
7039
|
-
readonly end: number;
|
|
7040
|
-
readonly text: string;
|
|
7041
|
-
} | undefined;
|
|
7042
|
-
}[] | undefined;
|
|
7043
|
-
readonly agents?: readonly {
|
|
7044
|
-
readonly name: string;
|
|
7045
|
-
readonly mention?: {
|
|
7046
|
-
readonly start: number;
|
|
7047
|
-
readonly end: number;
|
|
7048
|
-
readonly text: string;
|
|
7049
|
-
} | undefined;
|
|
7050
|
-
}[] | undefined;
|
|
7051
|
-
};
|
|
7052
|
-
};
|
|
7053
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
7054
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6819
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6820
|
+
}>, Schema.Struct<{
|
|
6821
|
+
readonly type: Schema.tag<"synthetic">;
|
|
6822
|
+
readonly data: Schema.Struct<{
|
|
6823
|
+
readonly text: Schema.String;
|
|
6824
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6825
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6826
|
+
}>;
|
|
6827
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6828
|
+
}>]>;
|
|
6829
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7055
6830
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7056
6831
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7057
6832
|
};
|
|
7058
6833
|
}>;
|
|
7059
6834
|
}> & {
|
|
7060
|
-
type: "session.
|
|
6835
|
+
type: "session.input.admitted";
|
|
7061
6836
|
durability: "durable";
|
|
7062
6837
|
durable: {
|
|
7063
6838
|
readonly version: number;
|
|
7064
6839
|
readonly aggregate: string;
|
|
7065
6840
|
};
|
|
7066
6841
|
data: Schema.Struct<{
|
|
7067
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6842
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7068
6843
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7069
6844
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7070
6845
|
};
|
|
7071
|
-
|
|
7072
|
-
readonly
|
|
7073
|
-
readonly
|
|
7074
|
-
readonly
|
|
7075
|
-
readonly
|
|
7076
|
-
readonly
|
|
7077
|
-
readonly
|
|
7078
|
-
|
|
7079
|
-
readonly
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
readonly
|
|
7086
|
-
readonly
|
|
7087
|
-
readonly
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
readonly
|
|
7099
|
-
|
|
7100
|
-
readonly
|
|
7101
|
-
|
|
6846
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
6847
|
+
readonly type: Schema.tag<"user">;
|
|
6848
|
+
readonly data: Schema.Struct<{
|
|
6849
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6850
|
+
readonly text: Schema.String;
|
|
6851
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
6852
|
+
readonly data: Schema.String;
|
|
6853
|
+
readonly mime: Schema.String;
|
|
6854
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
6855
|
+
readonly type: Schema.Literal<"inline">;
|
|
6856
|
+
}>, Schema.Struct<{
|
|
6857
|
+
readonly type: Schema.Literal<"uri">;
|
|
6858
|
+
readonly uri: Schema.String;
|
|
6859
|
+
}>]>;
|
|
6860
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6861
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6862
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6863
|
+
readonly start: Schema.Finite;
|
|
6864
|
+
readonly end: Schema.Finite;
|
|
6865
|
+
readonly text: Schema.String;
|
|
6866
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6867
|
+
readonly start: Schema.Finite;
|
|
6868
|
+
readonly end: Schema.Finite;
|
|
6869
|
+
readonly text: Schema.String;
|
|
6870
|
+
}>>, never, never>;
|
|
6871
|
+
}> & {
|
|
6872
|
+
create: (input: FileAttachment) => {
|
|
6873
|
+
readonly data: string;
|
|
6874
|
+
readonly mime: string;
|
|
6875
|
+
readonly source: {
|
|
6876
|
+
readonly type: "inline";
|
|
6877
|
+
} | {
|
|
6878
|
+
readonly type: "uri";
|
|
6879
|
+
readonly uri: string;
|
|
6880
|
+
};
|
|
6881
|
+
readonly name?: string | undefined;
|
|
6882
|
+
readonly description?: string | undefined;
|
|
6883
|
+
readonly mention?: {
|
|
6884
|
+
readonly start: number;
|
|
6885
|
+
readonly end: number;
|
|
6886
|
+
readonly text: string;
|
|
6887
|
+
} | undefined;
|
|
7102
6888
|
};
|
|
7103
|
-
|
|
7104
|
-
readonly
|
|
7105
|
-
readonly
|
|
7106
|
-
|
|
7107
|
-
readonly
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
6889
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
6890
|
+
readonly data: Schema.String;
|
|
6891
|
+
readonly mime: Schema.String;
|
|
6892
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
6893
|
+
readonly type: Schema.Literal<"inline">;
|
|
6894
|
+
}>, Schema.Struct<{
|
|
6895
|
+
readonly type: Schema.Literal<"uri">;
|
|
6896
|
+
readonly uri: Schema.String;
|
|
6897
|
+
}>]>;
|
|
6898
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6899
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6900
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6901
|
+
readonly start: Schema.Finite;
|
|
6902
|
+
readonly end: Schema.Finite;
|
|
6903
|
+
readonly text: Schema.String;
|
|
6904
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6905
|
+
readonly start: Schema.Finite;
|
|
6906
|
+
readonly end: Schema.Finite;
|
|
6907
|
+
readonly text: Schema.String;
|
|
6908
|
+
}>>, never, never>;
|
|
6909
|
+
}> & {
|
|
6910
|
+
create: (input: FileAttachment) => {
|
|
6911
|
+
readonly data: string;
|
|
6912
|
+
readonly mime: string;
|
|
6913
|
+
readonly source: {
|
|
6914
|
+
readonly type: "inline";
|
|
6915
|
+
} | {
|
|
6916
|
+
readonly type: "uri";
|
|
6917
|
+
readonly uri: string;
|
|
6918
|
+
};
|
|
6919
|
+
readonly name?: string | undefined;
|
|
6920
|
+
readonly description?: string | undefined;
|
|
6921
|
+
readonly mention?: {
|
|
6922
|
+
readonly start: number;
|
|
6923
|
+
readonly end: number;
|
|
6924
|
+
readonly text: string;
|
|
6925
|
+
} | undefined;
|
|
7140
6926
|
};
|
|
7141
|
-
readonly name?: string | undefined;
|
|
7142
|
-
readonly description?: string | undefined;
|
|
7143
|
-
readonly mention?: {
|
|
7144
|
-
readonly start: number;
|
|
7145
|
-
readonly end: number;
|
|
7146
|
-
readonly text: string;
|
|
7147
|
-
} | undefined;
|
|
7148
|
-
};
|
|
7149
|
-
}>>, never, never>;
|
|
7150
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
7151
|
-
readonly name: Schema.String;
|
|
7152
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7153
|
-
readonly start: Schema.Finite;
|
|
7154
|
-
readonly end: Schema.Finite;
|
|
7155
|
-
readonly text: Schema.String;
|
|
7156
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7157
|
-
readonly start: Schema.Finite;
|
|
7158
|
-
readonly end: Schema.Finite;
|
|
7159
|
-
readonly text: Schema.String;
|
|
7160
6927
|
}>>, never, never>;
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
readonly
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
};
|
|
7185
|
-
readonly name?: string | undefined;
|
|
7186
|
-
readonly description?: string | undefined;
|
|
7187
|
-
readonly mention?: {
|
|
7188
|
-
readonly start: number;
|
|
7189
|
-
readonly end: number;
|
|
7190
|
-
readonly text: string;
|
|
7191
|
-
} | undefined;
|
|
7192
|
-
}[] | undefined;
|
|
7193
|
-
readonly agents?: readonly {
|
|
7194
|
-
readonly name: string;
|
|
7195
|
-
readonly mention?: {
|
|
7196
|
-
readonly start: number;
|
|
7197
|
-
readonly end: number;
|
|
7198
|
-
readonly text: string;
|
|
7199
|
-
} | undefined;
|
|
7200
|
-
}[] | undefined;
|
|
6928
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
6929
|
+
readonly name: Schema.String;
|
|
6930
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6931
|
+
readonly start: Schema.Finite;
|
|
6932
|
+
readonly end: Schema.Finite;
|
|
6933
|
+
readonly text: Schema.String;
|
|
6934
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6935
|
+
readonly start: Schema.Finite;
|
|
6936
|
+
readonly end: Schema.Finite;
|
|
6937
|
+
readonly text: Schema.String;
|
|
6938
|
+
}>>, never, never>;
|
|
6939
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
6940
|
+
readonly name: Schema.String;
|
|
6941
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6942
|
+
readonly start: Schema.Finite;
|
|
6943
|
+
readonly end: Schema.Finite;
|
|
6944
|
+
readonly text: Schema.String;
|
|
6945
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6946
|
+
readonly start: Schema.Finite;
|
|
6947
|
+
readonly end: Schema.Finite;
|
|
6948
|
+
readonly text: Schema.String;
|
|
6949
|
+
}>>, never, never>;
|
|
6950
|
+
}>>>, never, never>;
|
|
7201
6951
|
}>;
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
readonly name?: string | undefined;
|
|
7214
|
-
readonly description?: string | undefined;
|
|
7215
|
-
readonly mention?: {
|
|
7216
|
-
readonly start: number;
|
|
7217
|
-
readonly end: number;
|
|
7218
|
-
readonly text: string;
|
|
7219
|
-
} | undefined;
|
|
7220
|
-
}[] | undefined;
|
|
7221
|
-
readonly agents?: readonly {
|
|
7222
|
-
readonly name: string;
|
|
7223
|
-
readonly mention?: {
|
|
7224
|
-
readonly start: number;
|
|
7225
|
-
readonly end: number;
|
|
7226
|
-
readonly text: string;
|
|
7227
|
-
} | undefined;
|
|
7228
|
-
}[] | undefined;
|
|
7229
|
-
};
|
|
7230
|
-
};
|
|
7231
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
7232
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6952
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6953
|
+
}>, Schema.Struct<{
|
|
6954
|
+
readonly type: Schema.tag<"synthetic">;
|
|
6955
|
+
readonly data: Schema.Struct<{
|
|
6956
|
+
readonly text: Schema.String;
|
|
6957
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6958
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6959
|
+
}>;
|
|
6960
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6961
|
+
}>]>;
|
|
6962
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7233
6963
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7234
6964
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7235
6965
|
};
|
|
@@ -9679,7 +9409,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9679
9409
|
};
|
|
9680
9410
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9681
9411
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9682
|
-
readonly type: Schema.Literal<"session.
|
|
9412
|
+
readonly type: Schema.Literal<"session.input.promoted">;
|
|
9683
9413
|
readonly durable: Schema.Struct<{
|
|
9684
9414
|
readonly aggregateID: Schema.String;
|
|
9685
9415
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9715,7 +9445,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9715
9445
|
};
|
|
9716
9446
|
}>;
|
|
9717
9447
|
}> & {
|
|
9718
|
-
type: "session.
|
|
9448
|
+
type: "session.input.promoted";
|
|
9719
9449
|
durability: "durable";
|
|
9720
9450
|
durable: {
|
|
9721
9451
|
readonly version: number;
|
|
@@ -9737,7 +9467,7 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9737
9467
|
};
|
|
9738
9468
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9739
9469
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9740
|
-
readonly type: Schema.Literal<"session.
|
|
9470
|
+
readonly type: Schema.Literal<"session.input.admitted">;
|
|
9741
9471
|
readonly durable: Schema.Struct<{
|
|
9742
9472
|
readonly aggregateID: Schema.String;
|
|
9743
9473
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9763,350 +9493,260 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
9763
9493
|
}>, never, never>;
|
|
9764
9494
|
}>>, never, never>;
|
|
9765
9495
|
readonly data: Schema.Struct<{
|
|
9766
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9496
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9767
9497
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9768
9498
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9769
9499
|
};
|
|
9770
|
-
|
|
9771
|
-
readonly
|
|
9772
|
-
readonly
|
|
9773
|
-
readonly
|
|
9774
|
-
readonly
|
|
9775
|
-
readonly
|
|
9776
|
-
readonly
|
|
9777
|
-
|
|
9778
|
-
readonly
|
|
9779
|
-
|
|
9780
|
-
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
|
|
9784
|
-
readonly
|
|
9785
|
-
readonly
|
|
9786
|
-
readonly
|
|
9787
|
-
|
|
9788
|
-
|
|
9789
|
-
|
|
9790
|
-
|
|
9791
|
-
|
|
9792
|
-
|
|
9793
|
-
|
|
9794
|
-
|
|
9795
|
-
|
|
9796
|
-
|
|
9797
|
-
readonly
|
|
9798
|
-
|
|
9799
|
-
readonly
|
|
9800
|
-
|
|
9500
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
9501
|
+
readonly type: Schema.tag<"user">;
|
|
9502
|
+
readonly data: Schema.Struct<{
|
|
9503
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9504
|
+
readonly text: Schema.String;
|
|
9505
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
9506
|
+
readonly data: Schema.String;
|
|
9507
|
+
readonly mime: Schema.String;
|
|
9508
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
9509
|
+
readonly type: Schema.Literal<"inline">;
|
|
9510
|
+
}>, Schema.Struct<{
|
|
9511
|
+
readonly type: Schema.Literal<"uri">;
|
|
9512
|
+
readonly uri: Schema.String;
|
|
9513
|
+
}>]>;
|
|
9514
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9515
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9516
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9517
|
+
readonly start: Schema.Finite;
|
|
9518
|
+
readonly end: Schema.Finite;
|
|
9519
|
+
readonly text: Schema.String;
|
|
9520
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9521
|
+
readonly start: Schema.Finite;
|
|
9522
|
+
readonly end: Schema.Finite;
|
|
9523
|
+
readonly text: Schema.String;
|
|
9524
|
+
}>>, never, never>;
|
|
9525
|
+
}> & {
|
|
9526
|
+
create: (input: FileAttachment) => {
|
|
9527
|
+
readonly data: string;
|
|
9528
|
+
readonly mime: string;
|
|
9529
|
+
readonly source: {
|
|
9530
|
+
readonly type: "inline";
|
|
9531
|
+
} | {
|
|
9532
|
+
readonly type: "uri";
|
|
9533
|
+
readonly uri: string;
|
|
9534
|
+
};
|
|
9535
|
+
readonly name?: string | undefined;
|
|
9536
|
+
readonly description?: string | undefined;
|
|
9537
|
+
readonly mention?: {
|
|
9538
|
+
readonly start: number;
|
|
9539
|
+
readonly end: number;
|
|
9540
|
+
readonly text: string;
|
|
9541
|
+
} | undefined;
|
|
9801
9542
|
};
|
|
9802
|
-
|
|
9803
|
-
readonly
|
|
9804
|
-
readonly
|
|
9805
|
-
|
|
9806
|
-
readonly
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
|
|
9819
|
-
|
|
9820
|
-
|
|
9821
|
-
|
|
9822
|
-
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
9827
|
-
|
|
9828
|
-
|
|
9829
|
-
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9543
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
9544
|
+
readonly data: Schema.String;
|
|
9545
|
+
readonly mime: Schema.String;
|
|
9546
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
9547
|
+
readonly type: Schema.Literal<"inline">;
|
|
9548
|
+
}>, Schema.Struct<{
|
|
9549
|
+
readonly type: Schema.Literal<"uri">;
|
|
9550
|
+
readonly uri: Schema.String;
|
|
9551
|
+
}>]>;
|
|
9552
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9553
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9554
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9555
|
+
readonly start: Schema.Finite;
|
|
9556
|
+
readonly end: Schema.Finite;
|
|
9557
|
+
readonly text: Schema.String;
|
|
9558
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9559
|
+
readonly start: Schema.Finite;
|
|
9560
|
+
readonly end: Schema.Finite;
|
|
9561
|
+
readonly text: Schema.String;
|
|
9562
|
+
}>>, never, never>;
|
|
9563
|
+
}> & {
|
|
9564
|
+
create: (input: FileAttachment) => {
|
|
9565
|
+
readonly data: string;
|
|
9566
|
+
readonly mime: string;
|
|
9567
|
+
readonly source: {
|
|
9568
|
+
readonly type: "inline";
|
|
9569
|
+
} | {
|
|
9570
|
+
readonly type: "uri";
|
|
9571
|
+
readonly uri: string;
|
|
9572
|
+
};
|
|
9573
|
+
readonly name?: string | undefined;
|
|
9574
|
+
readonly description?: string | undefined;
|
|
9575
|
+
readonly mention?: {
|
|
9576
|
+
readonly start: number;
|
|
9577
|
+
readonly end: number;
|
|
9578
|
+
readonly text: string;
|
|
9579
|
+
} | undefined;
|
|
9839
9580
|
};
|
|
9840
|
-
readonly name?: string | undefined;
|
|
9841
|
-
readonly description?: string | undefined;
|
|
9842
|
-
readonly mention?: {
|
|
9843
|
-
readonly start: number;
|
|
9844
|
-
readonly end: number;
|
|
9845
|
-
readonly text: string;
|
|
9846
|
-
} | undefined;
|
|
9847
|
-
};
|
|
9848
|
-
}>>, never, never>;
|
|
9849
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
9850
|
-
readonly name: Schema.String;
|
|
9851
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9852
|
-
readonly start: Schema.Finite;
|
|
9853
|
-
readonly end: Schema.Finite;
|
|
9854
|
-
readonly text: Schema.String;
|
|
9855
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9856
|
-
readonly start: Schema.Finite;
|
|
9857
|
-
readonly end: Schema.Finite;
|
|
9858
|
-
readonly text: Schema.String;
|
|
9859
9581
|
}>>, never, never>;
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
readonly
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
|
|
9883
|
-
};
|
|
9884
|
-
readonly name?: string | undefined;
|
|
9885
|
-
readonly description?: string | undefined;
|
|
9886
|
-
readonly mention?: {
|
|
9887
|
-
readonly start: number;
|
|
9888
|
-
readonly end: number;
|
|
9889
|
-
readonly text: string;
|
|
9890
|
-
} | undefined;
|
|
9891
|
-
}[] | undefined;
|
|
9892
|
-
readonly agents?: readonly {
|
|
9893
|
-
readonly name: string;
|
|
9894
|
-
readonly mention?: {
|
|
9895
|
-
readonly start: number;
|
|
9896
|
-
readonly end: number;
|
|
9897
|
-
readonly text: string;
|
|
9898
|
-
} | undefined;
|
|
9899
|
-
}[] | undefined;
|
|
9582
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
9583
|
+
readonly name: Schema.String;
|
|
9584
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9585
|
+
readonly start: Schema.Finite;
|
|
9586
|
+
readonly end: Schema.Finite;
|
|
9587
|
+
readonly text: Schema.String;
|
|
9588
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9589
|
+
readonly start: Schema.Finite;
|
|
9590
|
+
readonly end: Schema.Finite;
|
|
9591
|
+
readonly text: Schema.String;
|
|
9592
|
+
}>>, never, never>;
|
|
9593
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
9594
|
+
readonly name: Schema.String;
|
|
9595
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9596
|
+
readonly start: Schema.Finite;
|
|
9597
|
+
readonly end: Schema.Finite;
|
|
9598
|
+
readonly text: Schema.String;
|
|
9599
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9600
|
+
readonly start: Schema.Finite;
|
|
9601
|
+
readonly end: Schema.Finite;
|
|
9602
|
+
readonly text: Schema.String;
|
|
9603
|
+
}>>, never, never>;
|
|
9604
|
+
}>>>, never, never>;
|
|
9900
9605
|
}>;
|
|
9901
|
-
|
|
9902
|
-
|
|
9903
|
-
|
|
9904
|
-
|
|
9905
|
-
|
|
9906
|
-
|
|
9907
|
-
|
|
9908
|
-
|
|
9909
|
-
|
|
9910
|
-
|
|
9911
|
-
|
|
9912
|
-
readonly name?: string | undefined;
|
|
9913
|
-
readonly description?: string | undefined;
|
|
9914
|
-
readonly mention?: {
|
|
9915
|
-
readonly start: number;
|
|
9916
|
-
readonly end: number;
|
|
9917
|
-
readonly text: string;
|
|
9918
|
-
} | undefined;
|
|
9919
|
-
}[] | undefined;
|
|
9920
|
-
readonly agents?: readonly {
|
|
9921
|
-
readonly name: string;
|
|
9922
|
-
readonly mention?: {
|
|
9923
|
-
readonly start: number;
|
|
9924
|
-
readonly end: number;
|
|
9925
|
-
readonly text: string;
|
|
9926
|
-
} | undefined;
|
|
9927
|
-
}[] | undefined;
|
|
9928
|
-
};
|
|
9929
|
-
};
|
|
9930
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
9931
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9606
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
9607
|
+
}>, Schema.Struct<{
|
|
9608
|
+
readonly type: Schema.tag<"synthetic">;
|
|
9609
|
+
readonly data: Schema.Struct<{
|
|
9610
|
+
readonly text: Schema.String;
|
|
9611
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9612
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9613
|
+
}>;
|
|
9614
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
9615
|
+
}>]>;
|
|
9616
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9932
9617
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
9933
9618
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
9934
9619
|
};
|
|
9935
9620
|
}>;
|
|
9936
9621
|
}> & {
|
|
9937
|
-
type: "session.
|
|
9622
|
+
type: "session.input.admitted";
|
|
9938
9623
|
durability: "durable";
|
|
9939
9624
|
durable: {
|
|
9940
9625
|
readonly version: number;
|
|
9941
9626
|
readonly aggregate: string;
|
|
9942
9627
|
};
|
|
9943
9628
|
data: Schema.Struct<{
|
|
9944
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9629
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9945
9630
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9946
9631
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9947
9632
|
};
|
|
9948
|
-
|
|
9949
|
-
readonly
|
|
9950
|
-
readonly
|
|
9951
|
-
readonly
|
|
9952
|
-
readonly
|
|
9953
|
-
readonly
|
|
9954
|
-
readonly
|
|
9955
|
-
|
|
9956
|
-
readonly
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
readonly
|
|
9963
|
-
readonly
|
|
9964
|
-
readonly
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
readonly
|
|
9976
|
-
|
|
9977
|
-
readonly
|
|
9978
|
-
|
|
9633
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
9634
|
+
readonly type: Schema.tag<"user">;
|
|
9635
|
+
readonly data: Schema.Struct<{
|
|
9636
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9637
|
+
readonly text: Schema.String;
|
|
9638
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
9639
|
+
readonly data: Schema.String;
|
|
9640
|
+
readonly mime: Schema.String;
|
|
9641
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
9642
|
+
readonly type: Schema.Literal<"inline">;
|
|
9643
|
+
}>, Schema.Struct<{
|
|
9644
|
+
readonly type: Schema.Literal<"uri">;
|
|
9645
|
+
readonly uri: Schema.String;
|
|
9646
|
+
}>]>;
|
|
9647
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9648
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9649
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9650
|
+
readonly start: Schema.Finite;
|
|
9651
|
+
readonly end: Schema.Finite;
|
|
9652
|
+
readonly text: Schema.String;
|
|
9653
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9654
|
+
readonly start: Schema.Finite;
|
|
9655
|
+
readonly end: Schema.Finite;
|
|
9656
|
+
readonly text: Schema.String;
|
|
9657
|
+
}>>, never, never>;
|
|
9658
|
+
}> & {
|
|
9659
|
+
create: (input: FileAttachment) => {
|
|
9660
|
+
readonly data: string;
|
|
9661
|
+
readonly mime: string;
|
|
9662
|
+
readonly source: {
|
|
9663
|
+
readonly type: "inline";
|
|
9664
|
+
} | {
|
|
9665
|
+
readonly type: "uri";
|
|
9666
|
+
readonly uri: string;
|
|
9667
|
+
};
|
|
9668
|
+
readonly name?: string | undefined;
|
|
9669
|
+
readonly description?: string | undefined;
|
|
9670
|
+
readonly mention?: {
|
|
9671
|
+
readonly start: number;
|
|
9672
|
+
readonly end: number;
|
|
9673
|
+
readonly text: string;
|
|
9674
|
+
} | undefined;
|
|
9979
9675
|
};
|
|
9980
|
-
|
|
9981
|
-
readonly
|
|
9982
|
-
readonly
|
|
9983
|
-
|
|
9984
|
-
readonly
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
9676
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
9677
|
+
readonly data: Schema.String;
|
|
9678
|
+
readonly mime: Schema.String;
|
|
9679
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
9680
|
+
readonly type: Schema.Literal<"inline">;
|
|
9681
|
+
}>, Schema.Struct<{
|
|
9682
|
+
readonly type: Schema.Literal<"uri">;
|
|
9683
|
+
readonly uri: Schema.String;
|
|
9684
|
+
}>]>;
|
|
9685
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9686
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9687
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9688
|
+
readonly start: Schema.Finite;
|
|
9689
|
+
readonly end: Schema.Finite;
|
|
9690
|
+
readonly text: Schema.String;
|
|
9691
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9692
|
+
readonly start: Schema.Finite;
|
|
9693
|
+
readonly end: Schema.Finite;
|
|
9694
|
+
readonly text: Schema.String;
|
|
9695
|
+
}>>, never, never>;
|
|
9696
|
+
}> & {
|
|
9697
|
+
create: (input: FileAttachment) => {
|
|
9698
|
+
readonly data: string;
|
|
9699
|
+
readonly mime: string;
|
|
9700
|
+
readonly source: {
|
|
9701
|
+
readonly type: "inline";
|
|
9702
|
+
} | {
|
|
9703
|
+
readonly type: "uri";
|
|
9704
|
+
readonly uri: string;
|
|
9705
|
+
};
|
|
9706
|
+
readonly name?: string | undefined;
|
|
9707
|
+
readonly description?: string | undefined;
|
|
9708
|
+
readonly mention?: {
|
|
9709
|
+
readonly start: number;
|
|
9710
|
+
readonly end: number;
|
|
9711
|
+
readonly text: string;
|
|
9712
|
+
} | undefined;
|
|
10017
9713
|
};
|
|
10018
|
-
readonly name?: string | undefined;
|
|
10019
|
-
readonly description?: string | undefined;
|
|
10020
|
-
readonly mention?: {
|
|
10021
|
-
readonly start: number;
|
|
10022
|
-
readonly end: number;
|
|
10023
|
-
readonly text: string;
|
|
10024
|
-
} | undefined;
|
|
10025
|
-
};
|
|
10026
|
-
}>>, never, never>;
|
|
10027
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
10028
|
-
readonly name: Schema.String;
|
|
10029
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10030
|
-
readonly start: Schema.Finite;
|
|
10031
|
-
readonly end: Schema.Finite;
|
|
10032
|
-
readonly text: Schema.String;
|
|
10033
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10034
|
-
readonly start: Schema.Finite;
|
|
10035
|
-
readonly end: Schema.Finite;
|
|
10036
|
-
readonly text: Schema.String;
|
|
10037
|
-
}>>, never, never>;
|
|
10038
|
-
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
10039
|
-
readonly name: Schema.String;
|
|
10040
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10041
|
-
readonly start: Schema.Finite;
|
|
10042
|
-
readonly end: Schema.Finite;
|
|
10043
|
-
readonly text: Schema.String;
|
|
10044
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10045
|
-
readonly start: Schema.Finite;
|
|
10046
|
-
readonly end: Schema.Finite;
|
|
10047
|
-
readonly text: Schema.String;
|
|
10048
9714
|
}>>, never, never>;
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
readonly
|
|
10058
|
-
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
10062
|
-
readonly
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
readonly
|
|
10066
|
-
|
|
10067
|
-
readonly
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
readonly mention?: {
|
|
10073
|
-
readonly start: number;
|
|
10074
|
-
readonly end: number;
|
|
10075
|
-
readonly text: string;
|
|
10076
|
-
} | undefined;
|
|
10077
|
-
}[] | undefined;
|
|
9715
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
9716
|
+
readonly name: Schema.String;
|
|
9717
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9718
|
+
readonly start: Schema.Finite;
|
|
9719
|
+
readonly end: Schema.Finite;
|
|
9720
|
+
readonly text: Schema.String;
|
|
9721
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9722
|
+
readonly start: Schema.Finite;
|
|
9723
|
+
readonly end: Schema.Finite;
|
|
9724
|
+
readonly text: Schema.String;
|
|
9725
|
+
}>>, never, never>;
|
|
9726
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
9727
|
+
readonly name: Schema.String;
|
|
9728
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9729
|
+
readonly start: Schema.Finite;
|
|
9730
|
+
readonly end: Schema.Finite;
|
|
9731
|
+
readonly text: Schema.String;
|
|
9732
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9733
|
+
readonly start: Schema.Finite;
|
|
9734
|
+
readonly end: Schema.Finite;
|
|
9735
|
+
readonly text: Schema.String;
|
|
9736
|
+
}>>, never, never>;
|
|
9737
|
+
}>>>, never, never>;
|
|
10078
9738
|
}>;
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
readonly name?: string | undefined;
|
|
10091
|
-
readonly description?: string | undefined;
|
|
10092
|
-
readonly mention?: {
|
|
10093
|
-
readonly start: number;
|
|
10094
|
-
readonly end: number;
|
|
10095
|
-
readonly text: string;
|
|
10096
|
-
} | undefined;
|
|
10097
|
-
}[] | undefined;
|
|
10098
|
-
readonly agents?: readonly {
|
|
10099
|
-
readonly name: string;
|
|
10100
|
-
readonly mention?: {
|
|
10101
|
-
readonly start: number;
|
|
10102
|
-
readonly end: number;
|
|
10103
|
-
readonly text: string;
|
|
10104
|
-
} | undefined;
|
|
10105
|
-
}[] | undefined;
|
|
10106
|
-
};
|
|
10107
|
-
};
|
|
10108
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
10109
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9739
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
9740
|
+
}>, Schema.Struct<{
|
|
9741
|
+
readonly type: Schema.tag<"synthetic">;
|
|
9742
|
+
readonly data: Schema.Struct<{
|
|
9743
|
+
readonly text: Schema.String;
|
|
9744
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9745
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9746
|
+
}>;
|
|
9747
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
9748
|
+
}>]>;
|
|
9749
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10110
9750
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10111
9751
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10112
9752
|
};
|
|
@@ -12623,7 +12263,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12623
12263
|
};
|
|
12624
12264
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12625
12265
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12626
|
-
readonly type: Schema.Literal<"session.
|
|
12266
|
+
readonly type: Schema.Literal<"session.input.promoted">;
|
|
12627
12267
|
readonly durable: Schema.Struct<{
|
|
12628
12268
|
readonly aggregateID: Schema.String;
|
|
12629
12269
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12659,7 +12299,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12659
12299
|
};
|
|
12660
12300
|
}>;
|
|
12661
12301
|
}> & {
|
|
12662
|
-
type: "session.
|
|
12302
|
+
type: "session.input.promoted";
|
|
12663
12303
|
durability: "durable";
|
|
12664
12304
|
durable: {
|
|
12665
12305
|
readonly version: number;
|
|
@@ -12681,7 +12321,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12681
12321
|
};
|
|
12682
12322
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12683
12323
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12684
|
-
readonly type: Schema.Literal<"session.
|
|
12324
|
+
readonly type: Schema.Literal<"session.input.admitted">;
|
|
12685
12325
|
readonly durable: Schema.Struct<{
|
|
12686
12326
|
readonly aggregateID: Schema.String;
|
|
12687
12327
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12707,350 +12347,260 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
12707
12347
|
}>, never, never>;
|
|
12708
12348
|
}>>, never, never>;
|
|
12709
12349
|
readonly data: Schema.Struct<{
|
|
12710
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12350
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12711
12351
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12712
12352
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12713
12353
|
};
|
|
12714
|
-
|
|
12715
|
-
readonly
|
|
12716
|
-
readonly
|
|
12717
|
-
readonly
|
|
12718
|
-
readonly
|
|
12719
|
-
readonly
|
|
12720
|
-
readonly
|
|
12721
|
-
|
|
12722
|
-
readonly
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
|
|
12726
|
-
|
|
12727
|
-
|
|
12728
|
-
readonly
|
|
12729
|
-
readonly
|
|
12730
|
-
readonly
|
|
12731
|
-
|
|
12732
|
-
|
|
12733
|
-
|
|
12734
|
-
|
|
12735
|
-
|
|
12736
|
-
|
|
12737
|
-
|
|
12738
|
-
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
readonly
|
|
12742
|
-
|
|
12743
|
-
readonly
|
|
12744
|
-
|
|
12354
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
12355
|
+
readonly type: Schema.tag<"user">;
|
|
12356
|
+
readonly data: Schema.Struct<{
|
|
12357
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12358
|
+
readonly text: Schema.String;
|
|
12359
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
12360
|
+
readonly data: Schema.String;
|
|
12361
|
+
readonly mime: Schema.String;
|
|
12362
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
12363
|
+
readonly type: Schema.Literal<"inline">;
|
|
12364
|
+
}>, Schema.Struct<{
|
|
12365
|
+
readonly type: Schema.Literal<"uri">;
|
|
12366
|
+
readonly uri: Schema.String;
|
|
12367
|
+
}>]>;
|
|
12368
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12369
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12370
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12371
|
+
readonly start: Schema.Finite;
|
|
12372
|
+
readonly end: Schema.Finite;
|
|
12373
|
+
readonly text: Schema.String;
|
|
12374
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12375
|
+
readonly start: Schema.Finite;
|
|
12376
|
+
readonly end: Schema.Finite;
|
|
12377
|
+
readonly text: Schema.String;
|
|
12378
|
+
}>>, never, never>;
|
|
12379
|
+
}> & {
|
|
12380
|
+
create: (input: FileAttachment) => {
|
|
12381
|
+
readonly data: string;
|
|
12382
|
+
readonly mime: string;
|
|
12383
|
+
readonly source: {
|
|
12384
|
+
readonly type: "inline";
|
|
12385
|
+
} | {
|
|
12386
|
+
readonly type: "uri";
|
|
12387
|
+
readonly uri: string;
|
|
12388
|
+
};
|
|
12389
|
+
readonly name?: string | undefined;
|
|
12390
|
+
readonly description?: string | undefined;
|
|
12391
|
+
readonly mention?: {
|
|
12392
|
+
readonly start: number;
|
|
12393
|
+
readonly end: number;
|
|
12394
|
+
readonly text: string;
|
|
12395
|
+
} | undefined;
|
|
12745
12396
|
};
|
|
12746
|
-
|
|
12747
|
-
readonly
|
|
12748
|
-
readonly
|
|
12749
|
-
|
|
12750
|
-
readonly
|
|
12751
|
-
|
|
12752
|
-
|
|
12753
|
-
|
|
12754
|
-
|
|
12755
|
-
|
|
12756
|
-
|
|
12757
|
-
|
|
12758
|
-
|
|
12759
|
-
|
|
12760
|
-
|
|
12761
|
-
|
|
12762
|
-
|
|
12763
|
-
|
|
12764
|
-
|
|
12765
|
-
|
|
12766
|
-
|
|
12767
|
-
|
|
12768
|
-
|
|
12769
|
-
|
|
12770
|
-
|
|
12771
|
-
|
|
12772
|
-
|
|
12773
|
-
|
|
12774
|
-
|
|
12775
|
-
|
|
12776
|
-
|
|
12777
|
-
|
|
12778
|
-
|
|
12779
|
-
|
|
12780
|
-
|
|
12781
|
-
|
|
12782
|
-
|
|
12397
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
12398
|
+
readonly data: Schema.String;
|
|
12399
|
+
readonly mime: Schema.String;
|
|
12400
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
12401
|
+
readonly type: Schema.Literal<"inline">;
|
|
12402
|
+
}>, Schema.Struct<{
|
|
12403
|
+
readonly type: Schema.Literal<"uri">;
|
|
12404
|
+
readonly uri: Schema.String;
|
|
12405
|
+
}>]>;
|
|
12406
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12407
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12408
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12409
|
+
readonly start: Schema.Finite;
|
|
12410
|
+
readonly end: Schema.Finite;
|
|
12411
|
+
readonly text: Schema.String;
|
|
12412
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12413
|
+
readonly start: Schema.Finite;
|
|
12414
|
+
readonly end: Schema.Finite;
|
|
12415
|
+
readonly text: Schema.String;
|
|
12416
|
+
}>>, never, never>;
|
|
12417
|
+
}> & {
|
|
12418
|
+
create: (input: FileAttachment) => {
|
|
12419
|
+
readonly data: string;
|
|
12420
|
+
readonly mime: string;
|
|
12421
|
+
readonly source: {
|
|
12422
|
+
readonly type: "inline";
|
|
12423
|
+
} | {
|
|
12424
|
+
readonly type: "uri";
|
|
12425
|
+
readonly uri: string;
|
|
12426
|
+
};
|
|
12427
|
+
readonly name?: string | undefined;
|
|
12428
|
+
readonly description?: string | undefined;
|
|
12429
|
+
readonly mention?: {
|
|
12430
|
+
readonly start: number;
|
|
12431
|
+
readonly end: number;
|
|
12432
|
+
readonly text: string;
|
|
12433
|
+
} | undefined;
|
|
12783
12434
|
};
|
|
12784
|
-
readonly name?: string | undefined;
|
|
12785
|
-
readonly description?: string | undefined;
|
|
12786
|
-
readonly mention?: {
|
|
12787
|
-
readonly start: number;
|
|
12788
|
-
readonly end: number;
|
|
12789
|
-
readonly text: string;
|
|
12790
|
-
} | undefined;
|
|
12791
|
-
};
|
|
12792
|
-
}>>, never, never>;
|
|
12793
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
12794
|
-
readonly name: Schema.String;
|
|
12795
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12796
|
-
readonly start: Schema.Finite;
|
|
12797
|
-
readonly end: Schema.Finite;
|
|
12798
|
-
readonly text: Schema.String;
|
|
12799
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12800
|
-
readonly start: Schema.Finite;
|
|
12801
|
-
readonly end: Schema.Finite;
|
|
12802
|
-
readonly text: Schema.String;
|
|
12803
|
-
}>>, never, never>;
|
|
12804
|
-
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
12805
|
-
readonly name: Schema.String;
|
|
12806
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12807
|
-
readonly start: Schema.Finite;
|
|
12808
|
-
readonly end: Schema.Finite;
|
|
12809
|
-
readonly text: Schema.String;
|
|
12810
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12811
|
-
readonly start: Schema.Finite;
|
|
12812
|
-
readonly end: Schema.Finite;
|
|
12813
|
-
readonly text: Schema.String;
|
|
12814
12435
|
}>>, never, never>;
|
|
12815
|
-
|
|
12816
|
-
|
|
12817
|
-
|
|
12818
|
-
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
|
|
12822
|
-
|
|
12823
|
-
readonly
|
|
12824
|
-
|
|
12825
|
-
|
|
12826
|
-
|
|
12827
|
-
|
|
12828
|
-
readonly
|
|
12829
|
-
|
|
12830
|
-
|
|
12831
|
-
readonly
|
|
12832
|
-
|
|
12833
|
-
readonly
|
|
12834
|
-
|
|
12835
|
-
|
|
12836
|
-
|
|
12837
|
-
|
|
12838
|
-
readonly mention?: {
|
|
12839
|
-
readonly start: number;
|
|
12840
|
-
readonly end: number;
|
|
12841
|
-
readonly text: string;
|
|
12842
|
-
} | undefined;
|
|
12843
|
-
}[] | undefined;
|
|
12436
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
12437
|
+
readonly name: Schema.String;
|
|
12438
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12439
|
+
readonly start: Schema.Finite;
|
|
12440
|
+
readonly end: Schema.Finite;
|
|
12441
|
+
readonly text: Schema.String;
|
|
12442
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12443
|
+
readonly start: Schema.Finite;
|
|
12444
|
+
readonly end: Schema.Finite;
|
|
12445
|
+
readonly text: Schema.String;
|
|
12446
|
+
}>>, never, never>;
|
|
12447
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
12448
|
+
readonly name: Schema.String;
|
|
12449
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12450
|
+
readonly start: Schema.Finite;
|
|
12451
|
+
readonly end: Schema.Finite;
|
|
12452
|
+
readonly text: Schema.String;
|
|
12453
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12454
|
+
readonly start: Schema.Finite;
|
|
12455
|
+
readonly end: Schema.Finite;
|
|
12456
|
+
readonly text: Schema.String;
|
|
12457
|
+
}>>, never, never>;
|
|
12458
|
+
}>>>, never, never>;
|
|
12844
12459
|
}>;
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
|
|
12851
|
-
|
|
12852
|
-
|
|
12853
|
-
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
readonly name?: string | undefined;
|
|
12857
|
-
readonly description?: string | undefined;
|
|
12858
|
-
readonly mention?: {
|
|
12859
|
-
readonly start: number;
|
|
12860
|
-
readonly end: number;
|
|
12861
|
-
readonly text: string;
|
|
12862
|
-
} | undefined;
|
|
12863
|
-
}[] | undefined;
|
|
12864
|
-
readonly agents?: readonly {
|
|
12865
|
-
readonly name: string;
|
|
12866
|
-
readonly mention?: {
|
|
12867
|
-
readonly start: number;
|
|
12868
|
-
readonly end: number;
|
|
12869
|
-
readonly text: string;
|
|
12870
|
-
} | undefined;
|
|
12871
|
-
}[] | undefined;
|
|
12872
|
-
};
|
|
12873
|
-
};
|
|
12874
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12875
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12460
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12461
|
+
}>, Schema.Struct<{
|
|
12462
|
+
readonly type: Schema.tag<"synthetic">;
|
|
12463
|
+
readonly data: Schema.Struct<{
|
|
12464
|
+
readonly text: Schema.String;
|
|
12465
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12466
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12467
|
+
}>;
|
|
12468
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12469
|
+
}>]>;
|
|
12470
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12876
12471
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12877
12472
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
12878
12473
|
};
|
|
12879
12474
|
}>;
|
|
12880
12475
|
}> & {
|
|
12881
|
-
type: "session.
|
|
12476
|
+
type: "session.input.admitted";
|
|
12882
12477
|
durability: "durable";
|
|
12883
12478
|
durable: {
|
|
12884
12479
|
readonly version: number;
|
|
12885
12480
|
readonly aggregate: string;
|
|
12886
12481
|
};
|
|
12887
12482
|
data: Schema.Struct<{
|
|
12888
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12483
|
+
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12889
12484
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12890
12485
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12891
12486
|
};
|
|
12892
|
-
|
|
12893
|
-
readonly
|
|
12894
|
-
readonly
|
|
12895
|
-
readonly
|
|
12896
|
-
readonly
|
|
12897
|
-
readonly
|
|
12898
|
-
readonly
|
|
12899
|
-
|
|
12900
|
-
readonly
|
|
12901
|
-
|
|
12902
|
-
|
|
12903
|
-
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
|
-
readonly
|
|
12907
|
-
readonly
|
|
12908
|
-
readonly
|
|
12909
|
-
|
|
12910
|
-
|
|
12911
|
-
|
|
12912
|
-
|
|
12913
|
-
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
readonly
|
|
12920
|
-
|
|
12921
|
-
readonly
|
|
12922
|
-
|
|
12487
|
+
readonly input: Schema.Union<readonly [Schema.Struct<{
|
|
12488
|
+
readonly type: Schema.tag<"user">;
|
|
12489
|
+
readonly data: Schema.Struct<{
|
|
12490
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12491
|
+
readonly text: Schema.String;
|
|
12492
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
12493
|
+
readonly data: Schema.String;
|
|
12494
|
+
readonly mime: Schema.String;
|
|
12495
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
12496
|
+
readonly type: Schema.Literal<"inline">;
|
|
12497
|
+
}>, Schema.Struct<{
|
|
12498
|
+
readonly type: Schema.Literal<"uri">;
|
|
12499
|
+
readonly uri: Schema.String;
|
|
12500
|
+
}>]>;
|
|
12501
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12502
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12503
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12504
|
+
readonly start: Schema.Finite;
|
|
12505
|
+
readonly end: Schema.Finite;
|
|
12506
|
+
readonly text: Schema.String;
|
|
12507
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12508
|
+
readonly start: Schema.Finite;
|
|
12509
|
+
readonly end: Schema.Finite;
|
|
12510
|
+
readonly text: Schema.String;
|
|
12511
|
+
}>>, never, never>;
|
|
12512
|
+
}> & {
|
|
12513
|
+
create: (input: FileAttachment) => {
|
|
12514
|
+
readonly data: string;
|
|
12515
|
+
readonly mime: string;
|
|
12516
|
+
readonly source: {
|
|
12517
|
+
readonly type: "inline";
|
|
12518
|
+
} | {
|
|
12519
|
+
readonly type: "uri";
|
|
12520
|
+
readonly uri: string;
|
|
12521
|
+
};
|
|
12522
|
+
readonly name?: string | undefined;
|
|
12523
|
+
readonly description?: string | undefined;
|
|
12524
|
+
readonly mention?: {
|
|
12525
|
+
readonly start: number;
|
|
12526
|
+
readonly end: number;
|
|
12527
|
+
readonly text: string;
|
|
12528
|
+
} | undefined;
|
|
12923
12529
|
};
|
|
12924
|
-
|
|
12925
|
-
readonly
|
|
12926
|
-
readonly
|
|
12927
|
-
|
|
12928
|
-
readonly
|
|
12929
|
-
|
|
12930
|
-
|
|
12931
|
-
|
|
12932
|
-
|
|
12933
|
-
|
|
12934
|
-
|
|
12935
|
-
|
|
12936
|
-
|
|
12937
|
-
|
|
12938
|
-
|
|
12939
|
-
|
|
12940
|
-
|
|
12941
|
-
|
|
12942
|
-
|
|
12943
|
-
|
|
12944
|
-
|
|
12945
|
-
|
|
12946
|
-
|
|
12947
|
-
|
|
12948
|
-
|
|
12949
|
-
|
|
12950
|
-
|
|
12951
|
-
|
|
12952
|
-
|
|
12953
|
-
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12530
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
12531
|
+
readonly data: Schema.String;
|
|
12532
|
+
readonly mime: Schema.String;
|
|
12533
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
12534
|
+
readonly type: Schema.Literal<"inline">;
|
|
12535
|
+
}>, Schema.Struct<{
|
|
12536
|
+
readonly type: Schema.Literal<"uri">;
|
|
12537
|
+
readonly uri: Schema.String;
|
|
12538
|
+
}>]>;
|
|
12539
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12540
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12541
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12542
|
+
readonly start: Schema.Finite;
|
|
12543
|
+
readonly end: Schema.Finite;
|
|
12544
|
+
readonly text: Schema.String;
|
|
12545
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12546
|
+
readonly start: Schema.Finite;
|
|
12547
|
+
readonly end: Schema.Finite;
|
|
12548
|
+
readonly text: Schema.String;
|
|
12549
|
+
}>>, never, never>;
|
|
12550
|
+
}> & {
|
|
12551
|
+
create: (input: FileAttachment) => {
|
|
12552
|
+
readonly data: string;
|
|
12553
|
+
readonly mime: string;
|
|
12554
|
+
readonly source: {
|
|
12555
|
+
readonly type: "inline";
|
|
12556
|
+
} | {
|
|
12557
|
+
readonly type: "uri";
|
|
12558
|
+
readonly uri: string;
|
|
12559
|
+
};
|
|
12560
|
+
readonly name?: string | undefined;
|
|
12561
|
+
readonly description?: string | undefined;
|
|
12562
|
+
readonly mention?: {
|
|
12563
|
+
readonly start: number;
|
|
12564
|
+
readonly end: number;
|
|
12565
|
+
readonly text: string;
|
|
12566
|
+
} | undefined;
|
|
12961
12567
|
};
|
|
12962
|
-
readonly name?: string | undefined;
|
|
12963
|
-
readonly description?: string | undefined;
|
|
12964
|
-
readonly mention?: {
|
|
12965
|
-
readonly start: number;
|
|
12966
|
-
readonly end: number;
|
|
12967
|
-
readonly text: string;
|
|
12968
|
-
} | undefined;
|
|
12969
|
-
};
|
|
12970
|
-
}>>, never, never>;
|
|
12971
|
-
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
12972
|
-
readonly name: Schema.String;
|
|
12973
|
-
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12974
|
-
readonly start: Schema.Finite;
|
|
12975
|
-
readonly end: Schema.Finite;
|
|
12976
|
-
readonly text: Schema.String;
|
|
12977
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12978
|
-
readonly start: Schema.Finite;
|
|
12979
|
-
readonly end: Schema.Finite;
|
|
12980
|
-
readonly text: Schema.String;
|
|
12981
12568
|
}>>, never, never>;
|
|
12982
|
-
|
|
12983
|
-
|
|
12984
|
-
|
|
12985
|
-
|
|
12986
|
-
|
|
12987
|
-
|
|
12988
|
-
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
|
|
12992
|
-
|
|
12993
|
-
|
|
12994
|
-
|
|
12995
|
-
|
|
12996
|
-
|
|
12997
|
-
|
|
12998
|
-
|
|
12999
|
-
|
|
13000
|
-
|
|
13001
|
-
readonly
|
|
13002
|
-
|
|
13003
|
-
|
|
13004
|
-
|
|
13005
|
-
};
|
|
13006
|
-
readonly name?: string | undefined;
|
|
13007
|
-
readonly description?: string | undefined;
|
|
13008
|
-
readonly mention?: {
|
|
13009
|
-
readonly start: number;
|
|
13010
|
-
readonly end: number;
|
|
13011
|
-
readonly text: string;
|
|
13012
|
-
} | undefined;
|
|
13013
|
-
}[] | undefined;
|
|
13014
|
-
readonly agents?: readonly {
|
|
13015
|
-
readonly name: string;
|
|
13016
|
-
readonly mention?: {
|
|
13017
|
-
readonly start: number;
|
|
13018
|
-
readonly end: number;
|
|
13019
|
-
readonly text: string;
|
|
13020
|
-
} | undefined;
|
|
13021
|
-
}[] | undefined;
|
|
12569
|
+
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
12570
|
+
readonly name: Schema.String;
|
|
12571
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12572
|
+
readonly start: Schema.Finite;
|
|
12573
|
+
readonly end: Schema.Finite;
|
|
12574
|
+
readonly text: Schema.String;
|
|
12575
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12576
|
+
readonly start: Schema.Finite;
|
|
12577
|
+
readonly end: Schema.Finite;
|
|
12578
|
+
readonly text: Schema.String;
|
|
12579
|
+
}>>, never, never>;
|
|
12580
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
12581
|
+
readonly name: Schema.String;
|
|
12582
|
+
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12583
|
+
readonly start: Schema.Finite;
|
|
12584
|
+
readonly end: Schema.Finite;
|
|
12585
|
+
readonly text: Schema.String;
|
|
12586
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12587
|
+
readonly start: Schema.Finite;
|
|
12588
|
+
readonly end: Schema.Finite;
|
|
12589
|
+
readonly text: Schema.String;
|
|
12590
|
+
}>>, never, never>;
|
|
12591
|
+
}>>>, never, never>;
|
|
13022
12592
|
}>;
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
|
|
13033
|
-
|
|
13034
|
-
readonly name?: string | undefined;
|
|
13035
|
-
readonly description?: string | undefined;
|
|
13036
|
-
readonly mention?: {
|
|
13037
|
-
readonly start: number;
|
|
13038
|
-
readonly end: number;
|
|
13039
|
-
readonly text: string;
|
|
13040
|
-
} | undefined;
|
|
13041
|
-
}[] | undefined;
|
|
13042
|
-
readonly agents?: readonly {
|
|
13043
|
-
readonly name: string;
|
|
13044
|
-
readonly mention?: {
|
|
13045
|
-
readonly start: number;
|
|
13046
|
-
readonly end: number;
|
|
13047
|
-
readonly text: string;
|
|
13048
|
-
} | undefined;
|
|
13049
|
-
}[] | undefined;
|
|
13050
|
-
};
|
|
13051
|
-
};
|
|
13052
|
-
delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
13053
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12593
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12594
|
+
}>, Schema.Struct<{
|
|
12595
|
+
readonly type: Schema.tag<"synthetic">;
|
|
12596
|
+
readonly data: Schema.Struct<{
|
|
12597
|
+
readonly text: Schema.String;
|
|
12598
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12599
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12600
|
+
}>;
|
|
12601
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12602
|
+
}>]>;
|
|
12603
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13054
12604
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13055
12605
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
13056
12606
|
};
|