@kontur.candy/tools 2.243.0 → 2.244.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ServerErrorLog.js","names":["AdditionalProtocolResult","exports","AdditionalProtocolType"],"sources":["../../../../../../Common/CandyApiClient/Types/ErrorLog/ServerErrorLog.ts"],"sourcesContent":["import { Guid } from \"../../../../Engine/src/Engine/Types/Guid\";\nimport { InterdocumentCheckerResult } from \"../../../../Engine/src/Engine/Core/ErrorManager/Utils/Models\";\n\nexport enum AdditionalProtocolResult {\n Ok = \"Ok\",\n FileExceedsMaximumSize = \"FileExceedsMaximumSize\",\n Error = \"Error\",\n}\n\nexport enum AdditionalProtocolType {\n Popd = \"Popd\",\n}\n\nexport interface AdditionalErrorLogItem {\n type: AdditionalProtocolType;\n resultCode: AdditionalProtocolResult;\n contentDriveUri: string;\n errorsCount: number;\n warningsCount: number;\n}\n\nexport interface ServerErrorLogItem {\n id: Guid;\n description: string;\n path: null | undefined | string;\n source: string;\n tags: string[] | string | null;\n usedArguments: string[] | undefined;\n justification?: string | undefined | null;\n}\n\nexport interface ServerErrorLog {\n errorLogName?: null | string;\n propsName?: null | string;\n errors: ServerErrorLogItem[];\n warnings: ServerErrorLogItem[];\n successes: ServerErrorLogItem[];\n}\n\nexport interface ErrorLogGroup {\n groupName: string | null;\n errors: ServerErrorLogItem[];\n warnings: ServerErrorLogItem[];\n successes: ServerErrorLogItem[];\n groupAttachmentId?: string;\n tid?: string;\n}\n\nexport interface GroupedErrorLog {\n errorLogName?: null | string;\n propsName?: null | string;\n canSend?: boolean;\n groups: ErrorLogGroup[];\n interdocumentCheckerResult?: InterdocumentCheckerResult | null;\n}\n"],"mappings":";;;;;;IAGYA,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,0BAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA;AAAA,IAMxBE,sBAAsB,GAAAD,OAAA,CAAAC,sBAAA,0BAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAA,OAAtBA,sBAAsB;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"ServerErrorLog.js","names":["AdditionalProtocolResult","exports","AdditionalProtocolType"],"sources":["../../../../../../Common/CandyApiClient/Types/ErrorLog/ServerErrorLog.ts"],"sourcesContent":["import { Guid } from \"../../../../Engine/src/Engine/Types/Guid\";\nimport { InterdocumentCheckerResult } from \"../../../../Engine/src/Engine/Core/ErrorManager/Utils/Models\";\n\nexport enum AdditionalProtocolResult {\n Ok = \"Ok\",\n FileExceedsMaximumSize = \"FileExceedsMaximumSize\",\n Error = \"Error\",\n}\n\nexport enum AdditionalProtocolType {\n Popd = \"Popd\",\n}\n\nexport interface AdditionalErrorLogItem {\n type: AdditionalProtocolType;\n resultCode: AdditionalProtocolResult;\n contentDriveUri: string;\n errorsCount: number;\n warningsCount: number;\n}\n\nexport interface ServerErrorLogItem {\n id: Guid;\n description: string;\n path: null | undefined | string;\n source: string;\n tags: string[] | string | null;\n usedArguments: string[] | undefined;\n justification?: string | undefined | null;\n}\n\nexport interface ServerErrorLog {\n errorLogName?: null | string;\n propsName?: null | string;\n errors: ServerErrorLogItem[];\n warnings: ServerErrorLogItem[];\n successes: ServerErrorLogItem[];\n}\n\nexport interface ErrorLogGroup {\n groupName: string | null;\n errors: ServerErrorLogItem[];\n warnings: ServerErrorLogItem[];\n successes: ServerErrorLogItem[];\n groupAttachmentId?: string;\n tid?: string;\n}\n\nexport interface GroupedErrorLog {\n errorLogName?: null | string;\n propsName?: null | string;\n canSend?: boolean;\n hasErrors?: boolean;\n groups: ErrorLogGroup[];\n interdocumentCheckerResult?: InterdocumentCheckerResult | null;\n}\n"],"mappings":";;;;;;IAGYA,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,0BAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA;AAAA,IAMxBE,sBAAsB,GAAAD,OAAA,CAAAC,sBAAA,0BAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAA,OAAtBA,sBAAsB;AAAA","ignoreList":[]}
@@ -18,6 +18,16 @@ class FileSystemEntriesProducer extends _ChainableValueProducer.ObservableValueP
18
18
  this.fullPathMasks = void 0;
19
19
  this.watcher = void 0;
20
20
  this.currDirWatcher = void 0;
21
+ this.shouldIgnorePathChanges = changedPath => {
22
+ const normalizedChangedPath = _nodePath.default.normalize(changedPath);
23
+ const changedPathStats = _nodeFs.default.statSync(normalizedChangedPath);
24
+ const pathPointsToDir = changedPathStats.isDirectory();
25
+ if (pathPointsToDir) {
26
+ return false;
27
+ }
28
+ const unwatchedPathChanged = !this.isPathMatchingSomeMasks(normalizedChangedPath);
29
+ return unwatchedPathChanged;
30
+ };
21
31
  this.pathToDir = pathToDir;
22
32
  this.masks = masks;
23
33
  this.fullPathMasks = this.masks.map(mask => _nodePath.default.join(pathToDir, mask));
@@ -27,7 +37,7 @@ class FileSystemEntriesProducer extends _ChainableValueProducer.ObservableValueP
27
37
  return;
28
38
  }
29
39
  this.currDirWatcher = (0, _chokidar.watch)("./", {
30
- ignored: changedPath => this.shouldIgnorePathChanges(changedPath),
40
+ ignored: changedPath => this.ifPathExists(changedPath, this.shouldIgnorePathChanges, () => true),
31
41
  ignoreInitial: true,
32
42
  cwd: this.pathToDir,
33
43
  ignorePermissionErrors: false,
@@ -36,15 +46,8 @@ class FileSystemEntriesProducer extends _ChainableValueProducer.ObservableValueP
36
46
  this.currDirWatcher.on("add", async () => this.initMasksWatcher());
37
47
  await this.initMasksWatcher();
38
48
  }
39
- shouldIgnorePathChanges(changedPath) {
40
- const normalizedChangedPath = _nodePath.default.normalize(changedPath);
41
- const changedPathStats = _nodeFs.default.statSync(normalizedChangedPath);
42
- const pathPointsToDir = changedPathStats.isDirectory();
43
- if (pathPointsToDir) {
44
- return false;
45
- }
46
- const unwatchedPathChanged = !this.isPathMatchingSomeMasks(normalizedChangedPath);
47
- return unwatchedPathChanged;
49
+ ifPathExists(path, thenCb, elseCb) {
50
+ return _nodeFs.default.existsSync(path) ? thenCb(path) : elseCb(path);
48
51
  }
49
52
  isPathMatchingSomeMasks(path) {
50
53
  return this.fullPathMasks.some(mask => {
@@ -1 +1 @@
1
- {"version":3,"file":"FileSystemEntriesProducer.js","names":["_nodePath","_interopRequireDefault","require","_nodeFs","_chokidar","_lodash","_ChainableValueProducer","FileSystemEntriesProducer","ObservableValueProducerBase","constructor","pathToDir","masks","fullPathMasks","watcher","currDirWatcher","map","mask","Path","join","beginListening","undefined","watch","ignored","changedPath","shouldIgnorePathChanges","ignoreInitial","cwd","ignorePermissionErrors","usePolling","on","initMasksWatcher","normalizedChangedPath","normalize","changedPathStats","fs","statSync","pathPointsToDir","isDirectory","unwatchedPathChanged","isPathMatchingSomeMasks","path","some","pathMatchMask","matchesGlob","_this$watcher","close","handleAnyFsEventDebounced","debounce","handleAnyFsEvent","stopListening","_this$watcher2","getCurrentValue","emitUpdate","exports"],"sources":["../../../../../src/Commons/TasksCore/FileSystemEntriesProducer.ts"],"sourcesContent":["import Path from \"node:path\";\nimport fs from \"node:fs\";\n\nimport { FSWatcher, watch } from \"chokidar\";\nimport { debounce } from \"lodash\";\n\nimport { ObservableValueProducerBase } from \"./ChainableValueProducer\";\n\nexport class FileSystemEntriesProducer extends ObservableValueProducerBase<string> {\n private readonly pathToDir: string;\n private readonly masks: string[];\n private readonly fullPathMasks: string[];\n private watcher?: FSWatcher;\n private currDirWatcher?: FSWatcher;\n\n public constructor(pathToDir: string, masks: string[]) {\n super();\n this.pathToDir = pathToDir;\n this.masks = masks;\n this.fullPathMasks = this.masks.map(mask => Path.join(pathToDir, mask));\n }\n\n protected async beginListening(): Promise<void> {\n if (this.watcher != undefined && this.currDirWatcher != undefined) {\n return;\n }\n\n this.currDirWatcher = watch(\"./\", {\n ignored: changedPath => this.shouldIgnorePathChanges(changedPath),\n ignoreInitial: true,\n cwd: this.pathToDir,\n ignorePermissionErrors: false,\n usePolling: true,\n });\n\n this.currDirWatcher.on(\"add\", async () => this.initMasksWatcher());\n\n await this.initMasksWatcher();\n }\n\n private shouldIgnorePathChanges(changedPath: string): boolean {\n const normalizedChangedPath = Path.normalize(changedPath);\n const changedPathStats = fs.statSync(normalizedChangedPath);\n const pathPointsToDir = changedPathStats.isDirectory();\n\n if (pathPointsToDir) {\n return false;\n }\n\n const unwatchedPathChanged = !this.isPathMatchingSomeMasks(normalizedChangedPath);\n\n return unwatchedPathChanged;\n }\n\n private isPathMatchingSomeMasks(path: string): boolean {\n return this.fullPathMasks.some(mask => {\n const pathMatchMask = Path.matchesGlob(path, mask);\n\n return pathMatchMask;\n });\n }\n\n private async initMasksWatcher() {\n await this.watcher?.close();\n\n this.watcher = watch(this.masks, {\n ignoreInitial: false,\n cwd: this.pathToDir,\n ignorePermissionErrors: false,\n usePolling: true,\n });\n\n const handleAnyFsEventDebounced = debounce(() => this.handleAnyFsEvent(), 500);\n\n this.watcher.on(\"all\", handleAnyFsEventDebounced);\n this.watcher.on(\"error\", handleAnyFsEventDebounced);\n }\n\n protected async stopListening(): Promise<void> {\n await this.watcher?.close();\n }\n\n protected async getCurrentValue(): Promise<string> {\n return this.pathToDir;\n }\n\n private async handleAnyFsEvent(): Promise<void> {\n await this.emitUpdate(this.pathToDir);\n }\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAEA,IAAAI,uBAAA,GAAAJ,OAAA;AAEO,MAAMK,yBAAyB,SAASC,mDAA2B,CAAS;EAOxEC,WAAWA,CAACC,SAAiB,EAAEC,KAAe,EAAE;IACnD,KAAK,CAAC,CAAC;IAAC,KAPKD,SAAS;IAAA,KACTC,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A","ignoreList":[]}
1
+ {"version":3,"file":"FileSystemEntriesProducer.js","names":["_nodePath","_interopRequireDefault","require","_nodeFs","_chokidar","_lodash","_ChainableValueProducer","FileSystemEntriesProducer","ObservableValueProducerBase","constructor","pathToDir","masks","fullPathMasks","watcher","currDirWatcher","shouldIgnorePathChanges","changedPath","normalizedChangedPath","Path","normalize","changedPathStats","fs","statSync","pathPointsToDir","isDirectory","unwatchedPathChanged","isPathMatchingSomeMasks","map","mask","join","beginListening","undefined","watch","ignored","ifPathExists","ignoreInitial","cwd","ignorePermissionErrors","usePolling","on","initMasksWatcher","path","thenCb","elseCb","existsSync","some","pathMatchMask","matchesGlob","_this$watcher","close","handleAnyFsEventDebounced","debounce","handleAnyFsEvent","stopListening","_this$watcher2","getCurrentValue","emitUpdate","exports"],"sources":["../../../../../src/Commons/TasksCore/FileSystemEntriesProducer.ts"],"sourcesContent":["import Path from \"node:path\";\nimport fs from \"node:fs\";\n\nimport { FSWatcher, watch } from \"chokidar\";\nimport { debounce } from \"lodash\";\n\nimport { ObservableValueProducerBase } from \"./ChainableValueProducer\";\n\nexport class FileSystemEntriesProducer extends ObservableValueProducerBase<string> {\n private readonly pathToDir: string;\n private readonly masks: string[];\n private readonly fullPathMasks: string[];\n private watcher?: FSWatcher;\n private currDirWatcher?: FSWatcher;\n\n public constructor(pathToDir: string, masks: string[]) {\n super();\n this.pathToDir = pathToDir;\n this.masks = masks;\n this.fullPathMasks = this.masks.map(mask => Path.join(pathToDir, mask));\n }\n\n protected async beginListening(): Promise<void> {\n if (this.watcher != undefined && this.currDirWatcher != undefined) {\n return;\n }\n\n this.currDirWatcher = watch(\"./\", {\n ignored: changedPath => this.ifPathExists(changedPath, this.shouldIgnorePathChanges, () => true),\n ignoreInitial: true,\n cwd: this.pathToDir,\n ignorePermissionErrors: false,\n usePolling: true,\n });\n\n this.currDirWatcher.on(\"add\", async () => this.initMasksWatcher());\n\n await this.initMasksWatcher();\n }\n\n private ifPathExists<Return>(\n path: string,\n thenCb: (path: string) => Return,\n elseCb: (path: string) => Return\n ): Return {\n return fs.existsSync(path) ? thenCb(path) : elseCb(path);\n }\n\n private readonly shouldIgnorePathChanges = (changedPath: string): boolean => {\n const normalizedChangedPath = Path.normalize(changedPath);\n const changedPathStats = fs.statSync(normalizedChangedPath);\n const pathPointsToDir = changedPathStats.isDirectory();\n if (pathPointsToDir) {\n return false;\n }\n const unwatchedPathChanged = !this.isPathMatchingSomeMasks(normalizedChangedPath);\n return unwatchedPathChanged;\n };\n\n private isPathMatchingSomeMasks(path: string): boolean {\n return this.fullPathMasks.some(mask => {\n const pathMatchMask = Path.matchesGlob(path, mask);\n\n return pathMatchMask;\n });\n }\n\n private async initMasksWatcher() {\n await this.watcher?.close();\n\n this.watcher = watch(this.masks, {\n ignoreInitial: false,\n cwd: this.pathToDir,\n ignorePermissionErrors: false,\n usePolling: true,\n });\n\n const handleAnyFsEventDebounced = debounce(() => this.handleAnyFsEvent(), 500);\n\n this.watcher.on(\"all\", handleAnyFsEventDebounced);\n this.watcher.on(\"error\", handleAnyFsEventDebounced);\n }\n\n protected async stopListening(): Promise<void> {\n await this.watcher?.close();\n }\n\n protected async getCurrentValue(): Promise<string> {\n return this.pathToDir;\n }\n\n private async handleAnyFsEvent(): Promise<void> {\n await this.emitUpdate(this.pathToDir);\n }\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAEA,IAAAI,uBAAA,GAAAJ,OAAA;AAEO,MAAMK,yBAAyB,SAASC,mDAA2B,CAAS;EAOxEC,WAAWA,CAACC,SAAiB,EAAEC,KAAe,EAAE;IACnD,KAAK,CAAC,CAAC;IAAC,KAPKD,SAAS;IAAA,KACTC,KAAK;IAAA,KACLC,aAAa;IAAA,KACtBC,OAAO;IAAA,KACPC,cAAc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C,OAAO,IAAI,CAAC7C,SAAS;EACzB;EAEA,MAAc0C,gBAAgBA,CAAA,EAAkB;IAC5C,MAAM,IAAI,CAACI,UAAU,CAAC,IAAI,CAAC9C,SAAS,CAAC;EACzC;AACJ;AAAC+C,OAAA,CAAAlD,yBAAA,GAAAA,yBAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/tools",
3
- "version": "2.243.0",
3
+ "version": "2.244.0",
4
4
  "description": "",
5
5
  "files": [
6
6
  "candy.js",