mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-27 10:42:38 +01:00
Typesafe routing and CM line height issue
This commit is contained in:
1 parent
c5ca3daab3
commit
f855d8ab16
20 files changed
+202
-77
No files matched your search
@@ -1,6 +1,5 @@
|
||||
export interface BaseModel {
|
||||
readonly id: string;
|
||||
readonly workspaceId: string;
|
||||
readonly createdAt: Date;
|
||||
readonly updatedAt: Date;
|
||||
}
|
||||
@@ -18,6 +17,7 @@ export interface HttpHeader {
|
||||
}
|
||||
|
||||
export interface HttpRequest extends BaseModel {
|
||||
readonly workspaceId: string;
|
||||
readonly model: 'http_request';
|
||||
sortPriority: number;
|
||||
name: string;
|
||||
@@ -36,6 +36,7 @@ export interface KeyValue extends Omit<BaseModel, 'id'> {
|
||||
}
|
||||
|
||||
export interface HttpResponse extends BaseModel {
|
||||
readonly workspaceId: string;
|
||||
readonly model: 'http_response';
|
||||
readonly requestId: string;
|
||||
readonly body: string;
|
||||
|
||||
Reference in new issue
Block a user