Move to single quotes
This commit is contained in:
@@ -14,18 +14,18 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import { LinkedClient, Maturity, ClientKind } from "./types";
|
||||
import { LinkKind } from "../parser/types";
|
||||
import logo from "./element.svg";
|
||||
import { LinkedClient, Maturity, ClientKind } from './types';
|
||||
import { LinkKind } from '../parser/types';
|
||||
import logo from './element.svg';
|
||||
|
||||
const Element: LinkedClient = {
|
||||
kind: ClientKind.LINKED_CLIENT,
|
||||
name: "Element",
|
||||
author: "Element",
|
||||
name: 'Element',
|
||||
author: 'Element',
|
||||
logo: logo,
|
||||
homepage: "https://element.io",
|
||||
homepage: 'https://element.io',
|
||||
maturity: Maturity.STABLE,
|
||||
description: "Fully-featured Matrix client for the Web",
|
||||
description: 'Fully-featured Matrix client for the Web',
|
||||
tags: [],
|
||||
toUrl: (link) => {
|
||||
switch (link.kind) {
|
||||
|
||||
@@ -14,9 +14,9 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import { Client } from "./types";
|
||||
import { Client } from './types';
|
||||
|
||||
import Element from "./Element.io";
|
||||
import Element from './Element.io';
|
||||
|
||||
/*
|
||||
* All the supported clients of matrix.to
|
||||
|
||||
+11
-11
@@ -14,35 +14,35 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import { SafeLink } from "../parser/types";
|
||||
import { SafeLink } from '../parser/types';
|
||||
|
||||
/*
|
||||
* A collection of descriptive tags that can be added to
|
||||
* a clients description.
|
||||
*/
|
||||
export enum Tag {
|
||||
IOS = "IOS",
|
||||
ANDROID = "ANDROID",
|
||||
DESKTOP = "DESKTOP",
|
||||
IOS = 'IOS',
|
||||
ANDROID = 'ANDROID',
|
||||
DESKTOP = 'DESKTOP',
|
||||
}
|
||||
|
||||
/*
|
||||
* A collection of states used for describing a clients maturity.
|
||||
*/
|
||||
export enum Maturity {
|
||||
ALPHA = "ALPHA",
|
||||
LATE_ALPHA = "LATE ALPHA",
|
||||
BETA = "BETA",
|
||||
LATE_BETA = "LATE_BETA",
|
||||
STABLE = "STABLE",
|
||||
ALPHA = 'ALPHA',
|
||||
LATE_ALPHA = 'LATE ALPHA',
|
||||
BETA = 'BETA',
|
||||
LATE_BETA = 'LATE_BETA',
|
||||
STABLE = 'STABLE',
|
||||
}
|
||||
|
||||
/*
|
||||
* Used for constructing the discriminated union of all client types.
|
||||
*/
|
||||
export enum ClientKind {
|
||||
LINKED_CLIENT = "LINKED_CLIENT",
|
||||
TEXT_CLIENT = "TEXT_CLIENT",
|
||||
LINKED_CLIENT = 'LINKED_CLIENT',
|
||||
TEXT_CLIENT = 'TEXT_CLIENT',
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user