tnp-helpers 19.0.24 → 19.0.26

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 (139) hide show
  1. package/browser/fesm2022/tnp-helpers.mjs +178 -5
  2. package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
  3. package/browser/lib/base/classes/base-git.d.ts +56 -43
  4. package/browser/lib/base/classes/base-project.d.ts +3 -1
  5. package/browser/lib/build-info._auto-generated_.d.ts +1 -1
  6. package/browser/lib/helpers/for-backend/helpers-file-folders.d.ts +3 -1
  7. package/browser/lib/old/helpers.d.ts +1 -1
  8. package/browser/lib/utils.d.ts +10 -0
  9. package/browser/package.json +1 -1
  10. package/client/package.json +1 -1
  11. package/lib/base/classes/base-command-line-feature.backend.js +1 -1
  12. package/lib/base/classes/base-command-line-feature.backend.js.map +1 -1
  13. package/lib/base/classes/base-git.d.ts +6 -0
  14. package/lib/base/classes/base-git.js +9 -3
  15. package/lib/base/classes/base-git.js.map +1 -1
  16. package/lib/base/classes/base-project.d.ts +3 -1
  17. package/lib/base/classes/base-project.js +5 -1
  18. package/lib/base/classes/base-project.js.map +1 -1
  19. package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
  20. package/lib/build-info._auto-generated_.d.ts +1 -1
  21. package/lib/build-info._auto-generated_.js +1 -1
  22. package/lib/env/env.angular-node-app.d.ts +4 -0
  23. package/lib/env/env.angular-node-app.js +10 -0
  24. package/lib/env/env.angular-node-app.js.map +1 -0
  25. package/lib/env/env.docs-webapp.d.ts +4 -0
  26. package/lib/env/env.docs-webapp.js +10 -0
  27. package/lib/env/env.docs-webapp.js.map +1 -0
  28. package/lib/env/env.electron-app.d.ts +4 -0
  29. package/lib/env/env.electron-app.js +10 -0
  30. package/lib/env/env.electron-app.js.map +1 -0
  31. package/lib/env/env.mobile-app.d.ts +4 -0
  32. package/lib/env/env.mobile-app.js +10 -0
  33. package/lib/env/env.mobile-app.js.map +1 -0
  34. package/lib/env/env.npm-lib-and-cli-tool.d.ts +4 -0
  35. package/lib/env/env.npm-lib-and-cli-tool.js +10 -0
  36. package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -0
  37. package/lib/env/env.vscode-plugin.d.ts +4 -0
  38. package/lib/env/env.vscode-plugin.js +10 -0
  39. package/lib/env/env.vscode-plugin.js.map +1 -0
  40. package/lib/env/index.d.ts +6 -0
  41. package/lib/env/index.js +23 -0
  42. package/lib/env/index.js.map +1 -0
  43. package/lib/helpers/for-backend/helpers-file-folders.d.ts +3 -1
  44. package/lib/helpers/for-backend/helpers-file-folders.js +8 -7
  45. package/lib/helpers/for-backend/helpers-file-folders.js.map +1 -1
  46. package/lib/helpers/for-backend/helpers-git.backend.d.ts +4 -4
  47. package/lib/helpers/for-backend/helpers-git.backend.js +18 -23
  48. package/lib/helpers/for-backend/helpers-git.backend.js.map +1 -1
  49. package/lib/helpers/for-browser/angular.helper.js +2 -2
  50. package/lib/helpers/helpers.js +38 -24
  51. package/lib/helpers/helpers.js.map +1 -1
  52. package/lib/old/base-component.js +2 -2
  53. package/lib/old/base-formly-component.js +2 -2
  54. package/lib/old/dual-component-ctrl.js +2 -2
  55. package/lib/old/helpers.d.ts +2 -3
  56. package/lib/old/helpers.js +3 -9
  57. package/lib/old/helpers.js.map +1 -1
  58. package/lib/utils.d.ts +11 -0
  59. package/lib/utils.js +138 -1
  60. package/lib/utils.js.map +1 -1
  61. package/package.json +1 -1
  62. package/scss/vars.scss +7 -0
  63. package/tmp-environment.json +4 -10
  64. package/websql/fesm2022/tnp-helpers.mjs +178 -5
  65. package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
  66. package/websql/lib/base/classes/base-git.d.ts +56 -43
  67. package/websql/lib/base/classes/base-project.d.ts +3 -1
  68. package/websql/lib/build-info._auto-generated_.d.ts +1 -1
  69. package/websql/lib/helpers/for-backend/helpers-file-folders.d.ts +3 -1
  70. package/websql/lib/old/helpers.d.ts +1 -1
  71. package/websql/lib/utils.d.ts +10 -0
  72. package/websql/package.json +1 -1
  73. package/client/README.md +0 -24
  74. package/client/fesm2022/tnp-helpers.mjs +0 -14647
  75. package/client/fesm2022/tnp-helpers.mjs.map +0 -1
  76. package/client/index.d.ts +0 -6
  77. package/client/lib/base/classes/base-bower-json.d.ts +0 -35
  78. package/client/lib/base/classes/base-cli-worker/base-cli-worker-config.d.ts +0 -28
  79. package/client/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +0 -16
  80. package/client/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +0 -40
  81. package/client/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +0 -90
  82. package/client/lib/base/classes/base-cli-worker/index.d.ts +0 -5
  83. package/client/lib/base/classes/base-compiler-for-project.d.ts +0 -8
  84. package/client/lib/base/classes/base-db.d.ts +0 -10
  85. package/client/lib/base/classes/base-debounce-compiler-for-project.d.ts +0 -29
  86. package/client/lib/base/classes/base-feature-for-project.d.ts +0 -7
  87. package/client/lib/base/classes/base-git.d.ts +0 -193
  88. package/client/lib/base/classes/base-json-file-reader.d.ts +0 -72
  89. package/client/lib/base/classes/base-library-build.d.ts +0 -62
  90. package/client/lib/base/classes/base-linked-projects.d.ts +0 -23
  91. package/client/lib/base/classes/base-node-modules.d.ts +0 -62
  92. package/client/lib/base/classes/base-npm-helpers.d.ts +0 -52
  93. package/client/lib/base/classes/base-package-json.d.ts +0 -108
  94. package/client/lib/base/classes/base-process-manager.d.ts +0 -31
  95. package/client/lib/base/classes/base-project-resolver.d.ts +0 -41
  96. package/client/lib/base/classes/base-project.d.ts +0 -245
  97. package/client/lib/base/classes/base-quick-fixes.d.ts +0 -16
  98. package/client/lib/base/classes/base-release-process.d.ts +0 -73
  99. package/client/lib/base/classes/base-static-pages.d.ts +0 -15
  100. package/client/lib/base/classes/base-vscode.d.ts +0 -37
  101. package/client/lib/base/classes/index.d.ts +0 -18
  102. package/client/lib/base/commit-data.d.ts +0 -94
  103. package/client/lib/base/config-database.d.ts +0 -15
  104. package/client/lib/base/core-project.d.ts +0 -100
  105. package/client/lib/base/index.d.ts +0 -6
  106. package/client/lib/base/linked-project.d.ts +0 -41
  107. package/client/lib/base/project-database.d.ts +0 -13
  108. package/client/lib/base/tcp-udp-ports/index.d.ts +0 -4
  109. package/client/lib/base/tcp-udp-ports/ports.controller.d.ts +0 -29
  110. package/client/lib/base/tcp-udp-ports/ports.entity.d.ts +0 -19
  111. package/client/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +0 -26
  112. package/client/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.d.ts +0 -20
  113. package/client/lib/base/tcp-udp-ports/tcp-upd-ports.worker.d.ts +0 -9
  114. package/client/lib/base/translate.d.ts +0 -228
  115. package/client/lib/build-info._auto-generated_.d.ts +0 -4
  116. package/client/lib/helpers/for-backend/helpers-file-folders.d.ts +0 -112
  117. package/client/lib/helpers/for-backend/helpers-process.d.ts +0 -88
  118. package/client/lib/helpers/for-browser/angular.helper.d.ts +0 -37
  119. package/client/lib/helpers/for-browser/helpers-browser.d.ts +0 -12
  120. package/client/lib/helpers/helpers-array-obj.d.ts +0 -32
  121. package/client/lib/helpers/helpers-numbers.d.ts +0 -8
  122. package/client/lib/helpers/helpers-strings-regexes.d.ts +0 -29
  123. package/client/lib/helpers/helpers-strings.d.ts +0 -56
  124. package/client/lib/helpers/helpers.d.ts +0 -93
  125. package/client/lib/index.d.ts +0 -10
  126. package/client/lib/models.d.ts +0 -141
  127. package/client/lib/old/execute-command.d.ts +0 -12
  128. package/client/lib/old/helpers.d.ts +0 -62
  129. package/client/lib/old/models.d.ts +0 -81
  130. package/client/lib/utils.d.ts +0 -153
  131. package/client/lib/validators/validators-git.d.ts +0 -4
  132. package/client/lib/validators/validators-network.d.ts +0 -4
  133. package/client/lib/validators/validators.d.ts +0 -7
  134. package/client/migrations/1736198527297_init.d.ts +0 -19
  135. package/client/migrations/1736199486472_addingNotAssignablePorts.d.ts +0 -11
  136. package/client/migrations/1736454437350_addFreePorts.d.ts +0 -10
  137. package/client/migrations/index.d.ts +0 -2
  138. package/client/migrations/migrations_index._auto-generated_.d.ts +0 -12
  139. package/client/public-api.d.ts +0 -2
@@ -1,18 +0,0 @@
1
- // @ts-nocheck
2
- export * from './base-project';
3
- export * from './base-project-resolver';
4
- export * from './base-feature-for-project';
5
- export * from './base-library-build';
6
- export * from './base-json-file-reader';
7
- export * from './base-package-json';
8
- export * from './base-node-modules';
9
- export * from './base-npm-helpers';
10
- export * from './base-linked-projects';
11
- export * from './base-git';
12
- export * from './base-vscode';
13
- export * from './base-release-process';
14
- export * from './base-compiler-for-project';
15
- export * from './base-debounce-compiler-for-project';
16
- export * from './base-quick-fixes';
17
- export * from './base-cli-worker';
18
- export * from './base-process-manager';
@@ -1,94 +0,0 @@
1
- // @ts-nocheck
2
- export type CommonCommitMsgBranch = 'refactor' | 'chore' | 'style' | 'docs' | 'test' | 'ci' | 'build' | 'release';
3
- export type TypeOfCommit = 'feature' | 'bugfix' | 'performance' | CommonCommitMsgBranch;
4
- export type TypeOfMsgPrefix = 'feat' | 'fix' | 'perf' | CommonCommitMsgBranch;
5
- export declare class CommitData {
6
- private static cleanHttpFromCommitMessage;
7
- private static getTeamsIdFrom;
8
- private static getModuleNameFrom;
9
- /**
10
- *
11
- * @returns jiras (from oldest to newset)
12
- */
13
- static extractAndOrderJiraNumbers(commitOrBranchName: string): string[];
14
- /**
15
- *
16
- * @returns jiras (from oldest to newset)
17
- */
18
- static extractAndOrderIssuesFromOtherProjects(
19
- /**
20
- * example:
21
- * commit: proper git commands tnp/GH-9 darekf77/tnp-helpers/GH-10
22
- * feature/__tnp-GH-9____darekf77_tnp-helpers-GH10__-proper-git-commands
23
- */
24
- commitOrBranchName: string, currentOrigin?: string): string[];
25
- static cleanMessageFromJiraNumTeamIdEtc(message: string, optinos?: {
26
- teamID: string;
27
- commitModuleName: string;
28
- jiraNumbers: string[];
29
- issuesFromOtherProjects: string[];
30
- }): string;
31
- private static getModuleNameFromBranch;
32
- static getFromArgs(args: string[], options: {
33
- typeOfCommit: TypeOfCommit;
34
- /**
35
- * only needed when push github
36
- * and I forgot to add my username before issue
37
- * taon pfix proper input my-repo#344
38
- * that should be
39
- * taon pfix proper input my-username/my-repo#344
40
- */
41
- currentOrigin?: string;
42
- jiraIssuesAreOutsideBrackets?: boolean;
43
- }): Promise<CommitData>;
44
- static getFromBranch(currentBranchName: string, options?: {
45
- releaseWords?: string[];
46
- /**
47
- * only needed when push github
48
- * and I forgot to add my username before issue
49
- * taon pfix proper input my-repo#344
50
- * that should be
51
- * taon pfix proper input my-username/my-repo#344
52
- */
53
- currentOrigin?: string;
54
- jiraIssuesAreOutsideBrackets?: boolean;
55
- }): Promise<CommitData>;
56
- static from(options: Pick<CommitData, 'message' | 'jiraNumbers' | 'typeOfCommit' | 'commitModuleName' | 'teamID' | 'issuesFromOtherProjects' | 'jiraIssuesAreOutsideBrackets'>): CommitData;
57
- private _message;
58
- typeOfCommit: TypeOfCommit;
59
- /**
60
- * ex. JIRA-2132 or MYJIRAREFIX-234234
61
- */
62
- jiraNumbers: string[];
63
- /**
64
- * if true then jira issues are outside brackets
65
- * feat: proper git commands JIRA-1234
66
- *
67
- * by default is false
68
- * feat(JIRA-1234): proper git commands
69
- */
70
- jiraIssuesAreOutsideBrackets: boolean;
71
- /**
72
- * when set -> jiraIssuesAreOutsideBrackets is true
73
- */
74
- readonly commitModuleName: string;
75
- readonly teamID: string;
76
- private clearMessage;
77
- /**
78
- * pure message what was done (without jira or prefixes)
79
- * => is included in this.commitMessage
80
- */
81
- get message(): string;
82
- set message(message: string);
83
- useFeatureBranchForTestBranch: boolean;
84
- get branchPrefix(): TypeOfMsgPrefix;
85
- /**
86
- * ex. taon/GH-12 darekf77/tnp-helpers/GH-4
87
- */
88
- get issuesFromOtherProjects(): string[];
89
- set issuesFromOtherProjects(value: string[]);
90
- private __issuesFromOtherProjects;
91
- get commitMessage(): string;
92
- get branchName(): string;
93
- get isActionCommit(): any;
94
- }
@@ -1,15 +0,0 @@
1
- // @ts-nocheck
2
- import type { BaseProjectResolver } from './classes/base-project-resolver';
3
- import { BaseDb } from './classes/base-db';
4
- declare const defaultDb: {
5
- config: {
6
- [key: string]: string | number | boolean | null;
7
- };
8
- };
9
- export declare class ConfigDatabase extends BaseDb<typeof defaultDb> {
10
- constructor(ins: BaseProjectResolver);
11
- private get selectedCodeEditorKey();
12
- selectCodeEditor(): Promise<'code' | 'idea' | 'idea64' | string>;
13
- getCodeEditor(): Promise<'code' | 'idea' | 'idea64' | string>;
14
- }
15
- export {};
@@ -1,100 +0,0 @@
1
- // @ts-nocheck
2
- import type { BaseProject } from './classes/base-project';
3
- import { LibrariesBuildOptions, TestBuildOptions } from '../index';
4
- export type CoreProjectEnvironment = {
5
- shortName?: string;
6
- name?: string;
7
- description?: string;
8
- onlineLink?: string;
9
- };
10
- export type CoreCommandArgOptions<PROJECT extends BaseProject<any, any>> = {
11
- project?: PROJECT;
12
- /**
13
- * watch mode
14
- */
15
- watch?: boolean;
16
- prod?: boolean;
17
- debug?: boolean;
18
- isInReleaseProcess?: boolean;
19
- libraryBuildOptions?: LibrariesBuildOptions;
20
- testBuildOptions?: TestBuildOptions;
21
- /**
22
- * first arg from command line
23
- */
24
- firstArg: string;
25
- /**
26
- * Not question for user ex.
27
- * - automatic process of patch release
28
- * - automatic deployment for default server
29
- */
30
- automaticProcess?: boolean;
31
- /**
32
- * orignal args with params
33
- */
34
- argsWithParams: string;
35
- copyto?: string[];
36
- copytoall?: boolean;
37
- /**
38
- * args from command line (clearn from params)
39
- */
40
- args: string[];
41
- exitCallback: () => void;
42
- };
43
- export declare class CoreProject<PROJECT extends BaseProject = BaseProject> {
44
- static coreProjects: CoreProject<any>[];
45
- static from<Proj extends BaseProject = BaseProject<any, any>>(options: Omit<CoreProject<Proj>, 'name' | 'url' | 'branch'>): CoreProject<Proj>;
46
- private constructor();
47
- extends?: CoreProject<any>;
48
- color?: string;
49
- /**
50
- * second color for project (optional)
51
- */
52
- secondColor?: string;
53
- /**
54
- * second color for project (optional)
55
- */
56
- thirdColor?: string;
57
- npmRegistry?: string;
58
- description?: string;
59
- /**
60
- * ssh url for git repo
61
- */
62
- urlSSH?: string;
63
- /**
64
- * https url for git repo
65
- */
66
- urlHttp?: string;
67
- /**
68
- * main branches - first is default
69
- */
70
- branches: string[];
71
- /**
72
- * project environments
73
- */
74
- environments?: CoreProjectEnvironment[];
75
- startCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
76
- releaseCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
77
- publishCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
78
- deployCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
79
- testCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
80
- buildCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
81
- docsCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
82
- /**
83
- * function to recognize project
84
- */
85
- recognizedFn: (project: PROJECT) => boolean;
86
- /**
87
- * core porject name from repo basename
88
- */
89
- get name(): string;
90
- /**
91
- * main (default for reset) branch
92
- */
93
- get branch(): string;
94
- /**
95
- * url for git repo
96
- */
97
- get url(): string;
98
- }
99
- export declare const CoreTypescriptProject: CoreProject<BaseProject<BaseProject<any, any>, import("tnp-core/browser").CoreModels.BaseProjectType>>;
100
- export declare const CoreAngularProject: CoreProject<BaseProject<BaseProject<any, any>, import("tnp-core/browser").CoreModels.BaseProjectType>>;
@@ -1,6 +0,0 @@
1
- // @ts-nocheck
2
- export * from './classes';
3
- export * from './commit-data';
4
- export * from './core-project';
5
- export * from './linked-project';
6
- export * from './tcp-udp-ports';
@@ -1,41 +0,0 @@
1
- // @ts-nocheck
2
- export declare class LinkedProject {
3
- static from(options: Partial<LinkedProject>): LinkedProject;
4
- static fromName(projectName: string, currentRemoteUrl?: string, currentBranch?: string): LinkedProject;
5
- static detect(insideLocation: string, options?: {
6
- recursive?: boolean;
7
- checkAlsoNonRepos?: boolean;
8
- }): LinkedProject[];
9
- /**
10
- * sometime there is project that has one project
11
- * embede inside another project
12
- */
13
- internalRealtiveProjectPath?: string;
14
- /**
15
- * don't access directly, use remoteUrl() instead
16
- */
17
- repoUrlSsh?: string;
18
- /**
19
- * don't access directly, use remoteUrl() instead
20
- */
21
- repoUrlHttp?: string;
22
- /**
23
- * don't access directly, use remoteUrl() instead
24
- */
25
- repoUrl?: string;
26
- /**
27
- * url for git repo
28
- */
29
- remoteUrl(): string;
30
- remoteUrlTransformed(setOrigin: 'ssh' | 'http'): string;
31
- defaultBranch?: string;
32
- purpose?: string;
33
- relativeClonePath?: string;
34
- }
35
- export declare class LinkedPorjectsConfig {
36
- static from(options: Partial<LinkedPorjectsConfig>): any;
37
- prefix?: string;
38
- skipRecrusivePush?: boolean;
39
- resetOnlyChildren?: boolean;
40
- projects: LinkedProject[];
41
- }
@@ -1,13 +0,0 @@
1
- // @ts-nocheck
2
- import type { BaseProjectResolver } from "./classes/base-project-resolver";
3
- import { BaseDb } from "./classes/base-db";
4
- declare const defaultDb: {
5
- projects: {
6
- location: string;
7
- }[];
8
- };
9
- export declare class ProjectDatabase extends BaseDb<typeof defaultDb> {
10
- constructor(ins: BaseProjectResolver);
11
- getAllProjectsFromDB(): Promise<any>;
12
- }
13
- export {};
@@ -1,4 +0,0 @@
1
- // @ts-nocheck
2
- export * from './ports.entity';
3
- export * from './ports.controller';
4
- export * from './tcp-upd-ports.worker';
@@ -1,29 +0,0 @@
1
- // @ts-nocheck
2
- import { Taon } from 'taon/browser';
3
- import { BaseCliWorkerController } from '../classes/base-cli-worker';
4
- import { Port, PortStatus } from './ports.entity';
5
- export declare class PortsController extends BaseCliWorkerController {
6
- START_PORT: number;
7
- END_PORT: number;
8
- readonly portsCache: Map<string, Port>;
9
- protected get firstFreePort(): Port | null | undefined;
10
- protected firstUnassignedPortMoreThan(port: number): any;
11
- getFirstFreePort(): Taon.Response<Port>;
12
- getPortByNumber(portNumber: number): Taon.Response<Port>;
13
- getPortsByStatus(status: PortStatus): Taon.Response<Port[]>;
14
- /**
15
- * make it unassigned
16
- */
17
- deletePort(portNumber: number): Taon.Response<Port>;
18
- /**
19
- * make it unassigned
20
- */
21
- updatePortUniqueId(portNumber: number, serviceId: string): Taon.Response<Port>;
22
- addTakeByOsPort(portNumber: number, uniqueId: string): Taon.Response<Port>;
23
- /**
24
- * @param uniqueServiceName unique service name
25
- * @param startFrom start searching for free port from this number
26
- * @returns
27
- */
28
- registerAndAssignPort(uniqueServiceName: string, startFrom?: number): Taon.Response<Port>;
29
- }
@@ -1,19 +0,0 @@
1
- // @ts-nocheck
2
- import { Taon } from 'taon/browser';
3
- export type PortStatus = 'unassigned' | 'assigned' | 'assigned-not-registered' | 'assigned-taken-by-os';
4
- export declare const PortStatusArr: PortStatus[];
5
- export declare class Port extends Taon.Base.Entity {
6
- static from(opt: Omit<Port, 'version' | '_' | 'clone' | 'titleOnList' | 'relation' | 'relations'>): Port & Omit<Port, "_" | "version" | "clone" | "titleOnList" | "relation" | "relations">;
7
- static getTitleForFreePort(port: Number): string;
8
- get titleOnList(): string;
9
- port: number;
10
- serviceId: string;
11
- /**
12
- * Port status
13
- */
14
- status: PortStatus;
15
- /**
16
- * When port was assigned as registered service
17
- */
18
- whenAssignedTimestamp?: Number;
19
- }
@@ -1,26 +0,0 @@
1
- // @ts-nocheck
2
- export declare const PortsContextTemplate: () => {
3
- types: {
4
- readonly controllers: any;
5
- readonly repositories: any;
6
- readonly providers: any;
7
- readonly subscribers: any;
8
- readonly migrations: any;
9
- };
10
- readonly contexts: any;
11
- readonly contextName: string;
12
- __ref(): Promise<import("taon/browser").EndpointContext>;
13
- readonly __refSync: import("taon/browser").EndpointContext;
14
- getClassInstance<T>(ctor: new (...args: any[]) => T): T;
15
- getClass<T>(ctor: new (...args: any[]) => T): new (...args: any[]) => T;
16
- initialize: (overrideOptions?: {
17
- overrideHost?: string;
18
- overrideRemoteHost?: string;
19
- onlyMigrationRun?: boolean;
20
- onlyMigrationRevertToTimestamp?: number;
21
- }) => Promise<import("taon/browser").EndpointContext>;
22
- readonly realtime: {
23
- readonly client: import("taon/browser/lib/realtime/realtime-client").RealtimeClient;
24
- readonly server: import("taon/browser/lib/realtime/realtime-server").RealtimeServer;
25
- };
26
- };
@@ -1,20 +0,0 @@
1
- // @ts-nocheck
2
- import { Port } from '../../index';
3
- import { CfontStyle } from '../../models';
4
- import { BaseCliWorkerTerminalUI } from '../classes/base-cli-worker/base-cli-worker-terminal-ui';
5
- import { PortStatus } from './ports.entity';
6
- import type { PortsWorker } from './tcp-upd-ports.worker';
7
- export declare class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI<PortsWorker> {
8
- protected headerText(): Promise<string>;
9
- protected textHeaderStyle(): CfontStyle;
10
- protected crudMenuForTakeByOsPorts(): Promise<void>;
11
- protected addPortTerminalUiProcess(): Promise<void>;
12
- protected selectPortProcess(ports: Port[], title: string): Promise<Port>;
13
- protected deletePortTerminalUiProcess(): Promise<void>;
14
- protected editPortTerminalUiProcess(): Promise<void>;
15
- getWorkerTerminalActions(options?: {
16
- exitIsOnlyReturn?: boolean;
17
- }): any;
18
- protected displayItemsForPortsStatus(status: PortStatus): Promise<any>;
19
- private getNewPortToAdd;
20
- }
@@ -1,9 +0,0 @@
1
- // @ts-nocheck
2
- import { BaseCliWorker } from '../classes/base-cli-worker';
3
- import { PortsController } from '../tcp-udp-ports/ports.controller';
4
- import { TcpUdpPortsTerminalUI } from './tcp-upd-ports-terminal-ui';
5
- export declare class PortsWorker extends BaseCliWorker<PortsController, TcpUdpPortsTerminalUI> {
6
- terminalUI: TcpUdpPortsTerminalUI;
7
- workerContextTemplate: any;
8
- controllerClass: typeof PortsController;
9
- }
@@ -1,228 +0,0 @@
1
- // @ts-nocheck
2
- declare const names: {
3
- readonly afar: "aa";
4
- readonly abkhazian: "ab";
5
- readonly afrikaans: "af";
6
- readonly akan: "ak";
7
- readonly albanian: "sq";
8
- readonly amharic: "am";
9
- readonly arabic: "ar";
10
- readonly aragonese: "an";
11
- readonly armenian: "hy";
12
- readonly assamese: "as";
13
- readonly avaric: "av";
14
- readonly avestan: "ae";
15
- readonly aymara: "ay";
16
- readonly azerbaijani: "az";
17
- readonly bashkir: "ba";
18
- readonly bambara: "bm";
19
- readonly basque: "eu";
20
- readonly belarusian: "be";
21
- readonly bengali: "bn";
22
- readonly 'bihari languages': "bh";
23
- readonly bislama: "bi";
24
- readonly tibetan: "bo";
25
- readonly bosnian: "bs";
26
- readonly breton: "br";
27
- readonly bulgarian: "bg";
28
- readonly burmese: "my";
29
- readonly catalan: "ca";
30
- readonly valencian: "ca";
31
- readonly czech: "cs";
32
- readonly chamorro: "ch";
33
- readonly chechen: "ce";
34
- readonly chinese: "zh";
35
- readonly 'church slavic': "cu";
36
- readonly 'old slavonic': "cu";
37
- readonly 'church slavonic': "cu";
38
- readonly 'old bulgarian': "cu";
39
- readonly 'old church slavonic': "cu";
40
- readonly chuvash: "cv";
41
- readonly cornish: "kw";
42
- readonly corsican: "co";
43
- readonly cree: "cr";
44
- readonly welsh: "cy";
45
- readonly danish: "da";
46
- readonly german: "de";
47
- readonly divehi: "dv";
48
- readonly dhivehi: "dv";
49
- readonly maldivian: "dv";
50
- readonly dutch: "nl";
51
- readonly flemish: "nl";
52
- readonly dzongkha: "dz";
53
- readonly greek: "el";
54
- readonly english: "en";
55
- readonly esperanto: "eo";
56
- readonly estonian: "et";
57
- readonly ewe: "ee";
58
- readonly faroese: "fo";
59
- readonly persian: "fa";
60
- readonly fijian: "fj";
61
- readonly finnish: "fi";
62
- readonly french: "fr";
63
- readonly 'western frisian': "fy";
64
- readonly fulah: "ff";
65
- readonly georgian: "ka";
66
- readonly gaelic: "gd";
67
- readonly 'scottish gaelic': "gd";
68
- readonly irish: "ga";
69
- readonly galician: "gl";
70
- readonly manx: "gv";
71
- readonly guarani: "gn";
72
- readonly gujarati: "gu";
73
- readonly haitian: "ht";
74
- readonly 'haitian creole': "ht";
75
- readonly hausa: "ha";
76
- readonly hebrew: "he";
77
- readonly herero: "hz";
78
- readonly hindi: "hi";
79
- readonly 'hiri motu': "ho";
80
- readonly croatian: "hr";
81
- readonly hungarian: "hu";
82
- readonly igbo: "ig";
83
- readonly icelandic: "is";
84
- readonly ido: "io";
85
- readonly 'sichuan yi': "ii";
86
- readonly nuosu: "ii";
87
- readonly inuktitut: "iu";
88
- readonly interlingue: "ie";
89
- readonly occidental: "ie";
90
- readonly interlingua: "ia";
91
- readonly indonesian: "id";
92
- readonly inupiaq: "ik";
93
- readonly italian: "it";
94
- readonly javanese: "jv";
95
- readonly japanese: "ja";
96
- readonly kalaallisut: "kl";
97
- readonly greenlandic: "kl";
98
- readonly kannada: "kn";
99
- readonly kashmiri: "ks";
100
- readonly kanuri: "kr";
101
- readonly kazakh: "kk";
102
- readonly 'central khmer': "km";
103
- readonly kikuyu: "ki";
104
- readonly gikuyu: "ki";
105
- readonly kinyarwanda: "rw";
106
- readonly kirghiz: "ky";
107
- readonly kyrgyz: "ky";
108
- readonly komi: "kv";
109
- readonly kongo: "kg";
110
- readonly korean: "ko";
111
- readonly kuanyama: "kj";
112
- readonly kwanyama: "kj";
113
- readonly kurdish: "ku";
114
- readonly lao: "lo";
115
- readonly latin: "la";
116
- readonly latvian: "lv";
117
- readonly limburgan: "li";
118
- readonly limburger: "li";
119
- readonly limburgish: "li";
120
- readonly lingala: "ln";
121
- readonly lithuanian: "lt";
122
- readonly luxembourgish: "lb";
123
- readonly letzeburgesch: "lb";
124
- readonly 'luba-katanga': "lu";
125
- readonly ganda: "lg";
126
- readonly macedonian: "mk";
127
- readonly marshallese: "mh";
128
- readonly malayalam: "ml";
129
- readonly maori: "mi";
130
- readonly marathi: "mr";
131
- readonly malay: "ms";
132
- readonly malagasy: "mg";
133
- readonly maltese: "mt";
134
- readonly mongolian: "mn";
135
- readonly nauru: "na";
136
- readonly navajo: "nv";
137
- readonly navaho: "nv";
138
- readonly 'ndebele, south': "nr";
139
- readonly 'south ndebele': "nr";
140
- readonly 'ndebele, north': "nd";
141
- readonly 'north ndebele': "nd";
142
- readonly ndonga: "ng";
143
- readonly nepali: "ne";
144
- readonly 'norwegian nynorsk': "nn";
145
- readonly 'nynorsk, norwegian': "nn";
146
- readonly 'norwegian bokm\u00E5l': "nb";
147
- readonly 'bokm\u00E5l, norwegian': "nb";
148
- readonly norwegian: "no";
149
- readonly chichewa: "ny";
150
- readonly chewa: "ny";
151
- readonly nyanja: "ny";
152
- readonly occitan: "oc";
153
- readonly ojibwa: "oj";
154
- readonly oriya: "or";
155
- readonly oromo: "om";
156
- readonly ossetian: "os";
157
- readonly ossetic: "os";
158
- readonly panjabi: "pa";
159
- readonly punjabi: "pa";
160
- readonly pali: "pi";
161
- readonly polish: "pl";
162
- readonly portuguese: "pt";
163
- readonly pushto: "ps";
164
- readonly pashto: "ps";
165
- readonly quechua: "qu";
166
- readonly romansh: "rm";
167
- readonly romanian: "ro";
168
- readonly moldavian: "ro";
169
- readonly moldovan: "ro";
170
- readonly rundi: "rn";
171
- readonly russian: "ru";
172
- readonly sango: "sg";
173
- readonly sanskrit: "sa";
174
- readonly sinhala: "si";
175
- readonly sinhalese: "si";
176
- readonly slovak: "sk";
177
- readonly slovenian: "sl";
178
- readonly 'northern sami': "se";
179
- readonly samoan: "sm";
180
- readonly shona: "sn";
181
- readonly sindhi: "sd";
182
- readonly somali: "so";
183
- readonly 'sotho, southern': "st";
184
- readonly spanish: "es";
185
- readonly castilian: "es";
186
- readonly sardinian: "sc";
187
- readonly serbian: "sr";
188
- readonly swati: "ss";
189
- readonly sundanese: "su";
190
- readonly swahili: "sw";
191
- readonly swedish: "sv";
192
- readonly tahitian: "ty";
193
- readonly tamil: "ta";
194
- readonly tatar: "tt";
195
- readonly telugu: "te";
196
- readonly tajik: "tg";
197
- readonly tagalog: "tl";
198
- readonly thai: "th";
199
- readonly tigrinya: "ti";
200
- readonly tonga: "to";
201
- readonly tswana: "tn";
202
- readonly tsonga: "ts";
203
- readonly turkmen: "tk";
204
- readonly turkish: "tr";
205
- readonly twi: "tw";
206
- readonly uighur: "ug";
207
- readonly uyghur: "ug";
208
- readonly ukrainian: "uk";
209
- readonly urdu: "ur";
210
- readonly uzbek: "uz";
211
- readonly venda: "ve";
212
- readonly vietnamese: "vi";
213
- readonly volapük: "vo";
214
- readonly walloon: "wa";
215
- readonly wolof: "wo";
216
- readonly xhosa: "xh";
217
- readonly yiddish: "yi";
218
- readonly yoruba: "yo";
219
- readonly zhuang: "za";
220
- readonly chuang: "za";
221
- readonly zulu: "zu";
222
- };
223
- export type LangType = (typeof names)[keyof typeof names];
224
- export declare const translate: (textToTranslate: string, options: {
225
- to: LangType;
226
- from: LangType;
227
- }) => string;
228
- export {};
@@ -1,4 +0,0 @@
1
- // @ts-nocheck
2
- export declare const BUILD_FRAMEWORK_CLI_NAME = "tnp";
3
- export declare const PROJECT_NPM_NAME = "tnp-helpers";
4
- export declare const CURRENT_PACKAGE_VERSION = "19.0.24";