Skip to content

Commit

Permalink
Fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
LazyCreeper committed Nov 4, 2023
1 parent 478f470 commit 39ee1ee
Show file tree
Hide file tree
Showing 7 changed files with 287 additions and 61 deletions.
6 changes: 0 additions & 6 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ export {}

declare module 'vue' {
export interface GlobalComponents {
copy: typeof import('./src/components/icons/Person copy.vue')['default']
CustomHeaders: typeof import('./src/components/dialogs/customHeaders.vue')['default']
DarkModeSwitcher: typeof import('./src/components/DarkModeSwitcher.vue')['default']
Edit: typeof import('./src/components/icons/Edit.vue')['default']
ElCol: typeof import('element-plus/es')['ElCol']
ElCollapse: typeof import('element-plus/es')['ElCollapse']
ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem']
ElContainer: typeof import('element-plus/es')['ElContainer']
ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElEmpty: typeof import('element-plus/es')['ElEmpty']
ElForm: typeof import('element-plus/es')['ElForm']
Expand All @@ -28,8 +25,6 @@ declare module 'vue' {
ElRow: typeof import('element-plus/es')['ElRow']
ElSelect: typeof import('element-plus/es')['ElSelect']
ElSkeleton: typeof import('element-plus/es')['ElSkeleton']
ElTabPane: typeof import('element-plus/es')['ElTabPane']
ElTabs: typeof import('element-plus/es')['ElTabs']
ElTag: typeof import('element-plus/es')['ElTag']
Github: typeof import('./src/components/icons/Github.vue')['default']
Header: typeof import('./src/components/Header.vue')['default']
Expand All @@ -44,6 +39,5 @@ declare module 'vue' {
RouterView: typeof import('vue-router')['RouterView']
Sun: typeof import('./src/components/icons/Sun.vue')['default']
Trash: typeof import('./src/components/icons/Trash.vue')['default']
UserInfo: typeof import('./src/components/UserInfo.vue')['default']
}
}
21 changes: 17 additions & 4 deletions src/proto/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ message BaseMovieInfo {
bool rtmpSource = 5;
string type = 6;
map<string, string> headers = 7;
VendorInfo vendorInfo = 8;
}

message MovieInfo {
uint64 id = 1;
string id = 1;
BaseMovieInfo base = 2;
string pullKey = 3;
int64 createdAt = 4;
string creator = 5;
int64 createdAt = 3;
string creator = 4;
}

message Status {
Expand All @@ -48,6 +48,19 @@ message Current {
Status status = 2;
}

message VendorInfo {
string vendor = 1;
bool shared = 2;
optional BilibiliVendorInfo bilibili = 3;
}

message BilibiliVendorInfo {
string bvid = 1;
uint64 cid = 2;
uint64 epid = 3;
uint32 quality = 4;
}

message ElementMessage {
ElementMessageType type = 1;
string sender = 2;
Expand Down
Loading

0 comments on commit 39ee1ee

Please sign in to comment.