@aj-shadow/z-abs-corelayer-server 0.0.0-aj-beta.221
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/.gitattributes +26 -0
- package/LICENSE.txt +96 -0
- package/README.md +5 -0
- package/npm-shrinkwrap.json +13 -0
- package/package.json +10 -0
- package/project/server/_build/Server-CoreLayer-server.bld +12 -0
- package/project/server/_build/z-abs-corelayer-server.prj +12 -0
- package/project/server/communication/core-protocol/decoder.js +404 -0
- package/project/server/communication/core-protocol/encoder.js +503 -0
- package/project/server/communication/messages/messages-s-to-c/message-persistent-init-response.js +14 -0
- package/project/server/communication/messages/messages-s-to-c/message-persistent-publish.js +16 -0
- package/project/server/communication/messages/messages-s-to-c/message-ws-init.js +14 -0
- package/project/server/communication/messages/messages-s-to-s/service-init-request.js +17 -0
- package/project/server/communication/messages/messages-s-to-s/service-init-response.js +18 -0
- package/project/server/communication/messages/messages-s-to-s/service-offer-off.js +15 -0
- package/project/server/communication/messages/messages-s-to-s/service-offer-on.js +15 -0
- package/project/server/communication/messages/messages-s-to-s/worker-init-request.js +15 -0
- package/project/server/data-response.js +588 -0
- package/project/server/high-resolution-timestamp.js +36 -0
- package/project/server/log/log-config.js +107 -0
- package/project/server/log/log-types.js +14 -0
- package/project/server/log/logger-console.js +36 -0
- package/project/server/log/logger.js +114 -0
- package/project/server/node/channel-input.js +65 -0
- package/project/server/node/channel-output.js +39 -0
- package/project/server/node/clients.js +80 -0
- package/project/server/node/connection-address.js +24 -0
- package/project/server/node/connection-data-ip.js +82 -0
- package/project/server/node/connection-data.js +25 -0
- package/project/server/node/const.js +44 -0
- package/project/server/node/external-services.js +209 -0
- package/project/server/node/http-cache.js +109 -0
- package/project/server/node/http-proxy.js +97 -0
- package/project/server/node/http-request-handler.js +219 -0
- package/project/server/node/http-server.js +36 -0
- package/project/server/node/http2-server.js +67 -0
- package/project/server/node/https-server.js +63 -0
- package/project/server/node/ip-client.js +98 -0
- package/project/server/node/ip-server.js +63 -0
- package/project/server/node/ip-subscription.js +46 -0
- package/project/server/node/message-channel.js +98 -0
- package/project/server/node/node-admin.js +513 -0
- package/project/server/node/node-data.js +25 -0
- package/project/server/node/node-settings.js +352 -0
- package/project/server/node/node-worker.js +76 -0
- package/project/server/node/node.js +156 -0
- package/project/server/node/servers.js +168 -0
- package/project/server/node/ws-client.js +12 -0
- package/project/server/node/ws-server.js +20 -0
- package/project/server/node/ws-web-server.js +52 -0
- package/project/server/node/wss-server.js +20 -0
- package/project/server/node/wss-web-server.js +82 -0
- package/project/server/path/actor-path-build.js +29 -0
- package/project/server/path/actor-path-content.js +51 -0
- package/project/server/path/actor-path-creator.js +90 -0
- package/project/server/path/actor-path-data.js +487 -0
- package/project/server/path/actor-path-dist.js +132 -0
- package/project/server/path/actor-path-generated.js +202 -0
- package/project/server/path/actor-path-project.js +181 -0
- package/project/server/path/actor-path.js +57 -0
- package/project/server/path/paths/actor-content-paths.js +34 -0
- package/project/server/path/paths/actor-data-paths.js +302 -0
- package/project/server/path/paths/actor-generated-paths.js +99 -0
- package/project/server/path/paths/actor-paths.js +22 -0
- package/project/server/plugin-base-multi.js +484 -0
- package/project/server/plugin-base.js +233 -0
- package/project/server/plugin-component.js +92 -0
- package/project/server/plugin-data/client/plugin_data_ClientGet.js +18 -0
- package/project/server/plugin-data/dialog-file/plugin_data_DialogFileGet.js +197 -0
- package/project/server/plugin-data/platform/plugin_data_PlatformPing.js +19 -0
- package/project/server/plugin-factor-protocol.js +35 -0
- package/project/server/plugin-factory.js +127 -0
- package/project/server/plugin-lock.js +164 -0
- package/project/server/response-queue.js +46 -0
- package/project/server/responses.js +20 -0
- package/project/server/service/plugin-service.js +264 -0
- package/project/server/service/service-export.js +47 -0
- package/project/server/service/service-manager.js +270 -0
- package/project/server/service/service-requests.js +49 -0
- package/project/server/session-cache.js +39 -0
- package/project/server/session.js +23 -0
- package/project/server/worker/worker-channel.js +175 -0
- package/project/server/worker/worker-core.js +58 -0
- package/project/server/worker/worker-main.js +165 -0
- package/project/server/worker/worker-pool.js +94 -0
- package/project/server/worker/worker-thread.js +128 -0
- package/project/z-abs-corelayer-server.tree +99 -0
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const ActorPathCreator = require('../actor-path-creator');
|
|
5
|
+
const ActorPathData = require('../actor-path-data');
|
|
6
|
+
const ActorPath = require('../actor-path');
|
|
7
|
+
const GuidGenerator = require('z-abs-corelayer-cs/clientServer/guid-generator');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ActorDataPaths {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.folderPaths = [
|
|
13
|
+
ActorPathData.getReposLocalFolder(),
|
|
14
|
+
ActorPathData.getActorDataLocalFolder(),
|
|
15
|
+
ActorPathData.getDocumentationNoteLocalFilder(),
|
|
16
|
+
ActorPathData.getTestAbstractionLocalFolder(),
|
|
17
|
+
ActorPathData.getActorsLocalFolder(),
|
|
18
|
+
ActorPathData.getStacksLocalFolder(),
|
|
19
|
+
ActorPathData.getAddressesLocalFolder(),
|
|
20
|
+
ActorPathData.getTestDataLocalFolder(),
|
|
21
|
+
ActorPathData.getContentLocalFolder(),
|
|
22
|
+
ActorPathData.getLocalReposFolder()
|
|
23
|
+
];
|
|
24
|
+
if(ActorPath.releaseStepDevelopment) {
|
|
25
|
+
this.folderPaths.push(ActorPathData.getActorDataGlobalFolder());
|
|
26
|
+
this.folderPaths.push(ActorPathData.getTestAbstractionGlobalFolder());
|
|
27
|
+
this.folderPaths.push(ActorPathData.getActorsGlobalFolder());
|
|
28
|
+
this.folderPaths.push(ActorPathData.getStacksGlobalFolder());
|
|
29
|
+
this.folderPaths.push(ActorPathData.getAddressesGlobalFolder());
|
|
30
|
+
this.folderPaths.push(ActorPathData.getTestDataGlobalFolder());
|
|
31
|
+
this.folderPaths.push(ActorPathData.getSystemUnderTestActorGlobalFolder());
|
|
32
|
+
this.folderPaths.push(ActorPathData.getContentGlobalFolder());
|
|
33
|
+
this.folderPaths.push(ActorPathData.getLoginGlobalFolder());
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
this.filePaths = [
|
|
37
|
+
{
|
|
38
|
+
path: ActorPathData.getAddressesLocalNetworksFile(),
|
|
39
|
+
default: []
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
path: ActorPathData.getAddressesLocalInterfacesSutFile(),
|
|
43
|
+
default: []
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
path: ActorPathData.getAddressesLocalInterfacesClientFile(),
|
|
47
|
+
default: []
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
path: ActorPathData.getAddressesLocalInterfacesServerFile(),
|
|
51
|
+
default: []
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
path: ActorPathData.getAddressesLocalAddressesSutFile(),
|
|
55
|
+
default: []
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
path: ActorPathData.getAddressesLocalAddressesClientFile(),
|
|
59
|
+
default: []
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
path: ActorPathData.getAddressesLocalAddressesServerFile(),
|
|
63
|
+
default: []
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
path: ActorPathData.getAddressesLocalSrcFile(),
|
|
67
|
+
default: []
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
path: ActorPathData.getAddressesLocalDnsFile(),
|
|
71
|
+
default: []
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
path: ActorPathData.getAddressesLocalDstFile(),
|
|
75
|
+
default: []
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
path: ActorPathData.getAddressesLocalSrvFile(),
|
|
79
|
+
default: []
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
path: ActorPathData.getAddressesLocalPortsFile(),
|
|
83
|
+
default: []
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
path: ActorPathData.getActorsLocalProjectPureFile(),
|
|
87
|
+
text: `${GuidGenerator.create()};;Actors-local;folder;.;[actorjs,js]`
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
path: ActorPathData.getStacksLocalProjectPureFile(),
|
|
91
|
+
text: `${GuidGenerator.create()};;Stacks-local;folder;.;[actorjs,js]`
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
path: ActorPathData.getTestDataEnvironmentLocalFile(),
|
|
95
|
+
default: []
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
path: ActorPathData.getTestDataGeneralLocalFile(),
|
|
99
|
+
default: []
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
path: ActorPathData.getLicensesFile(),
|
|
103
|
+
default: []
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
path: ActorPathData.getDependenciesFile(),
|
|
107
|
+
default: []
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
path: ActorPathData.getTestDataOutputLocalFile(),
|
|
111
|
+
default: [/*
|
|
112
|
+
{
|
|
113
|
+
name: 'log-type-engine',
|
|
114
|
+
value: 'all',
|
|
115
|
+
description: 'none, filter or all'
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'log-type-debug',
|
|
119
|
+
value: 'all',
|
|
120
|
+
description: 'none, filter or all'
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: 'log-type-error',
|
|
124
|
+
value: 'all',
|
|
125
|
+
description: 'none, filter or all'
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: 'log-type-warning',
|
|
129
|
+
value: 'all',
|
|
130
|
+
description: 'none, filter or all'
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: 'log-type-ip',
|
|
134
|
+
value: 'all',
|
|
135
|
+
description: 'none, filter or all'
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: 'log-type-success',
|
|
139
|
+
value: 'all',
|
|
140
|
+
description: 'none, filter or all'
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: 'log-type-failure',
|
|
144
|
+
value: 'all',
|
|
145
|
+
description: 'none, filter or all'
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: 'log-type-test-data',
|
|
149
|
+
value: 'all',
|
|
150
|
+
description: 'none, filter or all'
|
|
151
|
+
}
|
|
152
|
+
*/]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
path: ActorPathData.getTestDataSystemLocalFile(),
|
|
156
|
+
default: []
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
path: ActorPathData.getSystemUnderTestActorFile(),
|
|
160
|
+
default: {
|
|
161
|
+
name: 'Actor',
|
|
162
|
+
description: 'Default System Under Test. The tool it self acts as the system under test.',
|
|
163
|
+
status: 'static'
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
path: ActorPathData.getContentTextLocalFile(),
|
|
168
|
+
default: []
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
path: ActorPathData.getContentDocumentsLocalFile(),
|
|
172
|
+
default: []
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
path: ActorPathData.getContentImageLocalFile(),
|
|
176
|
+
default: []
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
path: ActorPathData.getContentVideoLocalFile(),
|
|
180
|
+
default: []
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
path: ActorPathData.getContentAudioLocalFile(),
|
|
184
|
+
default: []
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
path: ActorPathData.getContentOtherLocalFile(),
|
|
188
|
+
default: []
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
path: ActorPathData.getLocalReposFile(),
|
|
192
|
+
default: {
|
|
193
|
+
actorjsContentRepos: [],
|
|
194
|
+
actorjsDataRepos: []
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
path: ActorPathData.getReadMeFile(),
|
|
199
|
+
text: `# ActorJs AB #
|
|
200
|
+
|
|
201
|
+
## actorjs-data-local - repo ##`
|
|
202
|
+
}
|
|
203
|
+
];
|
|
204
|
+
if(ActorPath.releaseStepDevelopment) {
|
|
205
|
+
this.filePaths.push({
|
|
206
|
+
path: ActorPathData.getAddressesGlobalNetworksFile(),
|
|
207
|
+
default: []
|
|
208
|
+
});
|
|
209
|
+
this.filePaths.push({
|
|
210
|
+
path: ActorPathData.getAddressesGlobalInterfacesSutFile(),
|
|
211
|
+
default: []
|
|
212
|
+
});
|
|
213
|
+
this.filePaths.push({
|
|
214
|
+
path: ActorPathData.getAddressesGlobalInterfacesClientFile(),
|
|
215
|
+
default: []
|
|
216
|
+
});
|
|
217
|
+
this.filePaths.push({
|
|
218
|
+
path: ActorPathData.getAddressesGlobalInterfacesServerFile(),
|
|
219
|
+
default: []
|
|
220
|
+
});
|
|
221
|
+
this.filePaths.push({
|
|
222
|
+
path: ActorPathData.getAddressesGlobalAddressesSutFile(),
|
|
223
|
+
default: []
|
|
224
|
+
});
|
|
225
|
+
this.filePaths.push({
|
|
226
|
+
path: ActorPathData.getAddressesGlobalAddressesClientFile(),
|
|
227
|
+
default: []
|
|
228
|
+
});
|
|
229
|
+
this.filePaths.push({
|
|
230
|
+
path: ActorPathData.getAddressesGlobalAddressesServerFile(),
|
|
231
|
+
default: []
|
|
232
|
+
});
|
|
233
|
+
this.filePaths.push({
|
|
234
|
+
path: ActorPathData.getAddressesGlobalSrcFile(),
|
|
235
|
+
default: []
|
|
236
|
+
});
|
|
237
|
+
this.filePaths.push({
|
|
238
|
+
path: ActorPathData.getAddressesGlobalDnsFile(),
|
|
239
|
+
default: []
|
|
240
|
+
});
|
|
241
|
+
this.filePaths.push({
|
|
242
|
+
path: ActorPathData.getAddressesGlobalDstFile(),
|
|
243
|
+
default: []
|
|
244
|
+
});
|
|
245
|
+
this.filePaths.push({
|
|
246
|
+
path: ActorPathData.getAddressesGlobalSrvFile(),
|
|
247
|
+
default: []
|
|
248
|
+
});
|
|
249
|
+
this.filePaths.push({
|
|
250
|
+
path: ActorPathData.getAddressesGlobalPortsFile(),
|
|
251
|
+
default: []
|
|
252
|
+
});
|
|
253
|
+
this.filePaths.push({
|
|
254
|
+
path: ActorPathData.getTestDataEnvironmentGlobalFile(),
|
|
255
|
+
default: []
|
|
256
|
+
});
|
|
257
|
+
this.filePaths.push({
|
|
258
|
+
path: ActorPathData.getTestDataGeneralGlobalFile(),
|
|
259
|
+
default: []
|
|
260
|
+
});
|
|
261
|
+
this.filePaths.push({
|
|
262
|
+
path: ActorPathData.getTestDataOutputGlobalFile(),
|
|
263
|
+
default: []
|
|
264
|
+
});
|
|
265
|
+
this.filePaths.push({
|
|
266
|
+
path: ActorPathData.getTestDataSystemGlobalFile(),
|
|
267
|
+
default: []
|
|
268
|
+
});
|
|
269
|
+
this.filePaths.push({
|
|
270
|
+
path: ActorPathData.getContentTextGlobalFile(),
|
|
271
|
+
default: []
|
|
272
|
+
});
|
|
273
|
+
this.filePaths.push({
|
|
274
|
+
path: ActorPathData.getContentDocumentsGlobalFile(),
|
|
275
|
+
default: []
|
|
276
|
+
});
|
|
277
|
+
this.filePaths.push({
|
|
278
|
+
path: ActorPathData.getContentImageGlobalFile(),
|
|
279
|
+
default: []
|
|
280
|
+
});
|
|
281
|
+
this.filePaths.push({
|
|
282
|
+
path: ActorPathData.getContentAudioGlobalFile(),
|
|
283
|
+
default: []
|
|
284
|
+
});
|
|
285
|
+
this.filePaths.push({
|
|
286
|
+
path: ActorPathData.getContentVideoGlobalFile(),
|
|
287
|
+
default: []
|
|
288
|
+
});
|
|
289
|
+
this.filePaths.push({
|
|
290
|
+
path: ActorPathData.getContentOtherGlobalFile(),
|
|
291
|
+
default: []
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
verifyOrCreate(done) {
|
|
297
|
+
new ActorPathCreator(this.folderPaths, this.filePaths).verifyOrCreate(done);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
module.exports = ActorDataPaths;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const ActorPathCreator = require('../actor-path-creator');
|
|
5
|
+
const ActorPathGenerated = require('../actor-path-generated');
|
|
6
|
+
const Path = require('path');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ActorGeneratedPaths {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.folderPaths = [
|
|
12
|
+
ActorPathGenerated.getActorGeneratedFolder(),
|
|
13
|
+
ActorPathGenerated.getStagingFolder(),
|
|
14
|
+
ActorPathGenerated.getTestCaseFolder(),
|
|
15
|
+
ActorPathGenerated.getStagingButtonsFolder(),
|
|
16
|
+
ActorPathGenerated.getTestCaseButtonsFolder(),
|
|
17
|
+
ActorPathGenerated.getTestSuiteFolder(),
|
|
18
|
+
ActorPathGenerated.getTestSuiteButtonsFolder(),
|
|
19
|
+
ActorPathGenerated.getTestDebuggerFolder(),
|
|
20
|
+
ActorPathGenerated.getWorkspaceFolder(),
|
|
21
|
+
ActorPathGenerated.getProjectsFolder(),
|
|
22
|
+
ActorPathGenerated.getDatabasesFolder(),
|
|
23
|
+
ActorPathGenerated.getDatabasesGitFolder(),
|
|
24
|
+
ActorPathGenerated.getDatabasesNpmFolder(),
|
|
25
|
+
ActorPathGenerated.getBuildFolder()
|
|
26
|
+
];
|
|
27
|
+
this.filePaths = [
|
|
28
|
+
{
|
|
29
|
+
path: ActorPathGenerated.getStagingFile(),
|
|
30
|
+
default: {
|
|
31
|
+
labId: 'actor',
|
|
32
|
+
userId: 'actor',
|
|
33
|
+
repo: 'actorjs-data-global',
|
|
34
|
+
systemUnderTest: 'Actor',
|
|
35
|
+
systemUnderTestInstance: '',
|
|
36
|
+
forcedLocalhost: false,
|
|
37
|
+
nodes: []
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
path: ActorPathGenerated.getNetworksFile(),
|
|
42
|
+
default: []
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
path: ActorPathGenerated.getAddressesFile(),
|
|
46
|
+
default: {}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
path: ActorPathGenerated.getLocalDnsFile(),
|
|
50
|
+
default: []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
path: ActorPathGenerated.getStagingReport(),
|
|
54
|
+
default: []
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
path: ActorPathGenerated.getChosenAddresses(),
|
|
58
|
+
default: {}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
path: ActorPathGenerated.getDependenciesFile(),
|
|
62
|
+
default: {
|
|
63
|
+
time: '',
|
|
64
|
+
dependencies: []
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
path: ActorPathGenerated.getTestCasesRecentFile(),
|
|
69
|
+
default: []
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
path: ActorPathGenerated.getTestSuitesRecentFile(),
|
|
73
|
+
default: []
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
path: ActorPathGenerated.getTestDebuggerFolder(),
|
|
77
|
+
default: {
|
|
78
|
+
breakpoints: []
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
path: ActorPathGenerated.getWorkspaceRecentFiles(),
|
|
83
|
+
default: {
|
|
84
|
+
recentWorkspaces: [{
|
|
85
|
+
appName: 'actorjs',
|
|
86
|
+
workspaceName: 'actorjs'
|
|
87
|
+
}]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
];
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
verifyOrCreate(done) {
|
|
94
|
+
new ActorPathCreator(this.folderPaths, this.filePaths).verifyOrCreate(done);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
module.exports = ActorGeneratedPaths;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const ActorPathCreator = require('../actor-path-creator');
|
|
5
|
+
const ActorPath = require('../actor-path');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ActorPaths {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.folderPaths = [
|
|
11
|
+
ActorPath.getActorTmpPath()
|
|
12
|
+
];
|
|
13
|
+
this.filePaths = [];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
verifyOrCreate(done) {
|
|
17
|
+
new ActorPathCreator(this.folderPaths, this.filePaths).verifyOrCreate(done);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
module.exports = ActorPaths;
|