2021-06-28 06:51:23 -07:00
|
|
|
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
|
|
// See LICENSE.txt for license information.
|
|
|
|
|
|
|
|
export type ServerFromURL = {
|
|
|
|
name: string;
|
2021-09-01 09:45:37 -07:00
|
|
|
url: string;
|
2021-06-28 06:51:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
export type Boundaries = {
|
|
|
|
maxX: number;
|
|
|
|
maxY: number;
|
|
|
|
minX: number;
|
|
|
|
minY: number;
|
|
|
|
maxWidth: number;
|
|
|
|
maxHeight: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export type DeepPartial<T> = {
|
|
|
|
[P in keyof T]?: DeepPartial<T[P]>;
|
|
|
|
}
|