@dailydotdev/schema 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +1 -0
  3. package/dist/bragi/pipelines_connect.cjs +133 -0
  4. package/dist/bragi/pipelines_connect.d.cts +113 -0
  5. package/dist/bragi/pipelines_connect.d.ts +113 -0
  6. package/dist/bragi/pipelines_connect.js +110 -0
  7. package/dist/bragi/pipelines_pb.cjs +842 -0
  8. package/dist/bragi/pipelines_pb.d.cts +467 -0
  9. package/dist/bragi/pipelines_pb.d.ts +467 -0
  10. package/dist/bragi/pipelines_pb.js +801 -0
  11. package/dist/bragi/proxy_connect.cjs +88 -0
  12. package/dist/bragi/proxy_connect.d.cts +68 -0
  13. package/dist/bragi/proxy_connect.d.ts +68 -0
  14. package/dist/bragi/proxy_connect.js +65 -0
  15. package/dist/bragi/proxy_pb.cjs +595 -0
  16. package/dist/bragi/proxy_pb.d.cts +332 -0
  17. package/dist/bragi/proxy_pb.d.ts +332 -0
  18. package/dist/bragi/proxy_pb.js +561 -0
  19. package/dist/daily-api/posts_connect.cjs +44 -0
  20. package/dist/daily-api/posts_connect.d.cts +24 -0
  21. package/dist/daily-api/posts_connect.d.ts +24 -0
  22. package/dist/daily-api/posts_connect.js +21 -0
  23. package/dist/daily-api/posts_pb.cjs +122 -0
  24. package/dist/daily-api/posts_pb.d.cts +50 -0
  25. package/dist/daily-api/posts_pb.d.ts +50 -0
  26. package/dist/daily-api/posts_pb.js +98 -0
  27. package/dist/feed/personalised/personalised_pb.cjs +122 -0
  28. package/dist/feed/personalised/personalised_pb.d.cts +50 -0
  29. package/dist/feed/personalised/personalised_pb.d.ts +50 -0
  30. package/dist/feed/personalised/personalised_pb.js +98 -0
  31. package/dist/index.cjs +39 -0
  32. package/dist/index.d.cts +11 -0
  33. package/dist/index.d.ts +11 -0
  34. package/dist/index.js +10 -0
  35. package/dist/snotra/engagement/engagement_pb.cjs +201 -0
  36. package/dist/snotra/engagement/engagement_pb.d.cts +133 -0
  37. package/dist/snotra/engagement/engagement_pb.d.ts +133 -0
  38. package/dist/snotra/engagement/engagement_pb.js +175 -0
  39. package/dist/snotra/personalisation/personalisation_pb.cjs +431 -0
  40. package/dist/snotra/personalisation/personalisation_pb.d.cts +226 -0
  41. package/dist/snotra/personalisation/personalisation_pb.d.ts +226 -0
  42. package/dist/snotra/personalisation/personalisation_pb.js +400 -0
  43. package/dist/util/error_pb.cjs +71 -0
  44. package/dist/util/error_pb.d.cts +25 -0
  45. package/dist/util/error_pb.d.ts +25 -0
  46. package/dist/util/error_pb.js +48 -0
  47. package/package.json +44 -0
@@ -0,0 +1,561 @@
1
+ import { FloatValue, Message, proto3, StringValue, UInt32Value } from "@bufbuild/protobuf";
2
+ var ModelProvider = /* @__PURE__ */ ((ModelProvider2) => {
3
+ ModelProvider2[ModelProvider2["OpenAI"] = 0] = "OpenAI";
4
+ ModelProvider2[ModelProvider2["Azure"] = 1] = "Azure";
5
+ return ModelProvider2;
6
+ })(ModelProvider || {});
7
+ proto3.util.setEnumType(ModelProvider, "bragi.proxy.ModelProvider", [
8
+ { no: 0, name: "OpenAI" },
9
+ { no: 1, name: "Azure" }
10
+ ]);
11
+ class ChatMessage extends Message {
12
+ /**
13
+ * @generated from field: string role = 1;
14
+ */
15
+ role = "";
16
+ /**
17
+ * @generated from field: string content = 2;
18
+ */
19
+ content = "";
20
+ constructor(data) {
21
+ super();
22
+ proto3.util.initPartial(data, this);
23
+ }
24
+ static runtime = proto3;
25
+ static typeName = "bragi.proxy.ChatMessage";
26
+ static fields = proto3.util.newFieldList(() => [
27
+ {
28
+ no: 1,
29
+ name: "role",
30
+ kind: "scalar",
31
+ T: 9
32
+ /* ScalarType.STRING */
33
+ },
34
+ {
35
+ no: 2,
36
+ name: "content",
37
+ kind: "scalar",
38
+ T: 9
39
+ /* ScalarType.STRING */
40
+ }
41
+ ]);
42
+ static fromBinary(bytes, options) {
43
+ return new ChatMessage().fromBinary(bytes, options);
44
+ }
45
+ static fromJson(jsonValue, options) {
46
+ return new ChatMessage().fromJson(jsonValue, options);
47
+ }
48
+ static fromJsonString(jsonString, options) {
49
+ return new ChatMessage().fromJsonString(jsonString, options);
50
+ }
51
+ static equals(a, b) {
52
+ return proto3.util.equals(ChatMessage, a, b);
53
+ }
54
+ }
55
+ class ChatDelta extends Message {
56
+ /**
57
+ * @generated from field: google.protobuf.StringValue role = 1;
58
+ */
59
+ role;
60
+ /**
61
+ * @generated from field: google.protobuf.StringValue content = 2;
62
+ */
63
+ content;
64
+ constructor(data) {
65
+ super();
66
+ proto3.util.initPartial(data, this);
67
+ }
68
+ static runtime = proto3;
69
+ static typeName = "bragi.proxy.ChatDelta";
70
+ static fields = proto3.util.newFieldList(() => [
71
+ { no: 1, name: "role", kind: "message", T: StringValue },
72
+ { no: 2, name: "content", kind: "message", T: StringValue }
73
+ ]);
74
+ static fromBinary(bytes, options) {
75
+ return new ChatDelta().fromBinary(bytes, options);
76
+ }
77
+ static fromJson(jsonValue, options) {
78
+ return new ChatDelta().fromJson(jsonValue, options);
79
+ }
80
+ static fromJsonString(jsonString, options) {
81
+ return new ChatDelta().fromJsonString(jsonString, options);
82
+ }
83
+ static equals(a, b) {
84
+ return proto3.util.equals(ChatDelta, a, b);
85
+ }
86
+ }
87
+ class Usage extends Message {
88
+ /**
89
+ * @generated from field: uint32 prompt_tokens = 1;
90
+ */
91
+ promptTokens = 0;
92
+ /**
93
+ * @generated from field: uint32 completion_tokens = 2;
94
+ */
95
+ completionTokens = 0;
96
+ /**
97
+ * @generated from field: uint32 total_tokens = 3;
98
+ */
99
+ totalTokens = 0;
100
+ constructor(data) {
101
+ super();
102
+ proto3.util.initPartial(data, this);
103
+ }
104
+ static runtime = proto3;
105
+ static typeName = "bragi.proxy.Usage";
106
+ static fields = proto3.util.newFieldList(() => [
107
+ {
108
+ no: 1,
109
+ name: "prompt_tokens",
110
+ kind: "scalar",
111
+ T: 13
112
+ /* ScalarType.UINT32 */
113
+ },
114
+ {
115
+ no: 2,
116
+ name: "completion_tokens",
117
+ kind: "scalar",
118
+ T: 13
119
+ /* ScalarType.UINT32 */
120
+ },
121
+ {
122
+ no: 3,
123
+ name: "total_tokens",
124
+ kind: "scalar",
125
+ T: 13
126
+ /* ScalarType.UINT32 */
127
+ }
128
+ ]);
129
+ static fromBinary(bytes, options) {
130
+ return new Usage().fromBinary(bytes, options);
131
+ }
132
+ static fromJson(jsonValue, options) {
133
+ return new Usage().fromJson(jsonValue, options);
134
+ }
135
+ static fromJsonString(jsonString, options) {
136
+ return new Usage().fromJsonString(jsonString, options);
137
+ }
138
+ static equals(a, b) {
139
+ return proto3.util.equals(Usage, a, b);
140
+ }
141
+ }
142
+ class CompletionRequest extends Message {
143
+ /**
144
+ * Used to separate between different types of requests, mostly for future purposes (etc. search query, answer, content enrichment)
145
+ *
146
+ * @generated from field: string application = 1;
147
+ */
148
+ application = "";
149
+ /**
150
+ * Model provider defaults to OpenAI
151
+ *
152
+ * @generated from field: bragi.proxy.ModelProvider provider = 2;
153
+ */
154
+ provider = 0 /* OpenAI */;
155
+ /**
156
+ * Model name
157
+ *
158
+ * @generated from field: string model = 3;
159
+ */
160
+ model = "";
161
+ /**
162
+ * Prompt text
163
+ *
164
+ * @generated from field: string prompt = 4;
165
+ */
166
+ prompt = "";
167
+ /**
168
+ * Max output tokens (optional)
169
+ *
170
+ * @generated from field: optional google.protobuf.UInt32Value max_tokens = 5;
171
+ */
172
+ maxTokens;
173
+ /**
174
+ * Model's temperature (optional)
175
+ *
176
+ * @generated from field: optional google.protobuf.FloatValue temperature = 6;
177
+ */
178
+ temperature;
179
+ constructor(data) {
180
+ super();
181
+ proto3.util.initPartial(data, this);
182
+ }
183
+ static runtime = proto3;
184
+ static typeName = "bragi.proxy.CompletionRequest";
185
+ static fields = proto3.util.newFieldList(() => [
186
+ {
187
+ no: 1,
188
+ name: "application",
189
+ kind: "scalar",
190
+ T: 9
191
+ /* ScalarType.STRING */
192
+ },
193
+ { no: 2, name: "provider", kind: "enum", T: proto3.getEnumType(ModelProvider) },
194
+ {
195
+ no: 3,
196
+ name: "model",
197
+ kind: "scalar",
198
+ T: 9
199
+ /* ScalarType.STRING */
200
+ },
201
+ {
202
+ no: 4,
203
+ name: "prompt",
204
+ kind: "scalar",
205
+ T: 9
206
+ /* ScalarType.STRING */
207
+ },
208
+ { no: 5, name: "max_tokens", kind: "message", T: UInt32Value, opt: true },
209
+ { no: 6, name: "temperature", kind: "message", T: FloatValue, opt: true }
210
+ ]);
211
+ static fromBinary(bytes, options) {
212
+ return new CompletionRequest().fromBinary(bytes, options);
213
+ }
214
+ static fromJson(jsonValue, options) {
215
+ return new CompletionRequest().fromJson(jsonValue, options);
216
+ }
217
+ static fromJsonString(jsonString, options) {
218
+ return new CompletionRequest().fromJsonString(jsonString, options);
219
+ }
220
+ static equals(a, b) {
221
+ return proto3.util.equals(CompletionRequest, a, b);
222
+ }
223
+ }
224
+ class ChatRequest extends Message {
225
+ /**
226
+ * Used to separate between different types of requests, mostly for future purposes (etc. search query, answer, content enrichment)
227
+ *
228
+ * @generated from field: string application = 1;
229
+ */
230
+ application = "";
231
+ /**
232
+ * Model provider defaults to OpenAI
233
+ *
234
+ * @generated from field: bragi.proxy.ModelProvider provider = 2;
235
+ */
236
+ provider = 0 /* OpenAI */;
237
+ /**
238
+ * Model name
239
+ *
240
+ * @generated from field: string model = 3;
241
+ */
242
+ model = "";
243
+ /**
244
+ * Array of messages
245
+ *
246
+ * @generated from field: repeated bragi.proxy.ChatMessage messages = 4;
247
+ */
248
+ messages = [];
249
+ /**
250
+ * Max output tokens (optional)
251
+ *
252
+ * @generated from field: optional google.protobuf.UInt32Value max_tokens = 5;
253
+ */
254
+ maxTokens;
255
+ /**
256
+ * Model's temperature (optional)
257
+ *
258
+ * @generated from field: optional google.protobuf.FloatValue temperature = 6;
259
+ */
260
+ temperature;
261
+ constructor(data) {
262
+ super();
263
+ proto3.util.initPartial(data, this);
264
+ }
265
+ static runtime = proto3;
266
+ static typeName = "bragi.proxy.ChatRequest";
267
+ static fields = proto3.util.newFieldList(() => [
268
+ {
269
+ no: 1,
270
+ name: "application",
271
+ kind: "scalar",
272
+ T: 9
273
+ /* ScalarType.STRING */
274
+ },
275
+ { no: 2, name: "provider", kind: "enum", T: proto3.getEnumType(ModelProvider) },
276
+ {
277
+ no: 3,
278
+ name: "model",
279
+ kind: "scalar",
280
+ T: 9
281
+ /* ScalarType.STRING */
282
+ },
283
+ { no: 4, name: "messages", kind: "message", T: ChatMessage, repeated: true },
284
+ { no: 5, name: "max_tokens", kind: "message", T: UInt32Value, opt: true },
285
+ { no: 6, name: "temperature", kind: "message", T: FloatValue, opt: true }
286
+ ]);
287
+ static fromBinary(bytes, options) {
288
+ return new ChatRequest().fromBinary(bytes, options);
289
+ }
290
+ static fromJson(jsonValue, options) {
291
+ return new ChatRequest().fromJson(jsonValue, options);
292
+ }
293
+ static fromJsonString(jsonString, options) {
294
+ return new ChatRequest().fromJsonString(jsonString, options);
295
+ }
296
+ static equals(a, b) {
297
+ return proto3.util.equals(ChatRequest, a, b);
298
+ }
299
+ }
300
+ class ChatResponse extends Message {
301
+ /**
302
+ * @generated from field: string id = 1;
303
+ */
304
+ id = "";
305
+ /**
306
+ * @generated from field: bragi.proxy.ChatMessage message = 2;
307
+ */
308
+ message;
309
+ /**
310
+ * @generated from field: string finish_reason = 3;
311
+ */
312
+ finishReason = "";
313
+ /**
314
+ * @generated from field: bragi.proxy.Usage usage = 4;
315
+ */
316
+ usage;
317
+ constructor(data) {
318
+ super();
319
+ proto3.util.initPartial(data, this);
320
+ }
321
+ static runtime = proto3;
322
+ static typeName = "bragi.proxy.ChatResponse";
323
+ static fields = proto3.util.newFieldList(() => [
324
+ {
325
+ no: 1,
326
+ name: "id",
327
+ kind: "scalar",
328
+ T: 9
329
+ /* ScalarType.STRING */
330
+ },
331
+ { no: 2, name: "message", kind: "message", T: ChatMessage },
332
+ {
333
+ no: 3,
334
+ name: "finish_reason",
335
+ kind: "scalar",
336
+ T: 9
337
+ /* ScalarType.STRING */
338
+ },
339
+ { no: 4, name: "usage", kind: "message", T: Usage }
340
+ ]);
341
+ static fromBinary(bytes, options) {
342
+ return new ChatResponse().fromBinary(bytes, options);
343
+ }
344
+ static fromJson(jsonValue, options) {
345
+ return new ChatResponse().fromJson(jsonValue, options);
346
+ }
347
+ static fromJsonString(jsonString, options) {
348
+ return new ChatResponse().fromJsonString(jsonString, options);
349
+ }
350
+ static equals(a, b) {
351
+ return proto3.util.equals(ChatResponse, a, b);
352
+ }
353
+ }
354
+ class ChatStreamResponse extends Message {
355
+ /**
356
+ * @generated from field: string id = 1;
357
+ */
358
+ id = "";
359
+ /**
360
+ * @generated from field: bragi.proxy.ChatDelta delta = 2;
361
+ */
362
+ delta;
363
+ /**
364
+ * @generated from field: google.protobuf.StringValue finish_reason = 3;
365
+ */
366
+ finishReason;
367
+ constructor(data) {
368
+ super();
369
+ proto3.util.initPartial(data, this);
370
+ }
371
+ static runtime = proto3;
372
+ static typeName = "bragi.proxy.ChatStreamResponse";
373
+ static fields = proto3.util.newFieldList(() => [
374
+ {
375
+ no: 1,
376
+ name: "id",
377
+ kind: "scalar",
378
+ T: 9
379
+ /* ScalarType.STRING */
380
+ },
381
+ { no: 2, name: "delta", kind: "message", T: ChatDelta },
382
+ { no: 3, name: "finish_reason", kind: "message", T: StringValue }
383
+ ]);
384
+ static fromBinary(bytes, options) {
385
+ return new ChatStreamResponse().fromBinary(bytes, options);
386
+ }
387
+ static fromJson(jsonValue, options) {
388
+ return new ChatStreamResponse().fromJson(jsonValue, options);
389
+ }
390
+ static fromJsonString(jsonString, options) {
391
+ return new ChatStreamResponse().fromJsonString(jsonString, options);
392
+ }
393
+ static equals(a, b) {
394
+ return proto3.util.equals(ChatStreamResponse, a, b);
395
+ }
396
+ }
397
+ class EmbeddingRequest extends Message {
398
+ /**
399
+ * Model provider defaults to OpenAI
400
+ *
401
+ * @generated from field: bragi.proxy.ModelProvider provider = 1;
402
+ */
403
+ provider = 0 /* OpenAI */;
404
+ /**
405
+ * Model name
406
+ *
407
+ * @generated from field: string model = 2;
408
+ */
409
+ model = "";
410
+ /**
411
+ * Array of input strings
412
+ *
413
+ * @generated from field: repeated string input = 3;
414
+ */
415
+ input = [];
416
+ constructor(data) {
417
+ super();
418
+ proto3.util.initPartial(data, this);
419
+ }
420
+ static runtime = proto3;
421
+ static typeName = "bragi.proxy.EmbeddingRequest";
422
+ static fields = proto3.util.newFieldList(() => [
423
+ { no: 1, name: "provider", kind: "enum", T: proto3.getEnumType(ModelProvider) },
424
+ {
425
+ no: 2,
426
+ name: "model",
427
+ kind: "scalar",
428
+ T: 9
429
+ /* ScalarType.STRING */
430
+ },
431
+ { no: 3, name: "input", kind: "scalar", T: 9, repeated: true }
432
+ ]);
433
+ static fromBinary(bytes, options) {
434
+ return new EmbeddingRequest().fromBinary(bytes, options);
435
+ }
436
+ static fromJson(jsonValue, options) {
437
+ return new EmbeddingRequest().fromJson(jsonValue, options);
438
+ }
439
+ static fromJsonString(jsonString, options) {
440
+ return new EmbeddingRequest().fromJsonString(jsonString, options);
441
+ }
442
+ static equals(a, b) {
443
+ return proto3.util.equals(EmbeddingRequest, a, b);
444
+ }
445
+ }
446
+ class Embedding extends Message {
447
+ /**
448
+ * @generated from field: repeated float embedding = 1;
449
+ */
450
+ embedding = [];
451
+ constructor(data) {
452
+ super();
453
+ proto3.util.initPartial(data, this);
454
+ }
455
+ static runtime = proto3;
456
+ static typeName = "bragi.proxy.Embedding";
457
+ static fields = proto3.util.newFieldList(() => [
458
+ { no: 1, name: "embedding", kind: "scalar", T: 2, repeated: true }
459
+ ]);
460
+ static fromBinary(bytes, options) {
461
+ return new Embedding().fromBinary(bytes, options);
462
+ }
463
+ static fromJson(jsonValue, options) {
464
+ return new Embedding().fromJson(jsonValue, options);
465
+ }
466
+ static fromJsonString(jsonString, options) {
467
+ return new Embedding().fromJsonString(jsonString, options);
468
+ }
469
+ static equals(a, b) {
470
+ return proto3.util.equals(Embedding, a, b);
471
+ }
472
+ }
473
+ class EmbeddingResponse extends Message {
474
+ /**
475
+ * @generated from field: repeated bragi.proxy.Embedding data = 1;
476
+ */
477
+ data = [];
478
+ /**
479
+ * @generated from field: bragi.proxy.Usage usage = 2;
480
+ */
481
+ usage;
482
+ constructor(data) {
483
+ super();
484
+ proto3.util.initPartial(data, this);
485
+ }
486
+ static runtime = proto3;
487
+ static typeName = "bragi.proxy.EmbeddingResponse";
488
+ static fields = proto3.util.newFieldList(() => [
489
+ { no: 1, name: "data", kind: "message", T: Embedding, repeated: true },
490
+ { no: 2, name: "usage", kind: "message", T: Usage }
491
+ ]);
492
+ static fromBinary(bytes, options) {
493
+ return new EmbeddingResponse().fromBinary(bytes, options);
494
+ }
495
+ static fromJson(jsonValue, options) {
496
+ return new EmbeddingResponse().fromJson(jsonValue, options);
497
+ }
498
+ static fromJsonString(jsonString, options) {
499
+ return new EmbeddingResponse().fromJsonString(jsonString, options);
500
+ }
501
+ static equals(a, b) {
502
+ return proto3.util.equals(EmbeddingResponse, a, b);
503
+ }
504
+ }
505
+ class ChatAudit extends Message {
506
+ /**
507
+ * @generated from field: bragi.proxy.ChatRequest request = 1;
508
+ */
509
+ request;
510
+ /**
511
+ * @generated from field: bragi.proxy.ChatResponse response = 2;
512
+ */
513
+ response;
514
+ /**
515
+ * @generated from field: bool stream = 3;
516
+ */
517
+ stream = false;
518
+ constructor(data) {
519
+ super();
520
+ proto3.util.initPartial(data, this);
521
+ }
522
+ static runtime = proto3;
523
+ static typeName = "bragi.proxy.ChatAudit";
524
+ static fields = proto3.util.newFieldList(() => [
525
+ { no: 1, name: "request", kind: "message", T: ChatRequest },
526
+ { no: 2, name: "response", kind: "message", T: ChatResponse },
527
+ {
528
+ no: 3,
529
+ name: "stream",
530
+ kind: "scalar",
531
+ T: 8
532
+ /* ScalarType.BOOL */
533
+ }
534
+ ]);
535
+ static fromBinary(bytes, options) {
536
+ return new ChatAudit().fromBinary(bytes, options);
537
+ }
538
+ static fromJson(jsonValue, options) {
539
+ return new ChatAudit().fromJson(jsonValue, options);
540
+ }
541
+ static fromJsonString(jsonString, options) {
542
+ return new ChatAudit().fromJsonString(jsonString, options);
543
+ }
544
+ static equals(a, b) {
545
+ return proto3.util.equals(ChatAudit, a, b);
546
+ }
547
+ }
548
+ export {
549
+ ChatAudit,
550
+ ChatDelta,
551
+ ChatMessage,
552
+ ChatRequest,
553
+ ChatResponse,
554
+ ChatStreamResponse,
555
+ CompletionRequest,
556
+ Embedding,
557
+ EmbeddingRequest,
558
+ EmbeddingResponse,
559
+ ModelProvider,
560
+ Usage
561
+ };
@@ -0,0 +1,44 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var posts_connect_exports = {};
19
+ __export(posts_connect_exports, {
20
+ PostService: () => PostService
21
+ });
22
+ module.exports = __toCommonJS(posts_connect_exports);
23
+ var import_posts_pb = require("./posts_pb.ts");
24
+ var import_protobuf = require("@bufbuild/protobuf");
25
+ const PostService = {
26
+ typeName: "dailydotdev.api.posts.PostService",
27
+ methods: {
28
+ /**
29
+ * Create a new post
30
+ *
31
+ * @generated from rpc dailydotdev.api.posts.PostService.Create
32
+ */
33
+ create: {
34
+ name: "Create",
35
+ I: import_posts_pb.CreatePostRequest,
36
+ O: import_posts_pb.CreatePostResponse,
37
+ kind: import_protobuf.MethodKind.Unary
38
+ }
39
+ }
40
+ };
41
+ // Annotate the CommonJS export names for ESM import in node:
42
+ 0 && (module.exports = {
43
+ PostService
44
+ });
@@ -0,0 +1,24 @@
1
+ import { CreatePostRequest, CreatePostResponse } from './posts_pb.cjs';
2
+ import '@bufbuild/protobuf';
3
+
4
+ /**
5
+ * @generated from service dailydotdev.api.posts.PostService
6
+ */
7
+ declare const PostService: {
8
+ readonly typeName: "dailydotdev.api.posts.PostService";
9
+ readonly methods: {
10
+ /**
11
+ * Create a new post
12
+ *
13
+ * @generated from rpc dailydotdev.api.posts.PostService.Create
14
+ */
15
+ readonly create: {
16
+ readonly name: "Create";
17
+ readonly I: typeof CreatePostRequest;
18
+ readonly O: typeof CreatePostResponse;
19
+ readonly kind: any;
20
+ };
21
+ };
22
+ };
23
+
24
+ export { PostService };
@@ -0,0 +1,24 @@
1
+ import { CreatePostRequest, CreatePostResponse } from './posts_pb.js';
2
+ import '@bufbuild/protobuf';
3
+
4
+ /**
5
+ * @generated from service dailydotdev.api.posts.PostService
6
+ */
7
+ declare const PostService: {
8
+ readonly typeName: "dailydotdev.api.posts.PostService";
9
+ readonly methods: {
10
+ /**
11
+ * Create a new post
12
+ *
13
+ * @generated from rpc dailydotdev.api.posts.PostService.Create
14
+ */
15
+ readonly create: {
16
+ readonly name: "Create";
17
+ readonly I: typeof CreatePostRequest;
18
+ readonly O: typeof CreatePostResponse;
19
+ readonly kind: any;
20
+ };
21
+ };
22
+ };
23
+
24
+ export { PostService };
@@ -0,0 +1,21 @@
1
+ import { CreatePostRequest, CreatePostResponse } from "./posts_pb.ts";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ const PostService = {
4
+ typeName: "dailydotdev.api.posts.PostService",
5
+ methods: {
6
+ /**
7
+ * Create a new post
8
+ *
9
+ * @generated from rpc dailydotdev.api.posts.PostService.Create
10
+ */
11
+ create: {
12
+ name: "Create",
13
+ I: CreatePostRequest,
14
+ O: CreatePostResponse,
15
+ kind: MethodKind.Unary
16
+ }
17
+ }
18
+ };
19
+ export {
20
+ PostService
21
+ };