@rdfc/js-runner 2.0.0-alpha.10 → 2.0.0-alpha.11

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.
Files changed (46) hide show
  1. package/.editorconfig +9 -0
  2. package/examples/echo/.idea/echo.iml +9 -0
  3. package/examples/echo/.idea/misc.xml +6 -0
  4. package/{.idea → examples/echo/.idea}/modules.xml +1 -1
  5. package/examples/echo/.idea/vcs.xml +7 -0
  6. package/examples/echo/.swls/config.json +1 -0
  7. package/examples/echo/index.ttl +3 -0
  8. package/examples/echo/minimal.ttl +90 -0
  9. package/examples/echo/shacl.ttl +9 -0
  10. package/examples/echo/shape.ttl +1339 -0
  11. package/examples/echo/test.ttl +11 -0
  12. package/examples/echo/untitled:/types/MyType.ttl +0 -0
  13. package/file:/home/silvius/Projects/mumo-pipeline/ldes/http_3A_2F_2Fdata.mumo.be_2Fstreams_2Fnodes_2Fdefault/root/index.trig +3 -0
  14. package/ldes/http_3A_2F_2Fdata.mumo.be_2Fstreams_2Fnodes_2Fdefault/root/index.trig +3 -0
  15. package/lib/client.js +2 -2
  16. package/lib/testUtils.d.ts +8 -8
  17. package/lib/testUtils.js +32 -32
  18. package/lib/tsconfig.tsbuildinfo +1 -1
  19. package/minimal.ttl +99 -0
  20. package/package.json +1 -1
  21. package/src/client.ts +15 -15
  22. package/src/testUtils.ts +140 -140
  23. package/.idea/LNKD.tech Editor.xml +0 -194
  24. package/.idea/codeStyles/Project.xml +0 -52
  25. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  26. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  27. package/.idea/js-runner.iml +0 -12
  28. package/.idea/vcs.xml +0 -6
  29. package/dist/args.d.ts +0 -4
  30. package/dist/args.js +0 -58
  31. package/dist/connectors/file.d.ts +0 -15
  32. package/dist/connectors/file.js +0 -89
  33. package/dist/connectors/http.d.ts +0 -14
  34. package/dist/connectors/http.js +0 -82
  35. package/dist/connectors/kafka.d.ts +0 -48
  36. package/dist/connectors/kafka.js +0 -68
  37. package/dist/connectors/ws.d.ts +0 -10
  38. package/dist/connectors/ws.js +0 -72
  39. package/dist/connectors.d.ts +0 -73
  40. package/dist/connectors.js +0 -168
  41. package/dist/index.cjs +0 -732
  42. package/dist/index.d.ts +0 -42
  43. package/dist/index.js +0 -83
  44. package/dist/tsconfig.tsbuildinfo +0 -1
  45. package/dist/util.d.ts +0 -71
  46. package/dist/util.js +0 -92
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdfc/js-runner",
3
- "version": "2.0.0-alpha.10",
3
+ "version": "2.0.0-alpha.11",
4
4
  "main": "lib/index.js",
5
5
  "type": "module",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -12,7 +12,7 @@ export async function start(addr: string, uri: string) {
12
12
  transports: [
13
13
  new RpcTransport({
14
14
  entities: [uri, 'cli'],
15
- stream: client.logStream(() => {}),
15
+ stream: client.logStream(() => { }),
16
16
  }),
17
17
  ],
18
18
  })
@@ -27,26 +27,26 @@ export async function start(addr: string, uri: string) {
27
27
 
28
28
  let processorsEnd!: (v: unknown) => unknown
29
29
  const processorsEnded = new Promise((res) => (processorsEnd = res))
30
- ;(async () => {
31
- for await (const chunk of stream) {
32
- const msg: RunnerMessage = chunk
33
- if (msg.proc) {
34
- await runner.addProcessor(msg.proc)
30
+ ; (async () => {
31
+ for await (const chunk of stream) {
32
+ const msg: RunnerMessage = chunk
33
+ if (msg.proc) {
34
+ await runner.addProcessor(msg.proc)
35
+ }
36
+ if (msg.start) {
37
+ runner.start().then(processorsEnd)
38
+ }
39
+
40
+ await runner.handleOrchMessage(msg)
35
41
  }
36
- if (msg.start) {
37
- runner.start().then(processorsEnd)
38
- }
39
-
40
- await runner.handleOrchMessage(msg)
41
- }
42
42
 
43
- logger.error('Stream ended')
44
- })()
43
+ logger.error('Stream ended')
44
+ })()
45
45
 
46
46
  await processorsEnded
47
47
 
48
48
  logger.info('All processors are finished')
49
49
  stream.end()
50
50
  client.close()
51
- process.exit(0)
51
+ setTimeout(() => process.exit(0), 500)
52
52
  }
package/src/testUtils.ts CHANGED
@@ -1,84 +1,84 @@
1
- import { DataChunk, RunnerClient } from "@rdfc/proto";
2
- import * as grpc from "@grpc/grpc-js";
3
- import { ClientReadableStream } from "@grpc/grpc-js";
4
- import { ClientReadableStreamImpl, OrchestratorMessage } from "./reexports";
5
- import { extractShapes } from "rdf-lens";
6
- import { NamedNode, Parser, Writer } from "n3";
7
- import { readFile } from "fs/promises";
8
- import winston, { createLogger } from "winston";
9
- import { WriterInstance } from "./writer";
10
- import { ReaderInstance } from "./reader";
11
- import { Processor } from "./processor";
12
- import { FullProc, Runner } from "./runner";
13
- import { Quad, Term } from "@rdfjs/types";
14
- import { createTermNamespace } from "@treecg/types";
15
- import { expect } from "vitest";
1
+ import { DataChunk, RunnerClient } from '@rdfc/proto'
2
+ import * as grpc from '@grpc/grpc-js'
3
+ import { ClientReadableStream } from '@grpc/grpc-js'
4
+ import { ClientReadableStreamImpl, OrchestratorMessage } from './reexports'
5
+ import { extractShapes } from 'rdf-lens'
6
+ import { NamedNode, Parser, Writer } from 'n3'
7
+ import { readFile } from 'fs/promises'
8
+ import winston, { createLogger } from 'winston'
9
+ import { WriterInstance } from './writer'
10
+ import { ReaderInstance } from './reader'
11
+ import { Processor } from './processor'
12
+ import { FullProc, Runner } from './runner'
13
+ import { Quad, Term } from '@rdfjs/types'
14
+ import { createTermNamespace } from '@treecg/types'
15
+ import { expect } from 'vitest'
16
16
 
17
17
  export async function getProcessorShape(
18
- baseIRI = process.cwd() + "/node_modules/@rdfc/js-runner/index.ttl",
18
+ baseIRI = process.cwd() + '/node_modules/@rdfc/js-runner/index.ttl',
19
19
  ) {
20
- const configFile = await readFile(baseIRI, { encoding: "utf8" });
21
- const configQuads = new Parser().parse(configFile);
22
- const shapes = extractShapes(configQuads);
20
+ const configFile = await readFile(baseIRI, { encoding: 'utf8' })
21
+ const configQuads = new Parser().parse(configFile)
22
+ const shapes = extractShapes(configQuads)
23
23
 
24
- return shapes;
24
+ return shapes
25
25
  }
26
26
 
27
27
  export class TestClient extends RunnerClient {
28
- next: (stream: ClientReadableStream<DataChunk>) => unknown;
29
-
30
- constructor() {
31
- super("localhost:5400", grpc.credentials.createInsecure());
32
- }
33
-
34
- nextStream(): Promise<ClientReadableStream<DataChunk>> {
35
- return new Promise((res) => (this.next = res));
36
- }
37
-
38
- receiveStreamMessage(): ClientReadableStream<DataChunk> {
39
- const stream = new ClientReadableStreamImpl<DataChunk>((data: Buffer) => {
40
- return { data };
41
- });
42
- this.next(stream);
43
- return stream;
44
- }
28
+ next: (stream: ClientReadableStream<DataChunk>) => unknown
29
+
30
+ constructor() {
31
+ super('localhost:5400', grpc.credentials.createInsecure())
32
+ }
33
+
34
+ nextStream(): Promise<ClientReadableStream<DataChunk>> {
35
+ return new Promise((res) => (this.next = res))
36
+ }
37
+
38
+ receiveStreamMessage(): ClientReadableStream<DataChunk> {
39
+ const stream = new ClientReadableStreamImpl<DataChunk>((data: Buffer) => {
40
+ return { data }
41
+ })
42
+ this.next(stream)
43
+ return stream
44
+ }
45
45
  }
46
46
 
47
47
  export async function one<T>(iter: AsyncIterable<T>): Promise<T | undefined> {
48
- for await (const item of iter) {
49
- return item;
50
- }
48
+ for await (const item of iter) {
49
+ return item
50
+ }
51
51
  }
52
52
 
53
- export const client = new TestClient();
54
- export const uri = "someUri";
53
+ export const client = new TestClient()
54
+ export const uri = 'someUri'
55
55
  export const logger = createLogger({
56
- transports: new winston.transports.Console({
57
- level: process.env["DEBUG"] || "info",
58
- }),
59
- });
56
+ transports: new winston.transports.Console({
57
+ level: process.env['DEBUG'] || 'info',
58
+ }),
59
+ })
60
60
 
61
61
  export function createWriter(iri = uri): [WriterInstance, ReaderInstance] {
62
- const reader = createReader(iri);
63
- const writeStream = new WriterInstance(
64
- iri,
65
- client,
66
- async (msg) => {
67
- if (msg.msg) {
68
- reader.handleMsg(msg.msg);
69
- }
70
- if (msg.close) {
71
- reader.close();
72
- }
73
- },
74
- logger,
75
- );
76
- return [writeStream, reader];
62
+ const reader = createReader(iri)
63
+ const writeStream = new WriterInstance(
64
+ iri,
65
+ client,
66
+ async (msg) => {
67
+ if (msg.msg) {
68
+ reader.handleMsg(msg.msg)
69
+ }
70
+ if (msg.close) {
71
+ reader.close()
72
+ }
73
+ },
74
+ logger,
75
+ )
76
+ return [writeStream, reader]
77
77
  }
78
78
 
79
79
  export function createReader(iri = uri): ReaderInstance {
80
- const reader = new ReaderInstance(iri, client, logger);
81
- return reader;
80
+ const reader = new ReaderInstance(iri, client, logger)
81
+ return reader
82
82
  }
83
83
 
84
84
  const shapeQuads = `
@@ -105,92 +105,92 @@ const shapeQuads = `
105
105
  sh:maxCount 1;
106
106
  sh:datatype xsd:string;
107
107
  ].
108
- `;
109
- const OWL = createTermNamespace("http://www.w3.org/2002/07/owl#", "imports");
110
- const processorShapes = extractShapes(new Parser().parse(shapeQuads));
111
- const base = "https://w3id.org/rdf-connect#";
108
+ `
109
+ const OWL = createTermNamespace('http://www.w3.org/2002/07/owl#', 'imports')
110
+ const processorShapes = extractShapes(new Parser().parse(shapeQuads))
111
+ const base = 'https://w3id.org/rdf-connect#'
112
112
 
113
113
  export async function importFile(file: string): Promise<Quad[]> {
114
- const done = new Set<string>();
115
- const todo = [new URL("file://" + file)];
116
- const quads: Quad[] = [];
117
-
118
- let item = todo.pop();
119
- while (item !== undefined) {
120
- if (done.has(item.toString())) {
121
- item = todo.pop();
122
- continue;
123
- }
124
- done.add(item.toString());
125
- if (item.protocol !== "file:") {
126
- throw "No supported protocol " + item.protocol;
127
- }
128
-
129
- const txt = await readFile(item.pathname, { encoding: "utf8" });
130
- const extras = new Parser({ baseIRI: item.toString() }).parse(txt);
131
-
132
- for (const o of extras
133
- .filter(
134
- (x) =>
135
- x.subject.value === item?.toString() &&
136
- x.predicate.equals(OWL.imports),
137
- )
138
- .map((x) => x.object.value)) {
139
- todo.push(new URL(o));
140
- }
141
- quads.push(...extras);
142
-
143
- item = todo.pop();
114
+ const done = new Set<string>()
115
+ const todo = [new URL('file://' + file)]
116
+ const quads: Quad[] = []
117
+
118
+ let item = todo.pop()
119
+ while (item !== undefined) {
120
+ if (done.has(item.toString())) {
121
+ item = todo.pop()
122
+ continue
123
+ }
124
+ done.add(item.toString())
125
+ if (item.protocol !== 'file:') {
126
+ throw 'No supported protocol ' + item.protocol
144
127
  }
145
128
 
146
- return quads;
129
+ const txt = await readFile(item.pathname, { encoding: 'utf8' })
130
+ const extras = new Parser({ baseIRI: item.toString() }).parse(txt)
131
+
132
+ for (const o of extras
133
+ .filter(
134
+ (x) =>
135
+ x.subject.value === item?.toString() &&
136
+ x.predicate.equals(OWL.imports),
137
+ )
138
+ .map((x) => x.object.value)) {
139
+ todo.push(new URL(o))
140
+ }
141
+ quads.push(...extras)
142
+
143
+ item = todo.pop()
144
+ }
145
+
146
+ return quads
147
147
  }
148
148
 
149
149
  export async function getProc<T extends Processor<unknown>>(
150
- config: string,
151
- ty: string,
152
- configLocation: string,
153
- uri = "http://example.com/ns#processor",
150
+ config: string,
151
+ ty: string,
152
+ configLocation: string,
153
+ uri = 'http://example.com/ns#processor',
154
154
  ): Promise<FullProc<T>> {
155
- const configQuads = await importFile(configLocation);
156
- const procConfig = processorShapes.lenses["JsProcessorShape"].execute({
157
- id: new NamedNode(base + ty),
158
- quads: configQuads,
159
- });
160
-
161
- const msgs: OrchestratorMessage[] = [];
162
- const write = async (x: OrchestratorMessage) => {
163
- msgs.push(x);
164
- };
165
- const runner = new Runner(
166
- new TestClient(),
167
- write,
168
- "http://example.com/ns#",
169
- logger,
170
- );
171
- configQuads.push(...new Parser().parse(config));
172
- await runner.handleOrchMessage({
173
- pipeline: new Writer().quadsToString(configQuads),
174
- });
175
-
176
- const proc = await runner.addProcessor<T>({
177
- config: JSON.stringify(procConfig),
178
- arguments: "",
179
- uri,
180
- });
181
-
182
- return proc;
155
+ const configQuads = await importFile(configLocation)
156
+ const procConfig = processorShapes.lenses['JsProcessorShape'].execute({
157
+ id: new NamedNode(base + ty),
158
+ quads: configQuads,
159
+ })
160
+
161
+ const msgs: OrchestratorMessage[] = []
162
+ const write = async (x: OrchestratorMessage) => {
163
+ msgs.push(x)
164
+ }
165
+ const runner = new Runner(
166
+ new TestClient(),
167
+ write,
168
+ 'http://example.com/ns#',
169
+ logger,
170
+ )
171
+ configQuads.push(...new Parser().parse(config))
172
+ await runner.handleOrchMessage({
173
+ pipeline: new Writer().quadsToString(configQuads),
174
+ })
175
+
176
+ const proc = await runner.addProcessor<T>({
177
+ config: JSON.stringify(procConfig),
178
+ arguments: '',
179
+ uri,
180
+ })
181
+
182
+ return proc
183
183
  }
184
184
 
185
185
  export async function checkProcDefinition(file: string, n: string) {
186
- const quads = await importFile(file);
187
- const procConfig = <{ file: Term; location: string; clazz: string }>(
188
- processorShapes.lenses["JsProcessorShape"].execute({
189
- id: new NamedNode(base + n),
190
- quads: quads,
191
- })
192
- );
193
- expect(procConfig.file, n + " has file").toBeDefined();
194
- expect(procConfig.location, n + " has location").toBeDefined();
195
- expect(procConfig.clazz, n + " has clazz").toBeDefined();
186
+ const quads = await importFile(file)
187
+ const procConfig = <{ file: Term; location: string; clazz: string }>(
188
+ processorShapes.lenses['JsProcessorShape'].execute({
189
+ id: new NamedNode(base + n),
190
+ quads: quads,
191
+ })
192
+ )
193
+ expect(procConfig.file, n + ' has file').toBeDefined()
194
+ expect(procConfig.location, n + ' has location').toBeDefined()
195
+ expect(procConfig.clazz, n + ' has clazz').toBeDefined()
196
196
  }
@@ -1,194 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="http://lnkd.tech/editor#BuiltinGlobalGraphs">
4
- <option name="disabled">
5
- <set>
6
- <option value="DC_AM" />
7
- <option value="DC_E" />
8
- <option value="DC_T" />
9
- <option value="DC_TYPE" />
10
- <option value="FOAF" />
11
- <option value="FOAF_ORG" />
12
- <option value="ML_XS" />
13
- <option value="OWL2" />
14
- <option value="RDF" />
15
- <option value="RDFS" />
16
- <option value="SHACL" />
17
- <option value="SHACL_SHACL" />
18
- <option value="SKOS" />
19
- <option value="SKOS_ORG" />
20
- <option value="SPIN_MODELING" />
21
- <option value="SPIN_MODELING_ORG" />
22
- <option value="SPIN_SPARQL" />
23
- <option value="SPIN_SPARQL_ORG" />
24
- <option value="SPIN_STD" />
25
- <option value="SPIN_STD_ORG" />
26
- <option value="VANN" />
27
- <option value="VOAF" />
28
- <option value="schemaorg_all_http" />
29
- <option value="schemaorg_all_https" />
30
- </set>
31
- </option>
32
- </component>
33
- <component name="http://lnkd.tech/editor#GlobalGraphsAssignments">
34
- <option name="assignments">
35
- <map>
36
- <entry key="urn:tag:lnslr.eu,2018:java:eu.lunisolar.lava.rdfvocab.get.lava.LavaCatalog">
37
- <value>
38
- <map>
39
- <entry key="http://purl.org/dc/dcam">
40
- <value>
41
- <set>
42
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/58ABCE836B2D0022BF4C4C921A8C34C6E2F4B4AB015C4649FCAFD9572ED4DB47" />
43
- </set>
44
- </value>
45
- </entry>
46
- <entry key="http://purl.org/dc/dcmitype">
47
- <value>
48
- <set>
49
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/F987B11D556E556FEF95D7E9410C1C561FC1B7AC05CCD457128DC8962641B01E" />
50
- </set>
51
- </value>
52
- </entry>
53
- <entry key="http://purl.org/dc/elements/1.1">
54
- <value>
55
- <set>
56
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/FFB46B7A21E40344B93BC4AD2E6808B24DD53E261995EC3A926DF6BCD87BBFA5" />
57
- </set>
58
- </value>
59
- </entry>
60
- <entry key="http://purl.org/dc/terms">
61
- <value>
62
- <set>
63
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/13DF401072DD7015BF9D75162F3E41C8138075304B7B9CC1AA1E9C16DB976797" />
64
- </set>
65
- </value>
66
- </entry>
67
- <entry key="http://purl.org/vocab/vann">
68
- <value>
69
- <set>
70
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/96DE3675A0EAE0C2979D58A21FB808417E0C75DA18EFB9FEB050135BBAC790CA" />
71
- </set>
72
- </value>
73
- </entry>
74
- <entry key="http://purl.org/vocommons/voaf">
75
- <value>
76
- <set>
77
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/8FF39E5D8A3A8DBE88C790E499F2DAA0FC520CD825EBBE59E79A388361839150" />
78
- </set>
79
- </value>
80
- </entry>
81
- <entry key="http://schema.org">
82
- <value>
83
- <set>
84
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/62854C817CF24454C9FC1D9DDB605C7B6A4FDE0FF574960D40B0E150166997B6" />
85
- </set>
86
- </value>
87
- </entry>
88
- <entry key="http://spinrdf.org/sp">
89
- <value>
90
- <set>
91
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/FD2A599D1CE5D78A65896D5CE0A34553533715EE61388AD5F6E2AC75CF36FE94" />
92
- </set>
93
- </value>
94
- </entry>
95
- <entry key="http://spinrdf.org/spin">
96
- <value>
97
- <set>
98
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/CC3E56C1F2BC6D4213BAF662C0A1FEB97ED968FA21D6C0ED7E44887747C74BC3" />
99
- </set>
100
- </value>
101
- </entry>
102
- <entry key="http://spinrdf.org/spl">
103
- <value>
104
- <set>
105
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/EAD726323D0CC38A6FD1D332E1781E2601C32537102E82A0995E7FBA87BEF306" />
106
- </set>
107
- </value>
108
- </entry>
109
- <entry key="http://www.w3.org/1999/02/22-rdf-syntax-ns">
110
- <value>
111
- <set>
112
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/93D52B1A5824C7DD6504CA79C16205C0B740A0BA68B7A14952780F52561186A2" />
113
- </set>
114
- </value>
115
- </entry>
116
- <entry key="http://www.w3.org/2000/01/rdf-schema">
117
- <value>
118
- <set>
119
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/164A70B28D9AC4B828EEC7D9E4B548A9465A5E2C154D53A142CC5E18566E04EC" />
120
- </set>
121
- </value>
122
- </entry>
123
- <entry key="http://www.w3.org/2002/07/owl">
124
- <value>
125
- <set>
126
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/718FA1DB7840D3315BFCE94398543F91437EF6FE933054FD93F5471D19262FC5" />
127
- </set>
128
- </value>
129
- </entry>
130
- <entry key="http://www.w3.org/2004/02/skos/core">
131
- <value>
132
- <set>
133
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/2D0AC9174D7C53393C546802A19669534B44590EA00D807F4C149C6FFB4CF6BB" />
134
- </set>
135
- </value>
136
- </entry>
137
- <entry key="http://www.w3.org/ns/shacl">
138
- <value>
139
- <set>
140
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/0E5D8AEA0EAB98A072D4A02FAAEE1EE914EC99EAB2CA473429726FAED4A13F69" />
141
- </set>
142
- </value>
143
- </entry>
144
- <entry key="http://www.w3.org/ns/shacl-shacl">
145
- <value>
146
- <set>
147
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/250D6274CADC8FA5359D5DBC28BC943F1DE01ADB7FFC3369681216B583122E4A" />
148
- </set>
149
- </value>
150
- </entry>
151
- <entry key="http://xmlns.com/foaf/0.1">
152
- <value>
153
- <set>
154
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/630DAF410F3C34ED9FE7302E4A8A5439488B68375789E7CF5DD137892DAC6789" />
155
- </set>
156
- </value>
157
- </entry>
158
- <entry key="https://schema.org">
159
- <value>
160
- <set>
161
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/24D9BBA4119AA8C8708767B12B3BCACBC8BB8750CDB111F573996899AA29F089" />
162
- </set>
163
- </value>
164
- </entry>
165
- <entry key="urn:tag:lnkd.tech,2020:MissingLink:XMLDataTypes">
166
- <value>
167
- <set>
168
- <option value="urn:tag:lnkd.tech,2023:digest:sha-256/E7430AD6C9345DEC6A8C7E0665607B34D1F6B6FDC47A30FAC3FB146179213174" />
169
- </set>
170
- </value>
171
- </entry>
172
- </map>
173
- </value>
174
- </entry>
175
- </map>
176
- </option>
177
- </component>
178
- <component name="http://lnkd.tech/editor#GraphVisibilityConfig">
179
- <option name="visibility">
180
- <map>
181
- <entry key="DOCUMENTATION">
182
- <value>
183
- <Visibility />
184
- </value>
185
- </entry>
186
- <entry key="GENERAL">
187
- <value>
188
- <Visibility />
189
- </value>
190
- </entry>
191
- </map>
192
- </option>
193
- </component>
194
- </project>
@@ -1,52 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <code_scheme name="Project" version="173">
3
- <HTMLCodeStyleSettings>
4
- <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
5
- </HTMLCodeStyleSettings>
6
- <JSCodeStyleSettings version="0">
7
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
8
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
9
- <option name="FORCE_QUOTE_STYlE" value="true" />
10
- <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
11
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
12
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
13
- </JSCodeStyleSettings>
14
- <TypeScriptCodeStyleSettings version="0">
15
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
16
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
17
- <option name="FORCE_QUOTE_STYlE" value="true" />
18
- <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
19
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
20
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
21
- </TypeScriptCodeStyleSettings>
22
- <VueCodeStyleSettings>
23
- <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
24
- <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
25
- </VueCodeStyleSettings>
26
- <codeStyleSettings language="HTML">
27
- <option name="SOFT_MARGINS" value="80" />
28
- <indentOptions>
29
- <option name="CONTINUATION_INDENT_SIZE" value="4" />
30
- </indentOptions>
31
- </codeStyleSettings>
32
- <codeStyleSettings language="JavaScript">
33
- <option name="INDENT_CASE_FROM_SWITCH" value="false" />
34
- <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
35
- <option name="ALIGN_MULTILINE_FOR" value="false" />
36
- <option name="SOFT_MARGINS" value="80" />
37
- </codeStyleSettings>
38
- <codeStyleSettings language="TypeScript">
39
- <option name="INDENT_CASE_FROM_SWITCH" value="false" />
40
- <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
41
- <option name="ALIGN_MULTILINE_FOR" value="false" />
42
- <option name="SOFT_MARGINS" value="80" />
43
- </codeStyleSettings>
44
- <codeStyleSettings language="Vue">
45
- <option name="SOFT_MARGINS" value="80" />
46
- <indentOptions>
47
- <option name="INDENT_SIZE" value="4" />
48
- <option name="TAB_SIZE" value="4" />
49
- </indentOptions>
50
- </codeStyleSettings>
51
- </code_scheme>
52
- </component>
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
- </state>
5
- </component>
@@ -1,6 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
- </profile>
6
- </component>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
- <excludeFolder url="file://$MODULE_DIR$/temp" />
7
- <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
- </content>
9
- <orderEntry type="inheritedJdk" />
10
- <orderEntry type="sourceFolder" forTests="false" />
11
- </component>
12
- </module>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>