Skip to content

Commit e97541c

Browse files
author
ADMSK\AVROGAL1
committed
docs: updates on workflows
Added information on documentation
1 parent 7731c1e commit e97541c

36 files changed

Lines changed: 477 additions & 140 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
*.rar
1818
**/.DS_Store
1919

20+
# License files
21+
licenses.json
22+
2023
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2124
hs_err_pid*
2225

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/utils/files.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { MakeDirectoryOptions } from 'fs';
2-
import { ConfigOptions } from '../../typings/types';
2+
import { ConfigOptions } from '../../typings/domain-types';
33
export declare const ensureDirExists: (dir: string, options?: MakeDirectoryOptions) => void;
44
export declare const getDataAsJson: (fileName: string) => ConfigOptions[];
55
export declare const storeDataAsJson: (filePath: string, fileName: string, data: any) => Promise<boolean>;

dist/src/utils/files.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,29 @@ import { JsonMode } from './enum-types';
44
* @desc Type representing configuration options
55
*/
66
export declare type ConfigOptions = {
7+
/**
8+
* Source file to process
9+
*/
710
readonly sourceFile?: string;
11+
/**
12+
* Target path to store processed files
13+
*/
814
readonly targetPath?: string;
15+
/**
16+
* Target file name
17+
*/
918
readonly targetFile?: string;
19+
/**
20+
* Supported json mode (unique/duplicate)
21+
*/
1022
readonly jsonMode?: JsonMode;
23+
/**
24+
* Json path to fetch data from
25+
*/
1126
readonly jsonPath?: string;
27+
/**
28+
* Array of json fields to process
29+
*/
1230
readonly jsonFields?: string[];
1331
};
14-
//# sourceMappingURL=types.d.ts.map
32+
//# sourceMappingURL=domain-types.d.ts.map

dist/typings/domain-types.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/typings/enum-types.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
/**
2-
* JSON mode type
2+
* JsonMode
3+
* @desc Type representing json operation modes
34
*/
45
export declare enum JsonMode {
6+
/**
7+
* Only unique strings processed
8+
*/
59
unique = "unique",
10+
/**
11+
* Only duplicate strings processed
12+
*/
613
duplicate = "duplicate"
714
}
815
//# sourceMappingURL=enum-types.d.ts.map

dist/typings/enum-types.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/typings/standard-types.d.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@ export declare type Optional<T> = T | null | undefined;
1111
*/
1212
export declare type BiPredicate<T> = (a: T, b: T) => boolean;
1313
/**
14-
* Comparator types
14+
* Comparator
15+
* @desc Type representing comparator function
1516
*/
1617
export declare type Comparator<T> = (a: T, b: T) => number;
18+
/**
19+
* PropertyComparator
20+
* @desc Type representing property comparator function
21+
*/
1722
export declare type PropertyComparator<T> = (a: T, b: T, value: string) => number;
1823
/**
19-
* Comparator modes
24+
* ComparatorMode
25+
* @desc Type representing supported comparator modes
2026
*/
2127
export declare type ComparatorMode = 'asc' | 'desc';
2228
//# sourceMappingURL=standard-types.d.ts.map

dist/typings/standard-types.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)