@schemastore/component 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +2 -2
- package/index.d.ts +35 -13
- package/package.json +4 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Florian Imdahl. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
package/README.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
This package contains type definitions for component.
|
|
6
6
|
|
|
7
7
|
## Details
|
|
8
|
-
Files were exported from https://github.com/ffflorian/schemastore-updater/tree/
|
|
8
|
+
Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/component.
|
|
9
9
|
|
|
10
10
|
## Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, Feb 24, 2023, 11:23:32 GMT
|
|
12
12
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* eslint-disable */
|
|
2
2
|
/**
|
|
3
3
|
* This file was automatically generated by json-schema-to-typescript.
|
|
4
4
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
@@ -28,36 +28,50 @@ export interface JSONSchemaForComponentJsonFiles {
|
|
|
28
28
|
version?: string;
|
|
29
29
|
/**
|
|
30
30
|
* Keywords are used when searching for a component. A public component SHOULD list a few keywords.
|
|
31
|
+
*
|
|
32
|
+
* @minItems 1
|
|
31
33
|
*/
|
|
32
|
-
keywords?: string[];
|
|
34
|
+
keywords?: [string, ...string[]];
|
|
33
35
|
/**
|
|
34
36
|
* It is recommended that you use 'index.js' for the main component file, however if you use another filename, you MUST define a 'main' field for that.
|
|
35
37
|
*/
|
|
36
38
|
main?: string;
|
|
37
39
|
/**
|
|
38
40
|
* The scripts field explicitly specifies the scripts for this component. For public components, these must be regular JavaScript files. For private components, these should be regular Javascript files.
|
|
41
|
+
*
|
|
42
|
+
* @minItems 1
|
|
39
43
|
*/
|
|
40
|
-
scripts?: string[];
|
|
44
|
+
scripts?: [string, ...string[]];
|
|
41
45
|
/**
|
|
42
46
|
* The styles field explicitly specifies the stylesheets for this component. For public components, these must be regular CSS files. For private components, these should be regular CSS files.
|
|
47
|
+
*
|
|
48
|
+
* @minItems 1
|
|
43
49
|
*/
|
|
44
|
-
styles?: string[];
|
|
50
|
+
styles?: [string, ...string[]];
|
|
45
51
|
/**
|
|
46
52
|
* The json field explicitly specifies the JSON files for this component. Each file must be valid JSON .
|
|
53
|
+
*
|
|
54
|
+
* @minItems 1
|
|
47
55
|
*/
|
|
48
|
-
json?: string[];
|
|
56
|
+
json?: [string, ...string[]];
|
|
49
57
|
/**
|
|
50
58
|
* The images field MUST be supported and fetched upon installation, this allows component build tools to rewrite stylesheet url() s in order to accomodate various file serving techniques.
|
|
59
|
+
*
|
|
60
|
+
* @minItems 1
|
|
51
61
|
*/
|
|
52
|
-
images?: string[];
|
|
62
|
+
images?: [string, ...string[]];
|
|
53
63
|
/**
|
|
54
64
|
* The fonts field MUST be supported and fetched upon installation, this allows component build tools to rewrite stylesheet url() s in order to accomodate various file serving techniques.
|
|
65
|
+
*
|
|
66
|
+
* @minItems 1
|
|
55
67
|
*/
|
|
56
|
-
fonts?: string[];
|
|
68
|
+
fonts?: [string, ...string[]];
|
|
57
69
|
/**
|
|
58
70
|
* In the future we will classify more file types, however for those which are not treated uniquely such as fonts may be placed in a files array to aid build and installation tools.
|
|
71
|
+
*
|
|
72
|
+
* @minItems 1
|
|
59
73
|
*/
|
|
60
|
-
files?: string[];
|
|
74
|
+
files?: [string, ...string[]];
|
|
61
75
|
/**
|
|
62
76
|
* Runtime dependencies.
|
|
63
77
|
*/
|
|
@@ -66,25 +80,33 @@ export interface JSONSchemaForComponentJsonFiles {
|
|
|
66
80
|
};
|
|
67
81
|
/**
|
|
68
82
|
* Local dependencies are already located on disk, these are not installed, but are however included in the builds, thus no versions need to be defined. Local components should be located in a directory specified within .paths.
|
|
83
|
+
*
|
|
84
|
+
* @minItems 1
|
|
69
85
|
*/
|
|
70
|
-
locals?: string[];
|
|
86
|
+
locals?: [string, ...string[]];
|
|
71
87
|
/**
|
|
72
88
|
* The public component must not contain any remotes.
|
|
89
|
+
*
|
|
90
|
+
* @minItems 1
|
|
73
91
|
*/
|
|
74
|
-
remotes?: string[];
|
|
92
|
+
remotes?: [string, ...string[]];
|
|
75
93
|
/**
|
|
76
94
|
* The public component must not contain any paths.
|
|
95
|
+
*
|
|
96
|
+
* @minItems 1
|
|
77
97
|
*/
|
|
78
|
-
paths?: string[];
|
|
98
|
+
paths?: [string, ...string[]];
|
|
79
99
|
/**
|
|
80
100
|
* The templates array MUST provide the contents of each file as a require-able module. For example the following must provide the HTML string via require('user.html').
|
|
101
|
+
*
|
|
102
|
+
* @minItems 1
|
|
81
103
|
*/
|
|
82
|
-
templates?: string[];
|
|
104
|
+
templates?: [string, ...string[]];
|
|
83
105
|
demo?: string;
|
|
84
106
|
development?: JSONSchemaForComponentJsonFiles;
|
|
85
107
|
/**
|
|
86
108
|
* The license string such as 'MIT' may be used for search output and other reporting, developers SHOULD specify this field
|
|
87
109
|
*/
|
|
88
110
|
license?: string;
|
|
89
|
-
[k: string]:
|
|
111
|
+
[k: string]: unknown;
|
|
90
112
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"author": "Florian
|
|
2
|
+
"author": "Florian Imdahl <git@ffflorian.de>",
|
|
3
3
|
"dependencies": {},
|
|
4
4
|
"description": "TypeScript definitions for component.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.d.ts",
|
|
7
7
|
"name": "@schemastore/component",
|
|
8
|
-
"repository": "https://github.com/ffflorian/schemastore-updater/tree/
|
|
8
|
+
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/component",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"typesPublisherContentHash": "
|
|
10
|
+
"typesPublisherContentHash": "22a23d5ddf1be42bdf9c5a160ee6c011160072ffb2fdcfe4a5ef43c178f79c7f",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.6",
|
|
13
13
|
"typeScriptVersion": "2.2"
|
|
14
14
|
}
|