namirasoft-site-map 1.4.31 → 1.4.32

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 (2) hide show
  1. package/package.json +55 -55
  2. package/src/check.ts +22 -22
package/package.json CHANGED
@@ -1,56 +1,56 @@
1
- {
2
- "name": "namirasoft-site-map",
3
- "title": "Namirasoft Site Map NPM Package",
4
- "description": "Namira Software Corporation Site Map NPM Package",
5
- "icon": "logo.png",
6
- "logo": "https://static.namirasoft.com/image/namirasoft/site/logo/base.png",
7
- "language": "ts",
8
- "framework": "npm",
9
- "application": "package",
10
- "private": false,
11
- "version": "1.4.31",
12
- "author": "Amir Abolhasani",
13
- "license": "MIT",
14
- "main": "./dist/index.js",
15
- "types": "./dist/index.d.ts",
16
- "scripts": {
17
- "build": "node ./dist/check.js",
18
- "check": "node ./dist/check.js"
19
- },
20
- "dependencies": {
21
- "@types/node": "^24.1.0",
22
- "namirasoft-access": "^1.4.70",
23
- "namirasoft-account": "^1.4.84",
24
- "namirasoft-alarm": "^1.4.28",
25
- "namirasoft-api-link": "^1.4.20",
26
- "namirasoft-api-news": "^1.4.14",
27
- "namirasoft-api-product": "^1.4.36",
28
- "namirasoft-api-service": "^1.4.12",
29
- "namirasoft-api-work": "^1.4.14",
30
- "namirasoft-balance": "^1.4.24",
31
- "namirasoft-bill-watch": "^1.4.60",
32
- "namirasoft-content-template": "^1.4.28",
33
- "namirasoft-core": "^1.4.78",
34
- "namirasoft-cost": "^1.4.10",
35
- "namirasoft-credential": "^1.4.6",
36
- "namirasoft-data": "^1.4.5",
37
- "namirasoft-email-sender": "^1.4.37",
38
- "namirasoft-field": "^1.4.22",
39
- "namirasoft-history": "^1.4.17",
40
- "namirasoft-job-arranger": "^1.4.55",
41
- "namirasoft-log": "^1.4.30",
42
- "namirasoft-message": "^1.4.20",
43
- "namirasoft-notification-sender": "^1.4.26",
44
- "namirasoft-nws-max-mind": "^1.4.7",
45
- "namirasoft-nws-region": "^1.4.8",
46
- "namirasoft-payment": "^1.4.91",
47
- "namirasoft-secret": "^1.4.32",
48
- "namirasoft-site": "^1.4.39",
49
- "namirasoft-slack-sender": "^1.4.5",
50
- "namirasoft-sms-sender": "^1.4.26",
51
- "namirasoft-support": "^1.4.0",
52
- "namirasoft-teams-sender": "^1.4.12",
53
- "namirasoft-telegram-sender": "^1.4.3",
54
- "namirasoft-workspace": "^1.4.23"
55
- }
1
+ {
2
+ "name": "namirasoft-site-map",
3
+ "title": "Namirasoft Site Map NPM Package",
4
+ "description": "Namira Software Corporation Site Map NPM Package",
5
+ "icon": "logo.png",
6
+ "logo": "https://static.namirasoft.com/image/namirasoft/site/logo/base.png",
7
+ "language": "ts",
8
+ "framework": "npm",
9
+ "application": "package",
10
+ "private": false,
11
+ "version": "1.4.32",
12
+ "author": "Amir Abolhasani",
13
+ "license": "MIT",
14
+ "main": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "scripts": {
17
+ "build": "node ./dist/check.js",
18
+ "check": "node ./dist/check.js"
19
+ },
20
+ "dependencies": {
21
+ "@types/node": "^24.2.1",
22
+ "namirasoft-access": "^1.4.70",
23
+ "namirasoft-account": "^1.4.85",
24
+ "namirasoft-alarm": "^1.4.28",
25
+ "namirasoft-api-link": "^1.4.20",
26
+ "namirasoft-api-news": "^1.4.14",
27
+ "namirasoft-api-product": "^1.4.37",
28
+ "namirasoft-api-service": "^1.4.12",
29
+ "namirasoft-api-work": "^1.4.14",
30
+ "namirasoft-balance": "^1.4.25",
31
+ "namirasoft-bill-watch": "^1.4.60",
32
+ "namirasoft-content-template": "^1.4.29",
33
+ "namirasoft-core": "^1.4.80",
34
+ "namirasoft-cost": "^1.4.51",
35
+ "namirasoft-credential": "^1.4.6",
36
+ "namirasoft-data": "^1.4.5",
37
+ "namirasoft-email-sender": "^1.4.37",
38
+ "namirasoft-field": "^1.4.25",
39
+ "namirasoft-history": "^1.4.17",
40
+ "namirasoft-job-arranger": "^1.4.55",
41
+ "namirasoft-log": "^1.4.33",
42
+ "namirasoft-message": "^1.4.20",
43
+ "namirasoft-notification-sender": "^1.4.26",
44
+ "namirasoft-nws-max-mind": "^1.4.7",
45
+ "namirasoft-nws-region": "^1.4.8",
46
+ "namirasoft-payment": "^1.4.106",
47
+ "namirasoft-secret": "^1.4.38",
48
+ "namirasoft-site": "^1.4.39",
49
+ "namirasoft-slack-sender": "^1.4.5",
50
+ "namirasoft-sms-sender": "^1.4.26",
51
+ "namirasoft-support": "^1.4.1",
52
+ "namirasoft-teams-sender": "^1.4.12",
53
+ "namirasoft-telegram-sender": "^1.4.3",
54
+ "namirasoft-workspace": "^1.4.23"
55
+ }
56
56
  }
package/src/check.ts CHANGED
@@ -1,23 +1,23 @@
1
- import { NSBaseMetaTable, NSBaseServer } from "namirasoft-site";
2
- import { NamirasoftMap } from "./NamirasoftMap";
3
-
4
- let keys: { [short: string]: NSBaseMetaTable<NSBaseServer, any> } = {};
5
-
6
- let namirasoft = new NamirasoftMap();
7
- namirasoft.forEachProduct(product =>
8
- {
9
- for (let key in product.tables)
10
- {
11
- const table = product.tables[key];
12
- if (table.uuid.short)
13
- {
14
- if (keys[table.uuid.short])
15
- {
16
- console.log(`Duplicate short name: ${table.uuid.short}`);
17
- console.log(`\t\t${table.database.product.name} - ${table.text}`);
18
- console.log(`\t\t${keys[table.uuid.short].database.product.name} - ${keys[table.uuid.short].text}`);
19
- }
20
- keys[table.uuid.short] = table;
21
- }
22
- }
1
+ import { NSBaseMetaTable, NSBaseServer } from "namirasoft-site";
2
+ import { NamirasoftMap } from "./NamirasoftMap";
3
+
4
+ let keys: { [short: string]: NSBaseMetaTable<NSBaseServer, any> } = {};
5
+
6
+ let namirasoft = new NamirasoftMap();
7
+ namirasoft.forEachProduct(product =>
8
+ {
9
+ for (let key in product.tables)
10
+ {
11
+ const table = product.tables[key];
12
+ if (table.uuid.short)
13
+ {
14
+ if (keys[table.uuid.short])
15
+ {
16
+ console.log(`Duplicate short name: ${table.uuid.short}`);
17
+ console.log(`\t\t${table.database.product.name} - ${table.text}`);
18
+ console.log(`\t\t${keys[table.uuid.short].database.product.name} - ${keys[table.uuid.short].text}`);
19
+ }
20
+ keys[table.uuid.short] = table;
21
+ }
22
+ }
23
23
  });