@chaty-app/proto 0.1.17 → 0.1.19

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.
Files changed (140) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/node/service/v1/index.d.ts +2 -3
  6. package/dist/node/service/v1/index.d.ts.map +1 -1
  7. package/dist/node/service/v1/index.js +2 -3
  8. package/dist/node/service/v1/index.js.map +1 -1
  9. package/dist/node/service/v1/main.d.ts +1 -1
  10. package/dist/node/service/v1/main.d.ts.map +1 -1
  11. package/dist/node/service/v1/main.js +1 -1
  12. package/dist/node/service/v1/main.js.map +1 -1
  13. package/dist/node/service/v1/users.d.ts +12 -3
  14. package/dist/node/service/v1/users.d.ts.map +1 -1
  15. package/dist/node/service/v1/users.js +17 -1
  16. package/dist/node/service/v1/users.js.map +1 -1
  17. package/dist/node/shared/v1/index.d.ts +5 -2
  18. package/dist/node/shared/v1/index.d.ts.map +1 -1
  19. package/dist/node/shared/v1/index.js +5 -2
  20. package/dist/node/shared/v1/index.js.map +1 -1
  21. package/dist/node/shared/v1/struct.d.ts +90 -0
  22. package/dist/node/shared/v1/struct.d.ts.map +1 -0
  23. package/dist/node/shared/v1/struct.js +377 -0
  24. package/dist/node/shared/v1/struct.js.map +1 -0
  25. package/dist/node/shared/v1/time.d.ts +127 -0
  26. package/dist/node/shared/v1/time.d.ts.map +1 -0
  27. package/dist/node/shared/v1/time.js +80 -0
  28. package/dist/node/shared/v1/time.js.map +1 -0
  29. package/dist/{node-cjs/shared/v1/error.d.ts → node/shared/v1/types.d.ts} +15 -21
  30. package/dist/node/shared/v1/types.d.ts.map +1 -0
  31. package/dist/node/shared/v1/types.js +222 -0
  32. package/dist/node/shared/v1/types.js.map +1 -0
  33. package/dist/node/shared/v1/wrappers.d.ts +168 -0
  34. package/dist/node/shared/v1/wrappers.d.ts.map +1 -0
  35. package/dist/node/shared/v1/wrappers.js +601 -0
  36. package/dist/node/shared/v1/wrappers.js.map +1 -0
  37. package/dist/web/service/v1/index.d.ts +2 -3
  38. package/dist/web/service/v1/index.d.ts.map +1 -1
  39. package/dist/web/service/v1/index.js +2 -3
  40. package/dist/web/service/v1/index.js.map +1 -1
  41. package/dist/web/service/v1/main_pb.d.ts +28 -0
  42. package/dist/web/service/v1/main_pb.d.ts.map +1 -0
  43. package/dist/web/service/v1/main_pb.js +14 -0
  44. package/dist/web/service/v1/main_pb.js.map +1 -0
  45. package/dist/web/service/v1/users_pb.d.ts +280 -0
  46. package/dist/web/service/v1/users_pb.d.ts.map +1 -0
  47. package/dist/web/service/v1/users_pb.js +105 -0
  48. package/dist/web/service/v1/users_pb.js.map +1 -0
  49. package/dist/web/shared/v1/error_pb.d.ts +57 -0
  50. package/dist/web/shared/v1/error_pb.d.ts.map +1 -0
  51. package/dist/web/shared/v1/error_pb.js +14 -0
  52. package/dist/web/shared/v1/error_pb.js.map +1 -0
  53. package/dist/web/shared/v1/index.d.ts +5 -2
  54. package/dist/web/shared/v1/index.d.ts.map +1 -1
  55. package/dist/web/shared/v1/index.js +5 -2
  56. package/dist/web/shared/v1/index.js.map +1 -1
  57. package/dist/web/shared/v1/struct_pb.d.ts +148 -0
  58. package/dist/web/shared/v1/struct_pb.d.ts.map +1 -0
  59. package/dist/web/shared/v1/struct_pb.js +45 -0
  60. package/dist/web/shared/v1/struct_pb.js.map +1 -0
  61. package/dist/web/shared/v1/time_pb.d.ts +123 -0
  62. package/dist/web/shared/v1/time_pb.d.ts.map +1 -0
  63. package/dist/web/shared/v1/time_pb.js +14 -0
  64. package/dist/web/shared/v1/time_pb.js.map +1 -0
  65. package/dist/web/shared/v1/types_pb.d.ts +72 -0
  66. package/dist/web/shared/v1/types_pb.d.ts.map +1 -0
  67. package/dist/web/shared/v1/types_pb.js +29 -0
  68. package/dist/web/shared/v1/types_pb.js.map +1 -0
  69. package/dist/web/shared/v1/wrappers_pb.d.ts +247 -0
  70. package/dist/web/shared/v1/wrappers_pb.d.ts.map +1 -0
  71. package/dist/web/shared/v1/wrappers_pb.js +77 -0
  72. package/dist/web/shared/v1/wrappers_pb.js.map +1 -0
  73. package/package.json +29 -58
  74. package/dist/node/index.d.ts +0 -3
  75. package/dist/node/index.d.ts.map +0 -1
  76. package/dist/node/index.js +0 -3
  77. package/dist/node/index.js.map +0 -1
  78. package/dist/node/service/index.d.ts +0 -2
  79. package/dist/node/service/index.d.ts.map +0 -1
  80. package/dist/node/service/index.js +0 -2
  81. package/dist/node/service/index.js.map +0 -1
  82. package/dist/node/shared/index.d.ts +0 -2
  83. package/dist/node/shared/index.d.ts.map +0 -1
  84. package/dist/node/shared/index.js +0 -2
  85. package/dist/node/shared/index.js.map +0 -1
  86. package/dist/node-cjs/index.d.ts +0 -3
  87. package/dist/node-cjs/index.d.ts.map +0 -1
  88. package/dist/node-cjs/index.js +0 -25
  89. package/dist/node-cjs/index.js.map +0 -1
  90. package/dist/node-cjs/service/index.d.ts +0 -2
  91. package/dist/node-cjs/service/index.d.ts.map +0 -1
  92. package/dist/node-cjs/service/index.js +0 -23
  93. package/dist/node-cjs/service/index.js.map +0 -1
  94. package/dist/node-cjs/service/v1/index.d.ts +0 -4
  95. package/dist/node-cjs/service/v1/index.d.ts.map +0 -1
  96. package/dist/node-cjs/service/v1/index.js +0 -42
  97. package/dist/node-cjs/service/v1/index.js.map +0 -1
  98. package/dist/node-cjs/service/v1/main.d.ts +0 -42
  99. package/dist/node-cjs/service/v1/main.d.ts.map +0 -1
  100. package/dist/node-cjs/service/v1/main.js +0 -56
  101. package/dist/node-cjs/service/v1/main.js.map +0 -1
  102. package/dist/node-cjs/service/v1/users.d.ts +0 -91
  103. package/dist/node-cjs/service/v1/users.d.ts.map +0 -1
  104. package/dist/node-cjs/service/v1/users.js +0 -812
  105. package/dist/node-cjs/service/v1/users.js.map +0 -1
  106. package/dist/node-cjs/shared/index.d.ts +0 -2
  107. package/dist/node-cjs/shared/index.d.ts.map +0 -1
  108. package/dist/node-cjs/shared/index.js +0 -23
  109. package/dist/node-cjs/shared/index.js.map +0 -1
  110. package/dist/node-cjs/shared/v1/error.d.ts.map +0 -1
  111. package/dist/node-cjs/shared/v1/error.js +0 -276
  112. package/dist/node-cjs/shared/v1/error.js.map +0 -1
  113. package/dist/node-cjs/shared/v1/index.d.ts +0 -3
  114. package/dist/node-cjs/shared/v1/index.d.ts.map +0 -1
  115. package/dist/node-cjs/shared/v1/index.js +0 -39
  116. package/dist/node-cjs/shared/v1/index.js.map +0 -1
  117. package/dist/web/index.d.ts +0 -3
  118. package/dist/web/index.d.ts.map +0 -1
  119. package/dist/web/index.js +0 -3
  120. package/dist/web/index.js.map +0 -1
  121. package/dist/web/service/index.d.ts +0 -2
  122. package/dist/web/service/index.d.ts.map +0 -1
  123. package/dist/web/service/index.js +0 -2
  124. package/dist/web/service/index.js.map +0 -1
  125. package/dist/web/service/v1/main.d.ts +0 -48
  126. package/dist/web/service/v1/main.d.ts.map +0 -1
  127. package/dist/web/service/v1/main.js +0 -106
  128. package/dist/web/service/v1/main.js.map +0 -1
  129. package/dist/web/service/v1/users.d.ts +0 -91
  130. package/dist/web/service/v1/users.d.ts.map +0 -1
  131. package/dist/web/service/v1/users.js +0 -775
  132. package/dist/web/service/v1/users.js.map +0 -1
  133. package/dist/web/shared/index.d.ts +0 -2
  134. package/dist/web/shared/index.d.ts.map +0 -1
  135. package/dist/web/shared/index.js +0 -2
  136. package/dist/web/shared/index.js.map +0 -1
  137. package/dist/web/shared/v1/error.d.ts +0 -44
  138. package/dist/web/shared/v1/error.d.ts.map +0 -1
  139. package/dist/web/shared/v1/error.js +0 -253
  140. package/dist/web/shared/v1/error.js.map +0 -1
@@ -0,0 +1,247 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file shared/v1/wrappers.proto.
5
+ */
6
+ export declare const file_shared_v1_wrappers: GenFile;
7
+ /**
8
+ * Wrapper message for `double`.
9
+ *
10
+ * The JSON representation for `DoubleValue` is JSON number.
11
+ *
12
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
13
+ * has no plan to be removed.
14
+ *
15
+ * @generated from message shared.v1.DoubleValue
16
+ */
17
+ export type DoubleValue = Message<"shared.v1.DoubleValue"> & {
18
+ /**
19
+ * The double value.
20
+ *
21
+ * @generated from field: double value = 1;
22
+ */
23
+ value: number;
24
+ };
25
+ /**
26
+ * Describes the message shared.v1.DoubleValue.
27
+ * Use `create(DoubleValueSchema)` to create a new message.
28
+ */
29
+ export declare const DoubleValueSchema: GenMessage<DoubleValue>;
30
+ /**
31
+ * Wrapper message for `float`.
32
+ *
33
+ * The JSON representation for `FloatValue` is JSON number.
34
+ *
35
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
36
+ * has no plan to be removed.
37
+ *
38
+ * @generated from message shared.v1.FloatValue
39
+ */
40
+ export type FloatValue = Message<"shared.v1.FloatValue"> & {
41
+ /**
42
+ * The float value.
43
+ *
44
+ * @generated from field: float value = 1;
45
+ */
46
+ value: number;
47
+ };
48
+ /**
49
+ * Describes the message shared.v1.FloatValue.
50
+ * Use `create(FloatValueSchema)` to create a new message.
51
+ */
52
+ export declare const FloatValueSchema: GenMessage<FloatValue>;
53
+ /**
54
+ * Wrapper message for `int64`.
55
+ *
56
+ * The JSON representation for `Int64Value` is JSON string.
57
+ *
58
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
59
+ * has no plan to be removed.
60
+ *
61
+ * @generated from message shared.v1.Int64Value
62
+ */
63
+ export type Int64Value = Message<"shared.v1.Int64Value"> & {
64
+ /**
65
+ * The int64 value.
66
+ *
67
+ * @generated from field: int64 value = 1;
68
+ */
69
+ value: bigint;
70
+ };
71
+ /**
72
+ * Describes the message shared.v1.Int64Value.
73
+ * Use `create(Int64ValueSchema)` to create a new message.
74
+ */
75
+ export declare const Int64ValueSchema: GenMessage<Int64Value>;
76
+ /**
77
+ * Wrapper message for `uint64`.
78
+ *
79
+ * The JSON representation for `UInt64Value` is JSON string.
80
+ *
81
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
82
+ * has no plan to be removed.
83
+ *
84
+ * @generated from message shared.v1.UInt64Value
85
+ */
86
+ export type UInt64Value = Message<"shared.v1.UInt64Value"> & {
87
+ /**
88
+ * The uint64 value.
89
+ *
90
+ * @generated from field: uint64 value = 1;
91
+ */
92
+ value: bigint;
93
+ };
94
+ /**
95
+ * Describes the message shared.v1.UInt64Value.
96
+ * Use `create(UInt64ValueSchema)` to create a new message.
97
+ */
98
+ export declare const UInt64ValueSchema: GenMessage<UInt64Value>;
99
+ /**
100
+ * Wrapper message for `int32`.
101
+ *
102
+ * The JSON representation for `Int32Value` is JSON number.
103
+ *
104
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
105
+ * has no plan to be removed.
106
+ *
107
+ * @generated from message shared.v1.Int32Value
108
+ */
109
+ export type Int32Value = Message<"shared.v1.Int32Value"> & {
110
+ /**
111
+ * The int32 value.
112
+ *
113
+ * @generated from field: int32 value = 1;
114
+ */
115
+ value: number;
116
+ };
117
+ /**
118
+ * Describes the message shared.v1.Int32Value.
119
+ * Use `create(Int32ValueSchema)` to create a new message.
120
+ */
121
+ export declare const Int32ValueSchema: GenMessage<Int32Value>;
122
+ /**
123
+ * Wrapper message for `uint32`.
124
+ *
125
+ * The JSON representation for `UInt32Value` is JSON number.
126
+ *
127
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
128
+ * has no plan to be removed.
129
+ *
130
+ * @generated from message shared.v1.UInt32Value
131
+ */
132
+ export type UInt32Value = Message<"shared.v1.UInt32Value"> & {
133
+ /**
134
+ * The uint32 value.
135
+ *
136
+ * @generated from field: uint32 value = 1;
137
+ */
138
+ value: number;
139
+ };
140
+ /**
141
+ * Describes the message shared.v1.UInt32Value.
142
+ * Use `create(UInt32ValueSchema)` to create a new message.
143
+ */
144
+ export declare const UInt32ValueSchema: GenMessage<UInt32Value>;
145
+ /**
146
+ * Wrapper message for `bool`.
147
+ *
148
+ * The JSON representation for `BoolValue` is JSON `true` and `false`.
149
+ *
150
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
151
+ * has no plan to be removed.
152
+ *
153
+ * @generated from message shared.v1.BoolValue
154
+ */
155
+ export type BoolValue = Message<"shared.v1.BoolValue"> & {
156
+ /**
157
+ * The bool value.
158
+ *
159
+ * @generated from field: bool value = 1;
160
+ */
161
+ value: boolean;
162
+ };
163
+ /**
164
+ * Describes the message shared.v1.BoolValue.
165
+ * Use `create(BoolValueSchema)` to create a new message.
166
+ */
167
+ export declare const BoolValueSchema: GenMessage<BoolValue>;
168
+ /**
169
+ * Wrapper message for `string`.
170
+ *
171
+ * The JSON representation for `StringValue` is JSON string.
172
+ *
173
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
174
+ * has no plan to be removed.
175
+ *
176
+ * @generated from message shared.v1.StringValue
177
+ */
178
+ export type StringValue = Message<"shared.v1.StringValue"> & {
179
+ /**
180
+ * The string value.
181
+ *
182
+ * @generated from field: string value = 1;
183
+ */
184
+ value: string;
185
+ };
186
+ /**
187
+ * Describes the message shared.v1.StringValue.
188
+ * Use `create(StringValueSchema)` to create a new message.
189
+ */
190
+ export declare const StringValueSchema: GenMessage<StringValue>;
191
+ /**
192
+ * Wrapper message for `bytes`.
193
+ *
194
+ * The JSON representation for `BytesValue` is JSON string.
195
+ *
196
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
197
+ * has no plan to be removed.
198
+ *
199
+ * @generated from message shared.v1.BytesValue
200
+ */
201
+ export type BytesValue = Message<"shared.v1.BytesValue"> & {
202
+ /**
203
+ * The bytes value.
204
+ *
205
+ * @generated from field: bytes value = 1;
206
+ */
207
+ value: Uint8Array;
208
+ };
209
+ /**
210
+ * Describes the message shared.v1.BytesValue.
211
+ * Use `create(BytesValueSchema)` to create a new message.
212
+ */
213
+ export declare const BytesValueSchema: GenMessage<BytesValue>;
214
+ /**
215
+ * Custom Any message to avoid google.protobuf.Any issues
216
+ *
217
+ * @generated from message shared.v1.Any
218
+ */
219
+ export type Any = Message<"shared.v1.Any"> & {
220
+ /**
221
+ * Identifies the type of the serialized message
222
+ *
223
+ * @generated from field: string type_url = 1;
224
+ */
225
+ typeUrl: string;
226
+ /**
227
+ * Serialized proto data
228
+ *
229
+ * @generated from field: bytes value = 2;
230
+ */
231
+ value: Uint8Array;
232
+ };
233
+ /**
234
+ * Describes the message shared.v1.Any.
235
+ * Use `create(AnySchema)` to create a new message.
236
+ */
237
+ export declare const AnySchema: GenMessage<Any>;
238
+ /**
239
+ * @generated from message shared.v1.Empty
240
+ */
241
+ export type Empty = Message<"shared.v1.Empty"> & {};
242
+ /**
243
+ * Describes the message shared.v1.Empty.
244
+ * Use `create(EmptySchema)` to create a new message.
245
+ */
246
+ export declare const EmptySchema: GenMessage<Empty>;
247
+ //# sourceMappingURL=wrappers_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wrappers_pb.d.ts","sourceRoot":"","sources":["../../../../src/web/shared/v1/wrappers_pb.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,OACsc,CAAC;AAE7e;;;;;;;;;GASG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAAG;IAC3D;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,CACb,CAAC;AAE1C;;;;;;;;;GASG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG;IACzD;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAE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AIG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,CACb,CAAC;AAE1C;;;;;;;;;GASG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG;IACzD;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,UAAU,CACX,CAAC;AAE1C;;;;GAIG;AACH,MAAM,MAAM,GAAG,GAAG,OAAO,CAAC,eAAe,CAAC,GAAG;IAC3C;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,GAAG,CACG,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAAG,EAChD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,KAAK,CACA,CAAC"}
@@ -0,0 +1,77 @@
1
+ // Wrappers for primitive (non-message) types. These types were needed
2
+ // for legacy reasons and are not recommended for use in new APIs.
3
+ //
4
+ // Historically these wrappers were useful to have presence on proto3 primitive
5
+ // fields, but proto3 syntax has been updated to support the `optional` keyword.
6
+ // Using that keyword is now the strongly preferred way to add presence to
7
+ // proto3 primitive fields.
8
+ //
9
+ // A secondary usecase was to embed primitives in the `google.protobuf.Any`
10
+ // type: it is now recommended that you embed your value in your own wrapper
11
+ // message which can be specifically documented.
12
+ //
13
+ // These wrappers have no meaningful use within repeated fields as they lack
14
+ // the ability to detect presence on individual elements.
15
+ // These wrappers have no meaningful use within a map or a oneof since
16
+ // individual entries of a map or fields of a oneof can already detect presence.
17
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
18
+ /**
19
+ * Describes the file shared/v1/wrappers.proto.
20
+ */
21
+ export const file_shared_v1_wrappers = /*@__PURE__*/ fileDesc("ChhzaGFyZWQvdjEvd3JhcHBlcnMucHJvdG8SCXNoYXJlZC52MSIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDCImCgNBbnkSEAoIdHlwZV91cmwYASABKAkSDQoFdmFsdWUYAiABKAwiBwoFRW1wdHliBnByb3RvMw");
22
+ /**
23
+ * Describes the message shared.v1.DoubleValue.
24
+ * Use `create(DoubleValueSchema)` to create a new message.
25
+ */
26
+ export const DoubleValueSchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 0);
27
+ /**
28
+ * Describes the message shared.v1.FloatValue.
29
+ * Use `create(FloatValueSchema)` to create a new message.
30
+ */
31
+ export const FloatValueSchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 1);
32
+ /**
33
+ * Describes the message shared.v1.Int64Value.
34
+ * Use `create(Int64ValueSchema)` to create a new message.
35
+ */
36
+ export const Int64ValueSchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 2);
37
+ /**
38
+ * Describes the message shared.v1.UInt64Value.
39
+ * Use `create(UInt64ValueSchema)` to create a new message.
40
+ */
41
+ export const UInt64ValueSchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 3);
42
+ /**
43
+ * Describes the message shared.v1.Int32Value.
44
+ * Use `create(Int32ValueSchema)` to create a new message.
45
+ */
46
+ export const Int32ValueSchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 4);
47
+ /**
48
+ * Describes the message shared.v1.UInt32Value.
49
+ * Use `create(UInt32ValueSchema)` to create a new message.
50
+ */
51
+ export const UInt32ValueSchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 5);
52
+ /**
53
+ * Describes the message shared.v1.BoolValue.
54
+ * Use `create(BoolValueSchema)` to create a new message.
55
+ */
56
+ export const BoolValueSchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 6);
57
+ /**
58
+ * Describes the message shared.v1.StringValue.
59
+ * Use `create(StringValueSchema)` to create a new message.
60
+ */
61
+ export const StringValueSchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 7);
62
+ /**
63
+ * Describes the message shared.v1.BytesValue.
64
+ * Use `create(BytesValueSchema)` to create a new message.
65
+ */
66
+ export const BytesValueSchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 8);
67
+ /**
68
+ * Describes the message shared.v1.Any.
69
+ * Use `create(AnySchema)` to create a new message.
70
+ */
71
+ export const AnySchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 9);
72
+ /**
73
+ * Describes the message shared.v1.Empty.
74
+ * Use `create(EmptySchema)` to create a new message.
75
+ */
76
+ export const EmptySchema = /*@__PURE__*/ messageDesc(file_shared_v1_wrappers, 10);
77
+ //# sourceMappingURL=wrappers_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wrappers_pb.js","sourceRoot":"","sources":["../../../../src/web/shared/v1/wrappers_pb.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,kEAAkE;AAClE,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,0EAA0E;AAC1E,2BAA2B;AAC3B,EAAE;AACF,2EAA2E;AAC3E,4EAA4E;AAC5E,gDAAgD;AAChD,EAAE;AACF,4EAA4E;AAC5E,yDAAyD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AM,SAAS,GAAoB,aAAa,CACrD,WAAW,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC;AAQ1C;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAsB,aAAa,CACzD,WAAW,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,73 +1,35 @@
1
1
  {
2
2
  "name": "@chaty-app/proto",
3
- "version": "0.1.17",
4
- "description": "TypeScript Protobuf bindings for Chaty",
3
+ "version": "0.1.19",
4
+ "description": "TypeScript Protobuf bindings for Chaty (Pure ESM)",
5
5
  "license": "MIT",
6
- "types": "dist/index.d.ts",
6
+ "type": "module",
7
7
  "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
8
9
  "files": [
9
10
  "dist"
10
11
  ],
11
- "scripts": {
12
- "build": "tsc"
13
- },
14
- "devDependencies": {
15
- "@types/node": "^24.2.0",
16
- "typescript": "^5.9.2"
17
- },
18
12
  "dependencies": {
19
- "@grpc/grpc-js": "^1.13.4",
20
- "@improbable-eng/grpc-web": "^0.15.0",
21
- "browser-headers": "^0.4.1",
22
- "grpc-web": "^2.0.2"
13
+ "@connectrpc/connect": "^2.0.0",
14
+ "@connectrpc/connect-web": "^2.0.0",
15
+ "@bufbuild/protobuf": "^2.2.3",
16
+ "@grpc/grpc-js": "^1.13.4"
23
17
  },
24
18
  "publishConfig": {
25
19
  "access": "public"
26
20
  },
27
- "packageManager": "pnpm@10.10.0",
28
21
  "exports": {
29
- ".": {
30
- "import": "./dist/index.js",
31
- "require": "./dist/index.js"
32
- },
33
- "./*": {
34
- "import": "./dist/node/*",
35
- "require": "./dist/node-cjs/*"
36
- },
37
- "./shared/v1": {
38
- "import": "./dist/node/shared/v1/index.js",
39
- "require": "./dist/node-cjs/shared/v1/index.js"
40
- },
41
- "./shared/v1/*": {
42
- "import": "./dist/node/shared/v1/*.js",
43
- "require": "./dist/node-cjs/shared/v1/*.js"
44
- },
45
- "./service/v1": {
46
- "import": "./dist/node/service/v1/index.js",
47
- "require": "./dist/node-cjs/service/v1/index.js"
48
- },
49
- "./service/v1/*": {
50
- "import": "./dist/node/service/v1/*.js",
51
- "require": "./dist/node-cjs/service/v1/*.js"
52
- },
53
- "./web/shared/v1": "./dist/web/shared/v1/index.js",
54
- "./web/shared/v1/*": "./dist/web/shared/v1/*.js",
55
- "./web/service/v1": "./dist/web/service/v1/index.js",
56
- "./web/service/v1/*": "./dist/web/service/v1/*.js"
22
+ ".": "./dist/index.js",
23
+ "./web/*": "./dist/web/*.js",
24
+ "./node/*": "./dist/node/*.js"
57
25
  },
58
26
  "typesVersions": {
59
27
  "*": {
60
- "shared/v1": [
61
- "dist/node/shared/v1/index.d.ts"
62
- ],
63
- "shared/v1/*": [
64
- "dist/node/shared/v1/*.d.ts"
65
- ],
66
- "service/v1": [
67
- "dist/node/service/v1/index.d.ts"
28
+ "web/service/v1": [
29
+ "dist/web/service/v1/index.d.ts"
68
30
  ],
69
- "service/v1/*": [
70
- "dist/node/service/v1/*.d.ts"
31
+ "web/service/v1/*": [
32
+ "dist/web/service/v1/*.d.ts"
71
33
  ],
72
34
  "web/shared/v1": [
73
35
  "dist/web/shared/v1/index.d.ts"
@@ -75,12 +37,21 @@
75
37
  "web/shared/v1/*": [
76
38
  "dist/web/shared/v1/*.d.ts"
77
39
  ],
78
- "web/service/v1": [
79
- "dist/web/service/v1/index.d.ts"
40
+ "node/service/v1": [
41
+ "dist/node/service/v1/index.d.ts"
80
42
  ],
81
- "web/service/v1/*": [
82
- "dist/web/service/v1/*.d.ts"
43
+ "node/service/v1/*": [
44
+ "dist/node/service/v1/*.d.ts"
45
+ ],
46
+ "node/shared/v1": [
47
+ "dist/node/shared/v1/index.d.ts"
48
+ ],
49
+ "node/shared/v1/*": [
50
+ "dist/node/shared/v1/*.d.ts"
83
51
  ]
84
52
  }
53
+ },
54
+ "scripts": {
55
+ "build": "tsc"
85
56
  }
86
- }
57
+ }
@@ -1,3 +0,0 @@
1
- export * from './service/index.js';
2
- export * from './shared/index.js';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './service/index.js';
2
- export * from './shared/index.js';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './v1/index.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/node/service/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './v1/index.js';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/service/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './v1/index.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/node/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './v1/index.js';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './service/index.js';
2
- export * from './shared/index.js';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
- var index_exports = {};
17
- module.exports = __toCommonJS(index_exports);
18
- __reExport(index_exports, require("./service/index.js"), module.exports);
19
- __reExport(index_exports, require("./shared/index.js"), module.exports);
20
- // Annotate the CommonJS export names for ESM import in node:
21
- 0 && (module.exports = {
22
- ...require("./service/index.js"),
23
- ...require("./shared/index.js")
24
- });
25
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './v1/index.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/node/service/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
- var index_exports = {};
17
- module.exports = __toCommonJS(index_exports);
18
- __reExport(index_exports, require("./v1/index.js"), module.exports);
19
- // Annotate the CommonJS export names for ESM import in node:
20
- 0 && (module.exports = {
21
- ...require("./v1/index.js")
22
- });
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/service/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,4 +0,0 @@
1
- import * as Main from './main.js';
2
- import * as Users from './users.js';
3
- export { Main, Users };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/node/service/v1/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AAEpC,OAAO,EACL,IAAI,EACJ,KAAK,EACN,CAAC"}
@@ -1,42 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var index_exports = {};
30
- __export(index_exports, {
31
- Main: () => Main,
32
- Users: () => Users
33
- });
34
- module.exports = __toCommonJS(index_exports);
35
- var Main = __toESM(require("./main.js"));
36
- var Users = __toESM(require("./users.js"));
37
- // Annotate the CommonJS export names for ESM import in node:
38
- 0 && (module.exports = {
39
- Main,
40
- Users
41
- });
42
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/node/service/v1/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AAEpC,OAAO,EACL,IAAI,EACJ,KAAK,EACN,CAAC"}