@dan-uni/dan-any 0.0.2

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.
@@ -0,0 +1,187 @@
1
+ // @generated by protoc-gen-es v2.2.3 with parameter "target=ts"
2
+ // @generated from file danuni.proto (package danuni.danmaku.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file danuni.proto.
13
+ */
14
+ export const file_danuni: GenFile = /*@__PURE__*/
15
+ fileDesc("CgxkYW51bmkucHJvdG8SEWRhbnVuaS5kYW5tYWt1LnYxIt4CCgdEYW5tYWt1EgwKBEZDSUQYASABKAkSDAoERE1JRBgCIAEoCRIQCghwcm9ncmVzcxgDIAEoBRIlCgRtb2RlGAQgASgOMhcuZGFudW5pLmRhbm1ha3UudjEuTW9kZRIQCghmb250c2l6ZRgFIAEoBRINCgVjb2xvchgGIAEoBRIQCghzZW5kZXJJRBgHIAEoCRIPCgdjb250ZW50GAggASgJEikKBWN0aW1lGAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIOCgZ3ZWlnaHQYCiABKAUSJQoEcG9vbBgLIAEoDjIXLmRhbnVuaS5kYW5tYWt1LnYxLlBvb2wSDAoEYXR0chgMIAMoCRIQCghwbGF0Zm9ybRgNIAEoCRIRCgRTUE1PGA4gASgJSACIAQESEgoFZXh0cmEYDyABKAlIAYgBAUIHCgVfU1BNT0IICgZfZXh0cmEiPAoMRGFubWFrdVJlcGx5EiwKCGRhbm1ha3VzGAEgAygLMhouZGFudW5pLmRhbm1ha3UudjEuRGFubWFrdSo9CgRNb2RlEgoKBk5vcm1hbBAAEgoKBkJvdHRvbRABEgcKA1RvcBACEgsKB1JldmVyc2UQAxIHCgNFeHQQBCopCgRQb29sEgcKA0RlZhAAEgcKA1N1YhABEgcKA0FkdhACEgYKAkl4EANQAGIGcHJvdG8z", [file_google_protobuf_timestamp]);
16
+
17
+ /**
18
+ * @generated from message danuni.danmaku.v1.Danmaku
19
+ */
20
+ export type Danmaku = Message<"danuni.danmaku.v1.Danmaku"> & {
21
+ /**
22
+ * @generated from field: string FCID = 1;
23
+ */
24
+ FCID: string;
25
+
26
+ /**
27
+ * @generated from field: string DMID = 2;
28
+ */
29
+ DMID: string;
30
+
31
+ /**
32
+ * @generated from field: int32 progress = 3;
33
+ */
34
+ progress: number;
35
+
36
+ /**
37
+ * @generated from field: danuni.danmaku.v1.Mode mode = 4;
38
+ */
39
+ mode: Mode;
40
+
41
+ /**
42
+ * @generated from field: int32 fontsize = 5;
43
+ */
44
+ fontsize: number;
45
+
46
+ /**
47
+ * @generated from field: int32 color = 6;
48
+ */
49
+ color: number;
50
+
51
+ /**
52
+ * @generated from field: string senderID = 7;
53
+ */
54
+ senderID: string;
55
+
56
+ /**
57
+ * @generated from field: string content = 8;
58
+ */
59
+ content: string;
60
+
61
+ /**
62
+ * @generated from field: google.protobuf.Timestamp ctime = 9;
63
+ */
64
+ ctime?: Timestamp;
65
+
66
+ /**
67
+ * @generated from field: int32 weight = 10;
68
+ */
69
+ weight: number;
70
+
71
+ /**
72
+ * @generated from field: danuni.danmaku.v1.Pool pool = 11;
73
+ */
74
+ pool: Pool;
75
+
76
+ /**
77
+ * @generated from field: repeated string attr = 12;
78
+ */
79
+ attr: string[];
80
+
81
+ /**
82
+ * @generated from field: string platform = 13;
83
+ */
84
+ platform: string;
85
+
86
+ /**
87
+ * @generated from field: optional string SPMO = 14;
88
+ */
89
+ SPMO?: string;
90
+
91
+ /**
92
+ * @generated from field: optional string extra = 15;
93
+ */
94
+ extra?: string;
95
+ };
96
+
97
+ /**
98
+ * Describes the message danuni.danmaku.v1.Danmaku.
99
+ * Use `create(DanmakuSchema)` to create a new message.
100
+ */
101
+ export const DanmakuSchema: GenMessage<Danmaku> = /*@__PURE__*/
102
+ messageDesc(file_danuni, 0);
103
+
104
+ /**
105
+ * @generated from message danuni.danmaku.v1.DanmakuReply
106
+ */
107
+ export type DanmakuReply = Message<"danuni.danmaku.v1.DanmakuReply"> & {
108
+ /**
109
+ * @generated from field: repeated danuni.danmaku.v1.Danmaku danmakus = 1;
110
+ */
111
+ danmakus: Danmaku[];
112
+ };
113
+
114
+ /**
115
+ * Describes the message danuni.danmaku.v1.DanmakuReply.
116
+ * Use `create(DanmakuReplySchema)` to create a new message.
117
+ */
118
+ export const DanmakuReplySchema: GenMessage<DanmakuReply> = /*@__PURE__*/
119
+ messageDesc(file_danuni, 1);
120
+
121
+ /**
122
+ * @generated from enum danuni.danmaku.v1.Mode
123
+ */
124
+ export enum Mode {
125
+ /**
126
+ * @generated from enum value: Normal = 0;
127
+ */
128
+ Normal = 0,
129
+
130
+ /**
131
+ * @generated from enum value: Bottom = 1;
132
+ */
133
+ Bottom = 1,
134
+
135
+ /**
136
+ * @generated from enum value: Top = 2;
137
+ */
138
+ Top = 2,
139
+
140
+ /**
141
+ * @generated from enum value: Reverse = 3;
142
+ */
143
+ Reverse = 3,
144
+
145
+ /**
146
+ * @generated from enum value: Ext = 4;
147
+ */
148
+ Ext = 4,
149
+ }
150
+
151
+ /**
152
+ * Describes the enum danuni.danmaku.v1.Mode.
153
+ */
154
+ export const ModeSchema: GenEnum<Mode> = /*@__PURE__*/
155
+ enumDesc(file_danuni, 0);
156
+
157
+ /**
158
+ * @generated from enum danuni.danmaku.v1.Pool
159
+ */
160
+ export enum Pool {
161
+ /**
162
+ * @generated from enum value: Def = 0;
163
+ */
164
+ Def = 0,
165
+
166
+ /**
167
+ * @generated from enum value: Sub = 1;
168
+ */
169
+ Sub = 1,
170
+
171
+ /**
172
+ * @generated from enum value: Adv = 2;
173
+ */
174
+ Adv = 2,
175
+
176
+ /**
177
+ * @generated from enum value: Ix = 3;
178
+ */
179
+ Ix = 3,
180
+ }
181
+
182
+ /**
183
+ * Describes the enum danuni.danmaku.v1.Pool.
184
+ */
185
+ export const PoolSchema: GenEnum<Pool> = /*@__PURE__*/
186
+ enumDesc(file_danuni, 1);
187
+