@getpaseo/protocol 0.1.97-beta.3 → 0.1.97

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.
@@ -5,19 +5,7 @@ export declare const ChatRoomSchema: z.ZodObject<{
5
5
  purpose: z.ZodNullable<z.ZodString>;
6
6
  createdAt: z.ZodString;
7
7
  updatedAt: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- name: string;
10
- id: string;
11
- purpose: string | null;
12
- createdAt: string;
13
- updatedAt: string;
14
- }, {
15
- name: string;
16
- id: string;
17
- purpose: string | null;
18
- createdAt: string;
19
- updatedAt: string;
20
- }>;
8
+ }, z.core.$strip>;
21
9
  export type ChatRoom = z.infer<typeof ChatRoomSchema>;
22
10
  export declare const ChatMessageSchema: z.ZodObject<{
23
11
  id: z.ZodString;
@@ -25,25 +13,9 @@ export declare const ChatMessageSchema: z.ZodObject<{
25
13
  authorAgentId: z.ZodString;
26
14
  body: z.ZodString;
27
15
  replyToMessageId: z.ZodNullable<z.ZodString>;
28
- mentionAgentIds: z.ZodArray<z.ZodString, "many">;
16
+ mentionAgentIds: z.ZodArray<z.ZodString>;
29
17
  createdAt: z.ZodString;
30
- }, "strip", z.ZodTypeAny, {
31
- body: string;
32
- id: string;
33
- createdAt: string;
34
- roomId: string;
35
- authorAgentId: string;
36
- replyToMessageId: string | null;
37
- mentionAgentIds: string[];
38
- }, {
39
- body: string;
40
- id: string;
41
- createdAt: string;
42
- roomId: string;
43
- authorAgentId: string;
44
- replyToMessageId: string | null;
45
- mentionAgentIds: string[];
46
- }>;
18
+ }, z.core.$strip>;
47
19
  export type ChatMessage = z.infer<typeof ChatMessageSchema>;
48
20
  export declare const ChatRoomDetailSchema: z.ZodObject<{
49
21
  id: z.ZodString;
@@ -51,25 +23,8 @@ export declare const ChatRoomDetailSchema: z.ZodObject<{
51
23
  purpose: z.ZodNullable<z.ZodString>;
52
24
  createdAt: z.ZodString;
53
25
  updatedAt: z.ZodString;
54
- } & {
55
26
  messageCount: z.ZodNumber;
56
27
  lastMessageAt: z.ZodNullable<z.ZodString>;
57
- }, "strip", z.ZodTypeAny, {
58
- name: string;
59
- id: string;
60
- purpose: string | null;
61
- createdAt: string;
62
- updatedAt: string;
63
- messageCount: number;
64
- lastMessageAt: string | null;
65
- }, {
66
- name: string;
67
- id: string;
68
- purpose: string | null;
69
- createdAt: string;
70
- updatedAt: string;
71
- messageCount: number;
72
- lastMessageAt: string | null;
73
- }>;
28
+ }, z.core.$strip>;
74
29
  export type ChatRoomDetail = z.infer<typeof ChatRoomDetailSchema>;
75
30
  //# sourceMappingURL=types.d.ts.map
@@ -12,30 +12,8 @@ export declare const ConnectionOfferV2Schema: z.ZodObject<{
12
12
  relay: z.ZodObject<{
13
13
  endpoint: z.ZodString;
14
14
  useTls: z.ZodOptional<z.ZodBoolean>;
15
- }, "strip", z.ZodTypeAny, {
16
- endpoint: string;
17
- useTls?: boolean | undefined;
18
- }, {
19
- endpoint: string;
20
- useTls?: boolean | undefined;
21
- }>;
22
- }, "strip", z.ZodTypeAny, {
23
- serverId: string;
24
- relay: {
25
- endpoint: string;
26
- useTls?: boolean | undefined;
27
- };
28
- v: 2;
29
- daemonPublicKeyB64: string;
30
- }, {
31
- serverId: string;
32
- relay: {
33
- endpoint: string;
34
- useTls?: boolean | undefined;
35
- };
36
- v: 2;
37
- daemonPublicKeyB64: string;
38
- }>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
39
17
  export type ConnectionOfferV2 = z.infer<typeof ConnectionOfferV2Schema>;
40
18
  export declare const ConnectionOfferSchema: z.ZodObject<{
41
19
  v: z.ZodLiteral<2>;
@@ -44,30 +22,8 @@ export declare const ConnectionOfferSchema: z.ZodObject<{
44
22
  relay: z.ZodObject<{
45
23
  endpoint: z.ZodString;
46
24
  useTls: z.ZodOptional<z.ZodBoolean>;
47
- }, "strip", z.ZodTypeAny, {
48
- endpoint: string;
49
- useTls?: boolean | undefined;
50
- }, {
51
- endpoint: string;
52
- useTls?: boolean | undefined;
53
- }>;
54
- }, "strip", z.ZodTypeAny, {
55
- serverId: string;
56
- relay: {
57
- endpoint: string;
58
- useTls?: boolean | undefined;
59
- };
60
- v: 2;
61
- daemonPublicKeyB64: string;
62
- }, {
63
- serverId: string;
64
- relay: {
65
- endpoint: string;
66
- useTls?: boolean | undefined;
67
- };
68
- v: 2;
69
- daemonPublicKeyB64: string;
70
- }>;
25
+ }, z.core.$strip>;
26
+ }, z.core.$strip>;
71
27
  export type ConnectionOffer = ConnectionOfferV2;
72
28
  export declare function decodeOfferFragmentPayload(encoded: string): unknown;
73
29
  /**
@@ -5,19 +5,7 @@ export declare const DirectTcpHostConnectionSchema: z.ZodObject<{
5
5
  endpoint: z.ZodString;
6
6
  useTls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7
7
  password: z.ZodOptional<z.ZodString>;
8
- }, "strip", z.ZodTypeAny, {
9
- type: "directTcp";
10
- id: string;
11
- endpoint: string;
12
- useTls: boolean;
13
- password?: string | undefined;
14
- }, {
15
- type: "directTcp";
16
- id: string;
17
- endpoint: string;
18
- useTls?: boolean | undefined;
19
- password?: string | undefined;
20
- }>;
8
+ }, z.core.$strip>;
21
9
  export type DirectTcpHostConnection = z.input<typeof DirectTcpHostConnectionSchema>;
22
10
  export type NormalizedDirectTcpHostConnection = z.output<typeof DirectTcpHostConnectionSchema>;
23
11
  //# sourceMappingURL=host-connection-schema.d.ts.map