-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b6c67a
commit 66e9a46
Showing
8 changed files
with
55 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,28 @@ | ||
type RegexOption = { | ||
code: string; | ||
value: string|number; | ||
value: string | number; | ||
description: string; | ||
portable?: string; | ||
} | ||
}; | ||
|
||
type RegexEngine = { | ||
description: string; | ||
enabled: boolean; | ||
help_label: string; | ||
help_url: string; | ||
handle: string; | ||
description: string; // library or module name (do not include `short_name`) | ||
enabled: boolean; // always true for now | ||
help_label: string; // text for the help button on the testing page | ||
help_url: string; // URL destination for the help button on the testing page | ||
handle: string; // unique identifier for the language or engine used as the slug in URLs | ||
level: "alpha" | "beta" | "golden"; | ||
links: Record<string, string>; | ||
logo_icon: string; | ||
logo_ar21: string; | ||
nodeping_url: string; | ||
notfound?: string[]; | ||
options: RegexOption[]; | ||
option_notes?: string; | ||
short_name: string; | ||
source_url: string; | ||
status_url: string; | ||
test_url: string; | ||
links: Record<string, string>; // A map of (name: url) for other help links. These will be displayed on the support page under “Official Documentation” | ||
logo_icon: string; // SVG icon (just the logo, no text) in a square | ||
logo_ar21: string; // SVG logo (including language name) in a 2:1 aspect ratio | ||
nodeping_url: string; // URL of the nodeping status page | ||
notfound?: string[]; // A list of handles that this is a substitute for (i.e. nodejs is a substitute for javascript) | ||
options: RegexOption[]; // A list of which options it supports. | ||
option_notes?: string; // Notes to display on the options page (html allowed) | ||
short_name: string; // Name of the language or engine | ||
source_url: string; // URL of source code | ||
status_url: string; // URL of the status endpoint | ||
test_url: string; // URL of the test endpoint | ||
}; | ||
|
||
export { | ||
type RegexEngine, | ||
} | ||
export { type RegexEngine }; |