@schemastore/component 0.0.5 → 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 +1 -1
- package/README.md +1 -1
- package/index.d.ts +34 -12
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) Florian
|
|
3
|
+
Copyright (c) Florian Imdahl. All rights reserved.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -8,5 +8,5 @@ This package contains type definitions for component.
|
|
|
8
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,20 +80,28 @@ 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
|
/**
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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",
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/component",
|
|
8
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
|
}
|