Skip to content

Commit 611a618

Browse files
committed
chore: remove unused code
1 parent b4714fa commit 611a618

File tree

7 files changed

+6
-191
lines changed

7 files changed

+6
-191
lines changed

packages/shared/docs/-internal-/interfaces/JSONSchema4MultiSchema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.26
258258

259259
### format?
260260

261-
> `optional` **format**: `"time"` \| `"regex"` \| `"date"` \| `"date-time"` \| `"email"` \| `"hostname"` \| `"ipv4"` \| `"ipv6"` \| `"json-pointer"` \| `"json-pointer-uri-fragment"` \| `"relative-json-pointer"` \| `"uri"` \| `"uri-reference"` \| `"uri-template"` \| `"url"` \| `"uuid"`
261+
> `optional` **format**: `"regex"` \| `"date"` \| `"date-time"` \| `"email"` \| `"hostname"` \| `"ipv4"` \| `"ipv6"` \| `"json-pointer"` \| `"json-pointer-uri-fragment"` \| `"relative-json-pointer"` \| `"time"` \| `"uri"` \| `"uri-reference"` \| `"uri-template"` \| `"url"` \| `"uuid"`
262262
263263
The `format` keyword allows for basic semantic identification of certain
264264
kinds of string values that are commonly used.

packages/shared/docs/-internal-/interfaces/JSONSchema4StringSchema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.26
162162

163163
### format?
164164

165-
> `optional` **format**: `"time"` \| `"regex"` \| `"date"` \| `"date-time"` \| `"email"` \| `"hostname"` \| `"ipv4"` \| `"ipv6"` \| `"json-pointer"` \| `"json-pointer-uri-fragment"` \| `"relative-json-pointer"` \| `"uri"` \| `"uri-reference"` \| `"uri-template"` \| `"url"` \| `"uuid"`
165+
> `optional` **format**: `"regex"` \| `"date"` \| `"date-time"` \| `"email"` \| `"hostname"` \| `"ipv4"` \| `"ipv6"` \| `"json-pointer"` \| `"json-pointer-uri-fragment"` \| `"relative-json-pointer"` \| `"time"` \| `"uri"` \| `"uri-reference"` \| `"uri-template"` \| `"url"` \| `"uuid"`
166166
167167
The `format` keyword allows for basic semantic identification of certain
168168
kinds of string values that are commonly used.

packages/shared/docs/-internal-/interfaces/LetOrConstOrVarDeclarationBase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ declare const x = 1;
5050

5151
### kind
5252

53-
> **kind**: `"var"` \| `"const"` \| `"let"`
53+
> **kind**: `"const"` \| `"let"` \| `"var"`
5454
5555
The keyword used to declare the variable(s)
5656

packages/shared/docs/-internal-/interfaces/LetOrVarDeclaredDeclaration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ declare const x = 1;
5252

5353
### kind
5454

55-
> **kind**: `"var"` \| `"let"`
55+
> **kind**: `"let"` \| `"var"`
5656
5757
The keyword used to declare the variable(s)
5858

packages/shared/docs/-internal-/interfaces/LetOrVarNonDeclaredDeclaration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ declare const x = 1;
4545

4646
### kind
4747

48-
> **kind**: `"var"` \| `"let"`
48+
> **kind**: `"let"` \| `"var"`
4949
5050
The keyword used to declare the variable(s)
5151

packages/shared/docs/-internal-/namespaces/SourceCode/interfaces/Program.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ This never-used property exists only as a convenience for code that tries to acc
7272

7373
### sourceType
7474

75-
> **sourceType**: `"script"` \| `"module"`
75+
> **sourceType**: `"module"` \| `"script"`
7676
7777
#### Inherited from
7878

packages/shared/src/constants.ts

Lines changed: 0 additions & 185 deletions
Original file line numberDiff line numberDiff line change
@@ -51,191 +51,6 @@ export const RE_JAVASCRIPT_PROTOCOL = /^[\u0000-\u001F ]*j[\t\n\r]*a[\t\n\r]*v[\
5151

5252
// #endregion
5353

54-
// #region Built-in Components
55-
56-
// source: https://react.dev/reference/react-dom/components#all-html-components
57-
/**
58-
* @internal
59-
*/
60-
export const DOM_HTML_COMPONENT_TYPES = [
61-
"aside",
62-
"audio",
63-
"b",
64-
"base",
65-
"bdi",
66-
"bdo",
67-
"blockquote",
68-
"body",
69-
"br",
70-
"button",
71-
"canvas",
72-
"caption",
73-
"cite",
74-
"code",
75-
"col",
76-
"colgroup",
77-
"data",
78-
"datalist",
79-
"dd",
80-
"del",
81-
"details",
82-
"dfn",
83-
"dialog",
84-
"div",
85-
"dl",
86-
"dt",
87-
"em",
88-
"embed",
89-
"fieldset",
90-
"figcaption",
91-
"figure",
92-
"footer",
93-
"form",
94-
"h1",
95-
"head",
96-
"header",
97-
"hgroup",
98-
"hr",
99-
"html",
100-
"i",
101-
"iframe",
102-
"img",
103-
"input",
104-
"ins",
105-
"kbd",
106-
"label",
107-
"legend",
108-
"li",
109-
"link",
110-
"main",
111-
"map",
112-
"mark",
113-
"menu",
114-
"meta",
115-
"meter",
116-
"nav",
117-
"noscript",
118-
"object",
119-
"ol",
120-
"optgroup",
121-
"option",
122-
"output",
123-
"p",
124-
"picture",
125-
"pre",
126-
"progress",
127-
"q",
128-
"rp",
129-
"rt",
130-
"ruby",
131-
"s",
132-
"samp",
133-
"script",
134-
"section",
135-
"select",
136-
"slot",
137-
"small",
138-
"source",
139-
"span",
140-
"strong",
141-
"style",
142-
"sub",
143-
"summary",
144-
"sup",
145-
"table",
146-
"tbody",
147-
"td",
148-
"template",
149-
"textarea",
150-
"tfoot",
151-
"th",
152-
"thead",
153-
"time",
154-
"title",
155-
"tr",
156-
"track",
157-
"u",
158-
"ul",
159-
"var",
160-
"video",
161-
"wbr",
162-
] as const;
163-
164-
// source: https://react.dev/reference/react-dom/components#all-svg-components
165-
/**
166-
* @internal
167-
*/
168-
export const DOM_SVG_COMPONENT_TYPES = [
169-
"a",
170-
"animate",
171-
"animateMotion",
172-
"animateTransform",
173-
"circle",
174-
"clipPath",
175-
"defs",
176-
"desc",
177-
"discard",
178-
"ellipse",
179-
"feBlend",
180-
"feColorMatrix",
181-
"feComponentTransfer",
182-
"feComposite",
183-
"feConvolveMatrix",
184-
"feDiffuseLighting",
185-
"feDisplacementMap",
186-
"feDistantLight",
187-
"feDropShadow",
188-
"feFlood",
189-
"feFuncA",
190-
"feFuncB",
191-
"feFuncG",
192-
"feFuncR",
193-
"feGaussianBlur",
194-
"feImage",
195-
"feMerge",
196-
"feMergeNode",
197-
"feMorphology",
198-
"feOffset",
199-
"fePointLight",
200-
"feSpecularLighting",
201-
"feSpotLight",
202-
"feTile",
203-
"feTurbulence",
204-
"filter",
205-
"foreignObject",
206-
"g",
207-
"hatch",
208-
"hatchpath",
209-
"image",
210-
"line",
211-
"linearGradient",
212-
"marker",
213-
"mask",
214-
"metadata",
215-
"mpath",
216-
"path",
217-
"pattern",
218-
"polygon",
219-
"polyline",
220-
"radialGradient",
221-
"rect",
222-
"script",
223-
"set",
224-
"stop",
225-
"style",
226-
"svg",
227-
"switch",
228-
"symbol",
229-
"text",
230-
"textPath",
231-
"title",
232-
"tspan",
233-
"use",
234-
"view",
235-
] as const;
236-
237-
// #endregion
238-
23954
// #region Build-in Hooks
24055

24156
export const REACT_BUILD_IN_HOOKS = [

0 commit comments

Comments
 (0)