@servable/tools 1.0.1
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 +33 -0
- package/package.json +106 -0
- package/src/config/candidates/featureCandidates/index.js +48 -0
- package/src/config/candidates/index.js +18 -0
- package/src/config/index.js +2 -0
- package/src/config/validate/feature/index.js +7 -0
- package/src/config/validate/index.js +5 -0
- package/src/document/1.0.0/all/build/class/index.js +67 -0
- package/src/document/1.0.0/all/build/feature/index.js +135 -0
- package/src/document/1.0.0/all/index.js +17 -0
- package/src/document/1.0.0/all/write/class/index.js +25 -0
- package/src/document/1.0.0/all/write/feature/index.js +43 -0
- package/src/document/1.0.0/all/write/index.js +10 -0
- package/src/document/1.0.0/all/write/utils/chunk.js +19 -0
- package/src/document/1.0.0/chunks/build/class/class.js +20 -0
- package/src/document/1.0.0/chunks/build/class/functions.js +21 -0
- package/src/document/1.0.0/chunks/build/class/lib.js +21 -0
- package/src/document/1.0.0/chunks/build/class/seed.js +21 -0
- package/src/document/1.0.0/chunks/build/class/triggers.js +26 -0
- package/src/document/1.0.0/chunks/build/feature/afterInit.js +20 -0
- package/src/document/1.0.0/chunks/build/feature/beforeInit.js +20 -0
- package/src/document/1.0.0/chunks/build/feature/class.js +42 -0
- package/src/document/1.0.0/chunks/build/feature/config.js +20 -0
- package/src/document/1.0.0/chunks/build/feature/functions.js +20 -0
- package/src/document/1.0.0/chunks/build/feature/lib.js +21 -0
- package/src/document/1.0.0/chunks/build/feature/liveClasses.js +20 -0
- package/src/document/1.0.0/chunks/build/feature/schema.js +206 -0
- package/src/document/1.0.0/chunks/build/feature/seed.js +20 -0
- package/src/document/1.0.0/chunks/build/feature/system.js +20 -0
- package/src/document/1.0.0/chunks/build/feature/triggers.js +20 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/_generateBadge.js +4 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/_githubPackage.js +4 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/adapters.js +40 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/apis.js +39 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/categories.js +32 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/dependencies/build.js +29 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/dependencies/index.js +40 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/footer.js +33 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/githubTags.js +42 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/install.js +29 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/packages.js +26 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/registry.js +42 -0
- package/src/document/1.0.0/generateGithubReadme/build/chunks/usage.js +68 -0
- package/src/document/1.0.0/generateGithubReadme/build/index.js +224 -0
- package/src/document/1.0.0/generateGithubReadme/index.js +28 -0
- package/src/document/1.1.0/all/build/class/index.js +67 -0
- package/src/document/1.1.0/all/build/feature/index.js +135 -0
- package/src/document/1.1.0/all/index.js +17 -0
- package/src/document/1.1.0/all/write/class/index.js +25 -0
- package/src/document/1.1.0/all/write/feature/index.js +43 -0
- package/src/document/1.1.0/all/write/index.js +10 -0
- package/src/document/1.1.0/all/write/utils/chunk.js +19 -0
- package/src/document/1.1.0/chunks/build/class/class.js +20 -0
- package/src/document/1.1.0/chunks/build/class/functions.js +21 -0
- package/src/document/1.1.0/chunks/build/class/lib.js +21 -0
- package/src/document/1.1.0/chunks/build/class/seed.js +21 -0
- package/src/document/1.1.0/chunks/build/class/triggers.js +26 -0
- package/src/document/1.1.0/chunks/build/feature/afterInit.js +20 -0
- package/src/document/1.1.0/chunks/build/feature/beforeInit.js +20 -0
- package/src/document/1.1.0/chunks/build/feature/class.js +42 -0
- package/src/document/1.1.0/chunks/build/feature/config.js +20 -0
- package/src/document/1.1.0/chunks/build/feature/functions.js +20 -0
- package/src/document/1.1.0/chunks/build/feature/lib.js +21 -0
- package/src/document/1.1.0/chunks/build/feature/liveClasses.js +20 -0
- package/src/document/1.1.0/chunks/build/feature/schema.js +206 -0
- package/src/document/1.1.0/chunks/build/feature/seed.js +20 -0
- package/src/document/1.1.0/chunks/build/feature/system.js +20 -0
- package/src/document/1.1.0/chunks/build/feature/triggers.js +20 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/_generateBadge.js +4 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/_githubPackage.js +4 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/adapters.js +40 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/apis.js +39 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/categories.js +32 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/dependencies/build.js +29 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/dependencies/index.js +40 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/footer.js +33 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/githubTags.js +42 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/install.js +29 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/packages.js +26 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/registry.js +42 -0
- package/src/document/1.1.0/generateGithubReadme/build/chunks/usage.js +68 -0
- package/src/document/1.1.0/generateGithubReadme/build/index.js +224 -0
- package/src/document/1.1.0/generateGithubReadme/index.js +28 -0
- package/src/document/gateway/all/index.js +23 -0
- package/src/document/gateway/generateGithubReadme/index.js +24 -0
- package/src/domain/feature/factory/absoluteModuleSrcPath.js +10 -0
- package/src/domain/feature/factory/featurePath.js +41 -0
- package/src/domain/feature/factory/index.js +71 -0
- package/src/domain/feature/index.js +117 -0
- package/src/domain/feature/lib/instancesPathIdUniqueId.js +17 -0
- package/src/domain/featureInstance/factory/getLoaderWithPayload.js +7 -0
- package/src/domain/featureInstance/factory/index.js +65 -0
- package/src/domain/featureInstance/factory/instancesWithPath.js +12 -0
- package/src/domain/featureInstance/index.js +199 -0
- package/src/domain/featureLoader/base.js +100 -0
- package/src/domain/featureLoader/factory/getModule.js +40 -0
- package/src/domain/featureLoader/factory/index.js +9 -0
- package/src/domain/featureLoader/lib/importJSDefault.js +12 -0
- package/src/domain/featureLoader/lib/importJSONDefault.js +14 -0
- package/src/domain/featureLoader/lib/mergeClassFeatures.js +17 -0
- package/src/domain/featureLoader/lib/triggerItems.js +8 -0
- package/src/domain/featureLoader/v1.0.0.js +861 -0
- package/src/domain/featureLoader/v1.1.0.js +871 -0
- package/src/domain/lib/checkFileExists.js +6 -0
- package/src/domain/servable/index.js +19 -0
- package/src/domain/servable/parse/index.js +5 -0
- package/src/domain/servable/parse/utils/index.js +216 -0
- package/src/index.js +29 -0
- package/src/lib/adaptConfig/basic.js +85 -0
- package/src/lib/adaptFeaturePayload.js +18 -0
- package/src/lib/checkFileExists.js +6 -0
- package/src/lib/cleanFeatures.js +25 -0
- package/src/lib/directories.js +49 -0
- package/src/lib/directoryFilesRecursive.js +83 -0
- package/src/lib/directoryGlob.js +14 -0
- package/src/lib/ensureDirectoryExists.js +14 -0
- package/src/lib/featureApiVersion.js +30 -0
- package/src/lib/foldersInFolder.js +46 -0
- package/src/lib/getModuleDir.js +19 -0
- package/src/lib/importFileAsText.js +15 -0
- package/src/lib/importJSONAsync.js +16 -0
- package/src/lib/sanitizePath.js +4 -0
- package/src/manifest/access/accessChildInTreeWithRoute.js +49 -0
- package/src/manifest/access/index.js +58 -0
- package/src/manifest/data/1.0.0/class.json +233 -0
- package/src/manifest/data/1.0.0/enums.js +255 -0
- package/src/manifest/data/1.0.0/feature.json +503 -0
- package/src/manifest/data/1.0.0/schema.json +145 -0
- package/src/manifest/data/1.1.0/class.json +233 -0
- package/src/manifest/data/1.1.0/enums.js +267 -0
- package/src/manifest/data/1.1.0/feature.json +542 -0
- package/src/manifest/data/1.1.0/schema.json +145 -0
- package/src/manifest/extract/extractAst.js +36 -0
- package/src/manifest/extract/extractItem.js +70 -0
- package/src/manifest/extract/formatFile.js +22 -0
- package/src/manifest/extract/index.js +23 -0
- package/src/manifest/extract/route/extractFileWithVariants.js +38 -0
- package/src/manifest/extract/route/extractFiles.js +87 -0
- package/src/manifest/extract/route/imageToBase64.js +42 -0
- package/src/manifest/extract/route/index.js +102 -0
- package/src/manifest/extract/templateDataForId.js +44 -0
- package/src/schema/build/buildFeature/classStruct/extractFeaturesFeatures.js +29 -0
- package/src/schema/build/buildFeature/classStruct/featureInClassClassSchema.js +36 -0
- package/src/schema/build/buildFeature/classStruct/index.js +62 -0
- package/src/schema/build/buildFeature/classStruct/preserveMostRestricted.js +68 -0
- package/src/schema/build/buildFeature/extractClassesFeature.js +49 -0
- package/src/schema/build/buildFeature/index.js +119 -0
- package/src/schema/build/index.js +54 -0
- package/src/schema/build/lib/getFeaturesLiveClasses.js +14 -0
- package/src/schema/build/lib/updateFeaturesExcerpt.js +24 -0
- package/src/schema/index.js +57 -0
- package/src/schema/validate/handleFeature/computeVersions.js +48 -0
- package/src/schema/validate/handleFeature/index.js +5 -0
- package/src/schema/validate/index.js +52 -0
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "root",
|
|
3
|
+
"name": "feature",
|
|
4
|
+
"description": "feature",
|
|
5
|
+
"routes": [
|
|
6
|
+
{
|
|
7
|
+
"type": "folder",
|
|
8
|
+
"path": "",
|
|
9
|
+
"priority": 0,
|
|
10
|
+
"children": [
|
|
11
|
+
{
|
|
12
|
+
"id": "index",
|
|
13
|
+
"name": "Index",
|
|
14
|
+
"description": "Index",
|
|
15
|
+
"routes": [
|
|
16
|
+
{
|
|
17
|
+
"type": "file",
|
|
18
|
+
"path": "index",
|
|
19
|
+
"mimeTypes": [
|
|
20
|
+
"application/json"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "file",
|
|
25
|
+
"path": "manifest",
|
|
26
|
+
"mimeTypes": [
|
|
27
|
+
"application/json"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "file",
|
|
32
|
+
"path": "module",
|
|
33
|
+
"mimeTypes": [
|
|
34
|
+
"application/json"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"id": "packages",
|
|
41
|
+
"name": "Packages",
|
|
42
|
+
"description": "Packages",
|
|
43
|
+
"routes": [
|
|
44
|
+
{
|
|
45
|
+
"type": "file",
|
|
46
|
+
"path": "packages",
|
|
47
|
+
"mimeTypes": [
|
|
48
|
+
"application/json"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "README",
|
|
55
|
+
"routes": [
|
|
56
|
+
{
|
|
57
|
+
"type": "file",
|
|
58
|
+
"mimeTypes": [
|
|
59
|
+
"text/markdown"
|
|
60
|
+
],
|
|
61
|
+
"path": "README"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "assets",
|
|
67
|
+
"routes": [
|
|
68
|
+
{
|
|
69
|
+
"type": "folder",
|
|
70
|
+
"path": "assets",
|
|
71
|
+
"children": [
|
|
72
|
+
{
|
|
73
|
+
"id": "icon",
|
|
74
|
+
"routes": [
|
|
75
|
+
{
|
|
76
|
+
"type": "file",
|
|
77
|
+
"mimeTypes": [
|
|
78
|
+
"image/svg+xml",
|
|
79
|
+
"image/png",
|
|
80
|
+
"image/jpeg",
|
|
81
|
+
"image/gif",
|
|
82
|
+
"image/webp"
|
|
83
|
+
],
|
|
84
|
+
"path": "icon",
|
|
85
|
+
"variants": [
|
|
86
|
+
"@2x",
|
|
87
|
+
"@3x"
|
|
88
|
+
],
|
|
89
|
+
"params": {
|
|
90
|
+
"quality": 100,
|
|
91
|
+
"maxWidth": 100,
|
|
92
|
+
"maxHeight": 100
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "thumbnail",
|
|
99
|
+
"routes": [
|
|
100
|
+
{
|
|
101
|
+
"type": "file",
|
|
102
|
+
"mimeTypes": [
|
|
103
|
+
"image/svg+xml",
|
|
104
|
+
"image/png",
|
|
105
|
+
"image/jpeg",
|
|
106
|
+
"image/gif",
|
|
107
|
+
"image/webp"
|
|
108
|
+
],
|
|
109
|
+
"path": "thumbnail",
|
|
110
|
+
"params": {
|
|
111
|
+
"quality": 80,
|
|
112
|
+
"maxWidth": 2048
|
|
113
|
+
},
|
|
114
|
+
"variants": [
|
|
115
|
+
"@2x",
|
|
116
|
+
"@3x"
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "cover",
|
|
123
|
+
"routes": [
|
|
124
|
+
{
|
|
125
|
+
"type": "file",
|
|
126
|
+
"mimeTypes": [
|
|
127
|
+
"image/png",
|
|
128
|
+
"image/jpeg"
|
|
129
|
+
],
|
|
130
|
+
"path": "cover",
|
|
131
|
+
"variants": [
|
|
132
|
+
"@2x",
|
|
133
|
+
"@3x"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"id": "class",
|
|
144
|
+
"routes": [
|
|
145
|
+
{
|
|
146
|
+
"type": "folder",
|
|
147
|
+
"path": "class",
|
|
148
|
+
"priority": 0,
|
|
149
|
+
"isDeprecated": false,
|
|
150
|
+
"children": [
|
|
151
|
+
{
|
|
152
|
+
"id": "index",
|
|
153
|
+
"routes": [
|
|
154
|
+
{
|
|
155
|
+
"type": "file",
|
|
156
|
+
"mimeTypes": [
|
|
157
|
+
"text/javascript"
|
|
158
|
+
],
|
|
159
|
+
"path": "index"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "features",
|
|
165
|
+
"routes": [
|
|
166
|
+
{
|
|
167
|
+
"type": "file",
|
|
168
|
+
"mimeTypes": [
|
|
169
|
+
"text/javascript"
|
|
170
|
+
],
|
|
171
|
+
"path": "features"
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"id": "afterInit",
|
|
181
|
+
"routes": [
|
|
182
|
+
{
|
|
183
|
+
"type": "folder",
|
|
184
|
+
"path": "afterInit",
|
|
185
|
+
"priority": 0,
|
|
186
|
+
"children": [
|
|
187
|
+
{
|
|
188
|
+
"id": "index",
|
|
189
|
+
"routes": [
|
|
190
|
+
{
|
|
191
|
+
"type": "file",
|
|
192
|
+
"mimeTypes": [
|
|
193
|
+
"text/javascript"
|
|
194
|
+
],
|
|
195
|
+
"path": "index"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "beforeInit",
|
|
205
|
+
"routes": [
|
|
206
|
+
{
|
|
207
|
+
"type": "folder",
|
|
208
|
+
"path": "beforeInit",
|
|
209
|
+
"priority": 0,
|
|
210
|
+
"children": [
|
|
211
|
+
{
|
|
212
|
+
"id": "index",
|
|
213
|
+
"routes": [
|
|
214
|
+
{
|
|
215
|
+
"type": "file",
|
|
216
|
+
"mimeTypes": [
|
|
217
|
+
"text/javascript"
|
|
218
|
+
],
|
|
219
|
+
"path": "index"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "config",
|
|
229
|
+
"routes": [
|
|
230
|
+
{
|
|
231
|
+
"type": "folder",
|
|
232
|
+
"path": "config",
|
|
233
|
+
"priority": 0,
|
|
234
|
+
"children": [
|
|
235
|
+
{
|
|
236
|
+
"id": "conditions",
|
|
237
|
+
"routes": [
|
|
238
|
+
{
|
|
239
|
+
"type": "file",
|
|
240
|
+
"mimeTypes": [
|
|
241
|
+
"application/json"
|
|
242
|
+
],
|
|
243
|
+
"path": "conditions"
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"id": "entries",
|
|
249
|
+
"routes": [
|
|
250
|
+
{
|
|
251
|
+
"type": "file",
|
|
252
|
+
"mimeTypes": [
|
|
253
|
+
"application/json"
|
|
254
|
+
],
|
|
255
|
+
"path": "entries"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"id": "groups",
|
|
261
|
+
"routes": [
|
|
262
|
+
{
|
|
263
|
+
"type": "file",
|
|
264
|
+
"mimeTypes": [
|
|
265
|
+
"application/json"
|
|
266
|
+
],
|
|
267
|
+
"path": "groups"
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"id": "system",
|
|
277
|
+
"routes": [
|
|
278
|
+
{
|
|
279
|
+
"type": "folder",
|
|
280
|
+
"path": "system",
|
|
281
|
+
"priority": 0,
|
|
282
|
+
"children": [
|
|
283
|
+
{
|
|
284
|
+
"id": "docker",
|
|
285
|
+
"routes": [
|
|
286
|
+
{
|
|
287
|
+
"type": "folder",
|
|
288
|
+
"path": "docker",
|
|
289
|
+
"priority": 0,
|
|
290
|
+
"children": [
|
|
291
|
+
{
|
|
292
|
+
"id": "docker-compose",
|
|
293
|
+
"routes": [
|
|
294
|
+
{
|
|
295
|
+
"type": "file",
|
|
296
|
+
"mimeTypes": [
|
|
297
|
+
"text/yaml"
|
|
298
|
+
],
|
|
299
|
+
"path": "docker-compose"
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"id": "adaptPayload",
|
|
305
|
+
"routes": [
|
|
306
|
+
{
|
|
307
|
+
"type": "file",
|
|
308
|
+
"mimeTypes": [
|
|
309
|
+
"text/javascript"
|
|
310
|
+
],
|
|
311
|
+
"path": "adaptpayload"
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"id": "seed",
|
|
325
|
+
"routes": [
|
|
326
|
+
{
|
|
327
|
+
"type": "folder",
|
|
328
|
+
"path": "seed",
|
|
329
|
+
"priority": 0,
|
|
330
|
+
"children": [
|
|
331
|
+
{
|
|
332
|
+
"id": "index",
|
|
333
|
+
"routes": [
|
|
334
|
+
{
|
|
335
|
+
"type": "file",
|
|
336
|
+
"mimeTypes": [
|
|
337
|
+
"text/javascript"
|
|
338
|
+
],
|
|
339
|
+
"path": "index"
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
]
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "liveClasses",
|
|
349
|
+
"name": "Live classes",
|
|
350
|
+
"description": "Live classes",
|
|
351
|
+
"routes": [
|
|
352
|
+
{
|
|
353
|
+
"type": "file",
|
|
354
|
+
"path": "liveclasses",
|
|
355
|
+
"mimeTypes": [
|
|
356
|
+
"text/javascript"
|
|
357
|
+
]
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"id": "functions",
|
|
363
|
+
"routes": [
|
|
364
|
+
{
|
|
365
|
+
"type": "filesCollection",
|
|
366
|
+
"path": "functions",
|
|
367
|
+
"priority": 0
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"path": "cloudCode",
|
|
371
|
+
"priority": 1,
|
|
372
|
+
"isDeprecated": true
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"id": "routes",
|
|
378
|
+
"routes": [
|
|
379
|
+
{
|
|
380
|
+
"type": "filesCollection",
|
|
381
|
+
"path": "routes"
|
|
382
|
+
}
|
|
383
|
+
]
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"id": "lib",
|
|
387
|
+
"routes": [
|
|
388
|
+
{
|
|
389
|
+
"type": "filesCollection",
|
|
390
|
+
"path": "lib",
|
|
391
|
+
"priority": 0
|
|
392
|
+
}
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"id": "classes",
|
|
397
|
+
"routes": [
|
|
398
|
+
{
|
|
399
|
+
"type": "templateCollection",
|
|
400
|
+
"templateId": "class",
|
|
401
|
+
"path": "classes"
|
|
402
|
+
}
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"id": "schema",
|
|
407
|
+
"routes": [
|
|
408
|
+
{
|
|
409
|
+
"type": "templateCollection",
|
|
410
|
+
"templateId": "schema",
|
|
411
|
+
"path": "schema"
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"id": "triggers",
|
|
417
|
+
"routes": [
|
|
418
|
+
{
|
|
419
|
+
"type": "folder",
|
|
420
|
+
"path": "triggers",
|
|
421
|
+
"priority": 0,
|
|
422
|
+
"isDeprecated": false,
|
|
423
|
+
"children": [
|
|
424
|
+
{
|
|
425
|
+
"id": "beforeSave",
|
|
426
|
+
"routes": [
|
|
427
|
+
{
|
|
428
|
+
"type": "file",
|
|
429
|
+
"mimeTypes": [
|
|
430
|
+
"text/javascript"
|
|
431
|
+
],
|
|
432
|
+
"path": "beforesave"
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"id": "afterSave",
|
|
438
|
+
"routes": [
|
|
439
|
+
{
|
|
440
|
+
"type": "file",
|
|
441
|
+
"mimeTypes": [
|
|
442
|
+
"text/javascript"
|
|
443
|
+
],
|
|
444
|
+
"path": "aftersave"
|
|
445
|
+
}
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"id": "beforeFind",
|
|
450
|
+
"routes": [
|
|
451
|
+
{
|
|
452
|
+
"type": "file",
|
|
453
|
+
"mimeTypes": [
|
|
454
|
+
"text/javascript"
|
|
455
|
+
],
|
|
456
|
+
"path": "beforefind"
|
|
457
|
+
}
|
|
458
|
+
]
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"id": "afterFind",
|
|
462
|
+
"routes": [
|
|
463
|
+
{
|
|
464
|
+
"type": "file",
|
|
465
|
+
"mimeTypes": [
|
|
466
|
+
"text/javascript"
|
|
467
|
+
],
|
|
468
|
+
"path": "afterfind"
|
|
469
|
+
}
|
|
470
|
+
]
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"id": "beforeDelete",
|
|
474
|
+
"routes": [
|
|
475
|
+
{
|
|
476
|
+
"type": "file",
|
|
477
|
+
"mimeTypes": [
|
|
478
|
+
"text/javascript"
|
|
479
|
+
],
|
|
480
|
+
"path": "beforedelete"
|
|
481
|
+
}
|
|
482
|
+
]
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"id": "afterDelete",
|
|
486
|
+
"routes": [
|
|
487
|
+
{
|
|
488
|
+
"type": "file",
|
|
489
|
+
"mimeTypes": [
|
|
490
|
+
"text/javascript"
|
|
491
|
+
],
|
|
492
|
+
"path": "afterdelete"
|
|
493
|
+
}
|
|
494
|
+
]
|
|
495
|
+
}
|
|
496
|
+
]
|
|
497
|
+
}
|
|
498
|
+
]
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "root",
|
|
3
|
+
"name": "schema",
|
|
4
|
+
"description": "schema",
|
|
5
|
+
"routes": [
|
|
6
|
+
{
|
|
7
|
+
"type": "folder",
|
|
8
|
+
"path": "",
|
|
9
|
+
"priority": 0,
|
|
10
|
+
"children": [
|
|
11
|
+
{
|
|
12
|
+
"id": "index",
|
|
13
|
+
"routes": [
|
|
14
|
+
{
|
|
15
|
+
"type": "file",
|
|
16
|
+
"path": "index",
|
|
17
|
+
"mimeTypes": [
|
|
18
|
+
"application/json"
|
|
19
|
+
],
|
|
20
|
+
"priority": 0
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "file",
|
|
24
|
+
"path": "index",
|
|
25
|
+
"mimeTypes": [
|
|
26
|
+
"text/javascript"
|
|
27
|
+
],
|
|
28
|
+
"priority": 0
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "classes",
|
|
34
|
+
"routes": [
|
|
35
|
+
{
|
|
36
|
+
"type": "file",
|
|
37
|
+
"path": "classes",
|
|
38
|
+
"mimeTypes": [
|
|
39
|
+
"application/json"
|
|
40
|
+
],
|
|
41
|
+
"priority": 0
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "classLevelPermission",
|
|
47
|
+
"routes": [
|
|
48
|
+
{
|
|
49
|
+
"type": "file",
|
|
50
|
+
"path": "classlevelpermission",
|
|
51
|
+
"mimeTypes": [
|
|
52
|
+
"application/json"
|
|
53
|
+
],
|
|
54
|
+
"priority": 0
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "fields",
|
|
60
|
+
"routes": [
|
|
61
|
+
{
|
|
62
|
+
"type": "file",
|
|
63
|
+
"path": "fields",
|
|
64
|
+
"mimeTypes": [
|
|
65
|
+
"application/json"
|
|
66
|
+
],
|
|
67
|
+
"priority": 0
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "indexes",
|
|
73
|
+
"routes": [
|
|
74
|
+
{
|
|
75
|
+
"type": "file",
|
|
76
|
+
"path": "indexes",
|
|
77
|
+
"mimeTypes": [
|
|
78
|
+
"application/json"
|
|
79
|
+
],
|
|
80
|
+
"priority": 0
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "migration",
|
|
86
|
+
"routes": [
|
|
87
|
+
{
|
|
88
|
+
"type": "folder",
|
|
89
|
+
"path": "migration",
|
|
90
|
+
"priority": 0,
|
|
91
|
+
"children": [
|
|
92
|
+
{
|
|
93
|
+
"id": "down",
|
|
94
|
+
"routes": [
|
|
95
|
+
{
|
|
96
|
+
"type": "folder",
|
|
97
|
+
"path": "down",
|
|
98
|
+
"children": [
|
|
99
|
+
{
|
|
100
|
+
"id": "index",
|
|
101
|
+
"routes": [
|
|
102
|
+
{
|
|
103
|
+
"type": "file",
|
|
104
|
+
"path": "index",
|
|
105
|
+
"mimeTypes": [
|
|
106
|
+
"text/javascript"
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "up",
|
|
117
|
+
"routes": [
|
|
118
|
+
{
|
|
119
|
+
"type": "folder",
|
|
120
|
+
"path": "up",
|
|
121
|
+
"children": [
|
|
122
|
+
{
|
|
123
|
+
"id": "index",
|
|
124
|
+
"routes": [
|
|
125
|
+
{
|
|
126
|
+
"type": "file",
|
|
127
|
+
"path": "index",
|
|
128
|
+
"mimeTypes": [
|
|
129
|
+
"text/javascript"
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|