@nxtedition/types 23.0.33 → 23.0.35

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.
package/dist/schema.json CHANGED
@@ -861,7 +861,16 @@
861
861
  "ConnectionRecord": {
862
862
  "anyOf": [
863
863
  {
864
- "$ref": "#/definitions/FilePublishConnectionS3Record"
864
+ "$ref": "#/definitions/FileConnectionS3Record"
865
+ },
866
+ {
867
+ "$ref": "#/definitions/FileConnectionFtpRecord"
868
+ },
869
+ {
870
+ "$ref": "#/definitions/FileConnectionSmbRecord"
871
+ },
872
+ {
873
+ "$ref": "#/definitions/FileConnectionSftpRecord"
865
874
  },
866
875
  {
867
876
  "$ref": "#/definitions/ReutersConnectionRecord"
@@ -1331,7 +1340,7 @@
1331
1340
  ":script.children": {
1332
1341
  "$ref": "#/definitions/ScriptChildrenRecord"
1333
1342
  },
1334
- ":search": {
1343
+ ":search?": {
1335
1344
  "$ref": "#/definitions/SearchRecord"
1336
1345
  },
1337
1346
  ":settings": {
@@ -1454,7 +1463,7 @@
1454
1463
  ":revs?",
1455
1464
  ":role.tags",
1456
1465
  ":script.children",
1457
- ":search",
1466
+ ":search?",
1458
1467
  ":settings",
1459
1468
  ":storyboard",
1460
1469
  ":storyboard.pipelines",
@@ -1564,7 +1573,7 @@
1564
1573
  ":revs?",
1565
1574
  ":role.tags",
1566
1575
  ":script.children",
1567
- ":search",
1576
+ ":search?",
1568
1577
  ":settings",
1569
1578
  ":storyboard",
1570
1579
  ":storyboard.pipelines",
@@ -1956,30 +1965,93 @@
1956
1965
  },
1957
1966
  "type": "object"
1958
1967
  },
1959
- "FileDomainRecords": {
1968
+ "FileConnectionFtpRecord": {
1960
1969
  "additionalProperties": false,
1961
1970
  "properties": {
1962
- ":file.replicate": {
1963
- "$ref": "#/definitions/FileReplicateRecord"
1971
+ "concurrency": {
1972
+ "type": "number"
1964
1973
  },
1965
- ":file.restrictions": {
1966
- "$ref": "#/definitions/FileRestrictionsRecord"
1974
+ "host": {
1975
+ "type": "string"
1967
1976
  },
1968
- ":file.stats?": {
1969
- "$ref": "#/definitions/FileStats"
1977
+ "ignoreMissing": {
1978
+ "type": "boolean"
1979
+ },
1980
+ "listConcurrency": {
1981
+ "type": "number"
1982
+ },
1983
+ "metafile": {
1984
+ "additionalProperties": false,
1985
+ "properties": {
1986
+ "content": {
1987
+ "type": "string"
1988
+ }
1989
+ },
1990
+ "required": [
1991
+ "content"
1992
+ ],
1993
+ "type": "object"
1994
+ },
1995
+ "password": {
1996
+ "type": "string"
1997
+ },
1998
+ "pollInterval": {
1999
+ "type": "number"
2000
+ },
2001
+ "port": {
2002
+ "type": [
2003
+ "string",
2004
+ "number"
2005
+ ]
2006
+ },
2007
+ "protocol": {
2008
+ "const": "ftp",
2009
+ "type": "string"
2010
+ },
2011
+ "stabilityThreshold": {
2012
+ "type": "number"
2013
+ },
2014
+ "timezone": {
2015
+ "type": "string"
2016
+ },
2017
+ "type": {
2018
+ "const": "file",
2019
+ "type": "string"
2020
+ },
2021
+ "userNotificationsEnabled": {
2022
+ "type": "boolean"
2023
+ },
2024
+ "username": {
2025
+ "type": "string"
2026
+ },
2027
+ "utf8": {
2028
+ "type": "boolean"
1970
2029
  }
1971
2030
  },
1972
2031
  "required": [
1973
- ":file.replicate",
1974
- ":file.restrictions",
1975
- ":file.stats?"
2032
+ "host",
2033
+ "protocol",
2034
+ "type"
1976
2035
  ],
1977
2036
  "type": "object"
1978
2037
  },
1979
- "FileDomainStatsRecord": {
1980
- "$ref": "#/definitions/FileStats"
2038
+ "FileConnectionRecord": {
2039
+ "anyOf": [
2040
+ {
2041
+ "$ref": "#/definitions/FileConnectionS3Record"
2042
+ },
2043
+ {
2044
+ "$ref": "#/definitions/FileConnectionFtpRecord"
2045
+ },
2046
+ {
2047
+ "$ref": "#/definitions/FileConnectionSmbRecord"
2048
+ },
2049
+ {
2050
+ "$ref": "#/definitions/FileConnectionSftpRecord"
2051
+ }
2052
+ ]
1981
2053
  },
1982
- "FilePublishBaseConnectionRecord": {
2054
+ "FileConnectionRecordCommon": {
1983
2055
  "additionalProperties": false,
1984
2056
  "properties": {
1985
2057
  "concurrency": {
@@ -2035,10 +2107,7 @@
2035
2107
  ],
2036
2108
  "type": "object"
2037
2109
  },
2038
- "FilePublishConnectionRecord": {
2039
- "$ref": "#/definitions/FilePublishConnectionS3Record"
2040
- },
2041
- "FilePublishConnectionS3Record": {
2110
+ "FileConnectionS3Record": {
2042
2111
  "additionalProperties": false,
2043
2112
  "properties": {
2044
2113
  "bucket": {
@@ -2099,6 +2168,185 @@
2099
2168
  ],
2100
2169
  "type": "object"
2101
2170
  },
2171
+ "FileConnectionSftpRecord": {
2172
+ "additionalProperties": false,
2173
+ "properties": {
2174
+ "concurrency": {
2175
+ "type": "number"
2176
+ },
2177
+ "debug": {
2178
+ "type": "boolean"
2179
+ },
2180
+ "host": {
2181
+ "type": "string"
2182
+ },
2183
+ "ignoreMissing": {
2184
+ "type": "boolean"
2185
+ },
2186
+ "listConcurrency": {
2187
+ "type": "number"
2188
+ },
2189
+ "metafile": {
2190
+ "additionalProperties": false,
2191
+ "properties": {
2192
+ "content": {
2193
+ "type": "string"
2194
+ }
2195
+ },
2196
+ "required": [
2197
+ "content"
2198
+ ],
2199
+ "type": "object"
2200
+ },
2201
+ "mode": {
2202
+ "enum": [
2203
+ "lftp",
2204
+ "libcurl",
2205
+ "openssh",
2206
+ "ssh2"
2207
+ ],
2208
+ "type": "string"
2209
+ },
2210
+ "password": {
2211
+ "type": "string"
2212
+ },
2213
+ "pollInterval": {
2214
+ "type": "number"
2215
+ },
2216
+ "port": {
2217
+ "type": [
2218
+ "string",
2219
+ "number"
2220
+ ]
2221
+ },
2222
+ "privateKey": {
2223
+ "type": "string"
2224
+ },
2225
+ "protocol": {
2226
+ "const": "sftp",
2227
+ "type": "string"
2228
+ },
2229
+ "root": {
2230
+ "type": "string"
2231
+ },
2232
+ "stabilityThreshold": {
2233
+ "type": "number"
2234
+ },
2235
+ "timezone": {
2236
+ "type": "string"
2237
+ },
2238
+ "type": {
2239
+ "const": "file",
2240
+ "type": "string"
2241
+ },
2242
+ "userNotificationsEnabled": {
2243
+ "type": "boolean"
2244
+ },
2245
+ "username": {
2246
+ "type": "string"
2247
+ }
2248
+ },
2249
+ "required": [
2250
+ "host",
2251
+ "protocol",
2252
+ "type"
2253
+ ],
2254
+ "type": "object"
2255
+ },
2256
+ "FileConnectionSmbRecord": {
2257
+ "additionalProperties": false,
2258
+ "properties": {
2259
+ "concurrency": {
2260
+ "type": "number"
2261
+ },
2262
+ "host": {
2263
+ "type": "string"
2264
+ },
2265
+ "ignoreMissing": {
2266
+ "type": "boolean"
2267
+ },
2268
+ "listConcurrency": {
2269
+ "type": "number"
2270
+ },
2271
+ "metafile": {
2272
+ "additionalProperties": false,
2273
+ "properties": {
2274
+ "content": {
2275
+ "type": "string"
2276
+ }
2277
+ },
2278
+ "required": [
2279
+ "content"
2280
+ ],
2281
+ "type": "object"
2282
+ },
2283
+ "password": {
2284
+ "type": "string"
2285
+ },
2286
+ "pollInterval": {
2287
+ "type": "number"
2288
+ },
2289
+ "port": {
2290
+ "type": [
2291
+ "string",
2292
+ "number"
2293
+ ]
2294
+ },
2295
+ "protocol": {
2296
+ "const": "smb",
2297
+ "type": "string"
2298
+ },
2299
+ "share": {
2300
+ "type": "string"
2301
+ },
2302
+ "stabilityThreshold": {
2303
+ "type": "number"
2304
+ },
2305
+ "type": {
2306
+ "const": "file",
2307
+ "type": "string"
2308
+ },
2309
+ "userNotificationsEnabled": {
2310
+ "type": "boolean"
2311
+ },
2312
+ "username": {
2313
+ "type": "string"
2314
+ },
2315
+ "workgroup": {
2316
+ "type": "string"
2317
+ }
2318
+ },
2319
+ "required": [
2320
+ "host",
2321
+ "protocol",
2322
+ "share",
2323
+ "type"
2324
+ ],
2325
+ "type": "object"
2326
+ },
2327
+ "FileDomainRecords": {
2328
+ "additionalProperties": false,
2329
+ "properties": {
2330
+ ":file.replicate": {
2331
+ "$ref": "#/definitions/FileReplicateRecord"
2332
+ },
2333
+ ":file.restrictions": {
2334
+ "$ref": "#/definitions/FileRestrictionsRecord"
2335
+ },
2336
+ ":file.stats?": {
2337
+ "$ref": "#/definitions/FileStats"
2338
+ }
2339
+ },
2340
+ "required": [
2341
+ ":file.replicate",
2342
+ ":file.restrictions",
2343
+ ":file.stats?"
2344
+ ],
2345
+ "type": "object"
2346
+ },
2347
+ "FileDomainStatsRecord": {
2348
+ "$ref": "#/definitions/FileStats"
2349
+ },
2102
2350
  "FilePublishDefaults": {
2103
2351
  "additionalProperties": false,
2104
2352
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@nxtedition/types",
3
- "version": "23.0.33",
3
+ "version": "23.0.35",
4
+ "description": "TypeScript types to be shared between nxtedition packages.",
4
5
  "license": "MIT",
5
6
  "type": "module",
6
7
  "exports": {
@@ -22,8 +23,9 @@
22
23
  "generate-schema": "typescript-json-schema \"dist/**/*.d.ts\" \"*\" --out dist/schema.json --noExtraProps --required",
23
24
  "lint": "npx eslint ./src",
24
25
  "prepare": "ts-patch install && typia patch",
25
- "prepublishOnly": "yarn lint && yarn build && yarn test",
26
- "test": "tspc && node --test"
26
+ "prepublishOnly": "yarn lint && yarn test",
27
+ "test": "yarn build && node --test",
28
+ "watch": "nodemon --watch src --ext ts --exec 'yarn build'"
27
29
  },
28
30
  "dependencies": {
29
31
  "@types/lodash": "^4.17.17",
@@ -39,6 +41,7 @@
39
41
  "@types/node": "^22.7.9",
40
42
  "fast-json-stringify": "^6.0.0",
41
43
  "mitata": "^0.1.11",
44
+ "nodemon": "^3.1.10",
42
45
  "rimraf": "^5.0.8",
43
46
  "spark-md5": "^3.0.2",
44
47
  "ts-node": "^10.9.2",