@nxtedition/types 23.0.49 → 23.0.51

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 (58) hide show
  1. package/dist/common/file.d.ts +1 -0
  2. package/dist/common/file.js +7 -2
  3. package/dist/common/settings.d.ts +1 -0
  4. package/dist/nxtpression.d.ts +141 -63
  5. package/dist/records/domains/connection/empty.d.ts +7 -0
  6. package/dist/records/domains/connection/facebook.d.ts +8 -0
  7. package/dist/records/domains/connection/file/ftp.d.ts +9 -0
  8. package/dist/records/domains/connection/file/ftp.js +1 -0
  9. package/dist/records/domains/connection/file/index.d.ts +29 -0
  10. package/dist/records/domains/connection/file/index.js +4 -0
  11. package/dist/records/domains/connection/file/s3.d.ts +6 -0
  12. package/dist/records/domains/connection/file/s3.js +1 -0
  13. package/dist/records/domains/connection/file/sftp.d.ts +12 -0
  14. package/dist/records/domains/connection/file/sftp.js +1 -0
  15. package/dist/records/domains/connection/file/smb.d.ts +9 -0
  16. package/dist/records/domains/connection/file/smb.js +1 -0
  17. package/dist/records/domains/connection/index.d.ts +38 -0
  18. package/dist/records/domains/connection/index.js +4 -0
  19. package/dist/records/domains/connection/reuters.d.ts +10 -0
  20. package/dist/records/domains/connection/reuters.js +1 -0
  21. package/dist/records/domains/index.d.ts +6 -5
  22. package/dist/records/domains/index.js +2 -2
  23. package/dist/records/domains/publish/empty.d.ts +8 -0
  24. package/dist/records/domains/publish/empty.js +1 -0
  25. package/dist/records/domains/publish/facebook.d.ts +11 -0
  26. package/dist/records/domains/publish/facebook.js +1 -0
  27. package/dist/records/domains/publish/file-legacy.d.ts +26 -0
  28. package/dist/records/domains/publish/file-legacy.js +1 -0
  29. package/dist/records/domains/publish/file.d.ts +66 -0
  30. package/dist/records/domains/publish/file.js +1 -0
  31. package/dist/records/domains/publish/index.d.ts +66 -0
  32. package/dist/records/domains/publish/index.js +5 -0
  33. package/dist/records/domains/publish/youtube.d.ts +16 -0
  34. package/dist/records/domains/publish/youtube.js +1 -0
  35. package/dist/records/index.d.ts +1 -1
  36. package/dist/records/utils.d.ts +4 -2
  37. package/dist/records/utils.tds.js +1 -1
  38. package/dist/records/validate/assert-guard.d.ts +3 -4
  39. package/dist/records/validate/assert-guard.js +474 -687
  40. package/dist/records/validate/assert.d.ts +3 -4
  41. package/dist/records/validate/assert.js +474 -687
  42. package/dist/records/validate/is.d.ts +3 -4
  43. package/dist/records/validate/is.js +39 -108
  44. package/dist/records/validate/schemas.d.ts +4 -5
  45. package/dist/records/validate/schemas.js +403 -437
  46. package/dist/records/validate/stringify.d.ts +3 -4
  47. package/dist/records/validate/stringify.js +66 -154
  48. package/dist/records/validate/utils.d.ts +4 -3
  49. package/dist/records/validate/utils.js +3 -0
  50. package/dist/records/validate/validate-equals.d.ts +3 -4
  51. package/dist/records/validate/validate-equals.js +723 -714
  52. package/dist/records/validate/validate.d.ts +3 -4
  53. package/dist/records/validate/validate.js +437 -635
  54. package/package.json +1 -1
  55. package/dist/records/domains/connection.d.ts +0 -77
  56. package/dist/records/domains/publish.d.ts +0 -149
  57. /package/dist/records/domains/{connection.js → connection/empty.js} +0 -0
  58. /package/dist/records/domains/{publish.js → connection/facebook.js} +0 -0
@@ -3006,44 +3006,30 @@ function _schemasDomainRecord(domain) {
3006
3006
  version: "3.1",
3007
3007
  components: {
3008
3008
  schemas: {
3009
- ConnectionRecord: {
3010
- oneOf: [
3011
- {
3012
- $ref: "#/components/schemas/FileConnectionS3Record"
3013
- },
3014
- {
3015
- $ref: "#/components/schemas/FileConnectionFtpRecord"
3009
+ FileConnectionFtpRecord: {
3010
+ type: "object",
3011
+ properties: {
3012
+ protocol: {
3013
+ "const": "ftp"
3016
3014
  },
3017
- {
3018
- $ref: "#/components/schemas/FileConnectionSmbRecord"
3015
+ host: {
3016
+ type: "string"
3019
3017
  },
3020
- {
3021
- $ref: "#/components/schemas/FileConnectionSftpRecord"
3018
+ username: {
3019
+ type: "string"
3022
3020
  },
3023
- {
3024
- $ref: "#/components/schemas/ReutersConnectionRecord"
3021
+ password: {
3022
+ type: "string"
3025
3023
  },
3026
- {
3027
- $ref: "#/components/schemas/FacebookConnectionRecord"
3028
- }
3029
- ]
3030
- },
3031
- FileConnectionS3Record: {
3032
- type: "object",
3033
- properties: {
3034
- protocol: {
3035
- "const": "s3"
3024
+ utf8: {
3025
+ type: "boolean"
3036
3026
  },
3037
- client: {},
3038
- bucket: {
3027
+ timezone: {
3039
3028
  type: "string"
3040
3029
  },
3041
3030
  type: {
3042
3031
  "const": "file"
3043
3032
  },
3044
- host: {
3045
- type: "string"
3046
- },
3047
3033
  port: {
3048
3034
  oneOf: [
3049
3035
  {
@@ -3086,33 +3072,26 @@ function _schemasDomainRecord(domain) {
3086
3072
  },
3087
3073
  required: [
3088
3074
  "protocol",
3075
+ "host",
3089
3076
  "type"
3090
3077
  ]
3091
3078
  },
3092
- FileConnectionFtpRecord: {
3079
+ FileConnectionS3Record: {
3093
3080
  type: "object",
3094
3081
  properties: {
3095
3082
  protocol: {
3096
- "const": "ftp"
3097
- },
3098
- host: {
3099
- type: "string"
3100
- },
3101
- username: {
3102
- type: "string"
3103
- },
3104
- password: {
3105
- type: "string"
3106
- },
3107
- utf8: {
3108
- type: "boolean"
3083
+ "const": "s3"
3109
3084
  },
3110
- timezone: {
3085
+ client: {},
3086
+ bucket: {
3111
3087
  type: "string"
3112
3088
  },
3113
3089
  type: {
3114
3090
  "const": "file"
3115
3091
  },
3092
+ host: {
3093
+ type: "string"
3094
+ },
3116
3095
  port: {
3117
3096
  oneOf: [
3118
3097
  {
@@ -3155,7 +3134,6 @@ function _schemasDomainRecord(domain) {
3155
3134
  },
3156
3135
  required: [
3157
3136
  "protocol",
3158
- "host",
3159
3137
  "type"
3160
3138
  ]
3161
3139
  },
@@ -3322,6 +3300,26 @@ function _schemasDomainRecord(domain) {
3322
3300
  "type"
3323
3301
  ]
3324
3302
  },
3303
+ FacebookConnectionRecord: {
3304
+ type: "object",
3305
+ properties: {
3306
+ type: {
3307
+ "const": "facebook"
3308
+ },
3309
+ grantedScopes: {
3310
+ type: "array",
3311
+ items: {
3312
+ type: "string"
3313
+ }
3314
+ },
3315
+ userNotificationsEnabled: {
3316
+ type: "boolean"
3317
+ }
3318
+ },
3319
+ required: [
3320
+ "type"
3321
+ ]
3322
+ },
3325
3323
  ReutersConnectionRecord: {
3326
3324
  type: "object",
3327
3325
  properties: {
@@ -3345,17 +3343,11 @@ function _schemasDomainRecord(domain) {
3345
3343
  "type"
3346
3344
  ]
3347
3345
  },
3348
- FacebookConnectionRecord: {
3346
+ EmptyConnectionRecord: {
3349
3347
  type: "object",
3350
3348
  properties: {
3351
3349
  type: {
3352
- "const": "facebook"
3353
- },
3354
- grantedScopes: {
3355
- type: "array",
3356
- items: {
3357
- type: "string"
3358
- }
3350
+ type: "null"
3359
3351
  },
3360
3352
  userNotificationsEnabled: {
3361
3353
  type: "boolean"
@@ -3369,7 +3361,29 @@ function _schemasDomainRecord(domain) {
3369
3361
  },
3370
3362
  schemas: [
3371
3363
  {
3372
- $ref: "#/components/schemas/ConnectionRecord"
3364
+ oneOf: [
3365
+ {
3366
+ $ref: "#/components/schemas/FileConnectionFtpRecord"
3367
+ },
3368
+ {
3369
+ $ref: "#/components/schemas/FileConnectionS3Record"
3370
+ },
3371
+ {
3372
+ $ref: "#/components/schemas/FileConnectionSmbRecord"
3373
+ },
3374
+ {
3375
+ $ref: "#/components/schemas/FileConnectionSftpRecord"
3376
+ },
3377
+ {
3378
+ $ref: "#/components/schemas/FacebookConnectionRecord"
3379
+ },
3380
+ {
3381
+ $ref: "#/components/schemas/ReutersConnectionRecord"
3382
+ },
3383
+ {
3384
+ $ref: "#/components/schemas/EmptyConnectionRecord"
3385
+ }
3386
+ ]
3373
3387
  }
3374
3388
  ]
3375
3389
  };
@@ -3379,7 +3393,7 @@ function _schemasDomainRecord(domain) {
3379
3393
  version: "3.1",
3380
3394
  components: {
3381
3395
  schemas: {
3382
- ConnectionDomainMethodsRecord: {
3396
+ ConnectionMethodsBase: {
3383
3397
  type: "object",
3384
3398
  properties: {},
3385
3399
  required: [],
@@ -3396,7 +3410,7 @@ function _schemasDomainRecord(domain) {
3396
3410
  },
3397
3411
  schemas: [
3398
3412
  {
3399
- $ref: "#/components/schemas/ConnectionDomainMethodsRecord"
3413
+ $ref: "#/components/schemas/ConnectionMethodsBase"
3400
3414
  }
3401
3415
  ]
3402
3416
  };
@@ -3406,7 +3420,7 @@ function _schemasDomainRecord(domain) {
3406
3420
  version: "3.1",
3407
3421
  components: {
3408
3422
  schemas: {
3409
- ConnectionStatsRecord: {
3423
+ ConnectionStatsBase: {
3410
3424
  type: "object",
3411
3425
  properties: {
3412
3426
  status: {
@@ -3434,7 +3448,7 @@ function _schemasDomainRecord(domain) {
3434
3448
  },
3435
3449
  schemas: [
3436
3450
  {
3437
- $ref: "#/components/schemas/ConnectionStatsRecord"
3451
+ $ref: "#/components/schemas/ConnectionStatsBase"
3438
3452
  }
3439
3453
  ]
3440
3454
  };
@@ -4241,6 +4255,9 @@ function _schemasDomainRecord(domain) {
4241
4255
  type: "number",
4242
4256
  minimum: 0
4243
4257
  },
4258
+ complete: {
4259
+ type: "boolean"
4260
+ },
4244
4261
  id: {
4245
4262
  type: "string",
4246
4263
  pattern: "^[0-9A-Za-z~][0-9A-Za-z~._: -]*$"
@@ -4315,6 +4332,7 @@ function _schemasDomainRecord(domain) {
4315
4332
  "replicas",
4316
4333
  "locations",
4317
4334
  "ranges",
4335
+ "complete",
4318
4336
  "id",
4319
4337
  "size",
4320
4338
  "seekable",
@@ -6923,54 +6941,35 @@ function _schemasDomainRecord(domain) {
6923
6941
  version: "3.1",
6924
6942
  components: {
6925
6943
  schemas: {
6926
- PublishRecord: {
6927
- oneOf: [
6928
- {
6929
- $ref: "#/components/schemas/YoutubePublishRecord"
6930
- },
6931
- {
6932
- $ref: "#/components/schemas/FacebookPublishRecord"
6933
- },
6934
- {
6935
- $ref: "#/components/schemas/FilePublishRecord"
6936
- },
6937
- {
6938
- $ref: "#/components/schemas/FilePublishRecordLegacy"
6944
+ EmptyPublishRecord: {
6945
+ type: "object",
6946
+ properties: {
6947
+ type: {
6948
+ type: "null"
6939
6949
  },
6940
- {
6941
- $ref: "#/components/schemas/EmptyPublishRecord"
6950
+ asset: {
6951
+ oneOf: [
6952
+ {
6953
+ type: "null"
6954
+ },
6955
+ {
6956
+ type: "string"
6957
+ }
6958
+ ]
6942
6959
  }
6960
+ },
6961
+ required: [
6962
+ "type"
6943
6963
  ]
6944
6964
  },
6945
- YoutubePublishRecord: {
6965
+ FacebookPublishRecord: {
6946
6966
  type: "object",
6947
6967
  properties: {
6948
- draft: {
6949
- type: "object",
6950
- properties: {
6951
- snippet: {
6952
- type: "object",
6953
- properties: {
6954
- title: {
6955
- type: "string"
6956
- },
6957
- tags: {
6958
- type: "array",
6959
- items: {
6960
- type: "string"
6961
- }
6962
- },
6963
- description: {
6964
- type: "string"
6965
- }
6966
- },
6967
- required: []
6968
- }
6969
- },
6970
- required: []
6971
- },
6972
6968
  type: {
6973
- "const": "youtube"
6969
+ "const": "facebook"
6970
+ },
6971
+ pageId: {
6972
+ type: "string"
6974
6973
  },
6975
6974
  asset: {
6976
6975
  oneOf: [
@@ -6986,14 +6985,11 @@ function _schemasDomainRecord(domain) {
6986
6985
  type: "string"
6987
6986
  },
6988
6987
  render: {
6989
- $ref: "#/components/schemas/PublishRender"
6990
- },
6991
- published: {
6992
- $ref: "#/components/schemas/Recordstringunknown"
6993
- },
6994
- remote: {
6995
- $ref: "#/components/schemas/Recordstringunknown"
6988
+ $ref: "#/components/schemas/PublishRenderBase"
6996
6989
  },
6990
+ draft: {},
6991
+ published: {},
6992
+ remote: {},
6997
6993
  error: {
6998
6994
  oneOf: [
6999
6995
  {
@@ -7023,7 +7019,7 @@ function _schemasDomainRecord(domain) {
7023
7019
  "type"
7024
7020
  ]
7025
7021
  },
7026
- PublishRender: {
7022
+ PublishRenderBase: {
7027
7023
  type: "object",
7028
7024
  properties: {
7029
7025
  preset: {
@@ -7314,13 +7310,6 @@ function _schemasDomainRecord(domain) {
7314
7310
  },
7315
7311
  required: []
7316
7312
  },
7317
- Recordstringunknown: {
7318
- type: "object",
7319
- properties: {},
7320
- required: [],
7321
- description: "Construct a type with a set of properties K of type T",
7322
- additionalProperties: {}
7323
- },
7324
7313
  Message: {
7325
7314
  type: "object",
7326
7315
  properties: {
@@ -7340,93 +7329,27 @@ function _schemasDomainRecord(domain) {
7340
7329
  "msg"
7341
7330
  ]
7342
7331
  },
7343
- FacebookPublishRecord: {
7332
+ FilePublishRecordLegacy: {
7344
7333
  type: "object",
7345
7334
  properties: {
7346
- pageId: {
7347
- type: "string"
7348
- },
7349
7335
  type: {
7350
- "const": "facebook"
7351
- },
7352
- asset: {
7353
- oneOf: [
7354
- {
7355
- type: "null"
7356
- },
7357
- {
7358
- type: "string"
7359
- }
7360
- ]
7361
- },
7362
- connection: {
7363
- type: "string"
7364
- },
7365
- render: {
7366
- $ref: "#/components/schemas/PublishRender"
7367
- },
7368
- draft: {
7369
- $ref: "#/components/schemas/Recordstringunknown"
7370
- },
7371
- published: {
7372
- $ref: "#/components/schemas/Recordstringunknown"
7373
- },
7374
- remote: {
7375
- $ref: "#/components/schemas/Recordstringunknown"
7376
- },
7377
- error: {
7378
- oneOf: [
7379
- {
7380
- type: "null"
7381
- },
7382
- {
7383
- type: "object",
7384
- properties: {
7385
- method: {
7386
- type: "string"
7387
- }
7388
- },
7389
- required: [
7390
- "method"
7391
- ]
7392
- }
7393
- ]
7336
+ "const": "file"
7394
7337
  },
7395
- messages: {
7396
- type: "array",
7397
- items: {
7398
- $ref: "#/components/schemas/Message"
7399
- }
7400
- }
7401
- },
7402
- required: [
7403
- "type"
7404
- ]
7405
- },
7406
- FilePublishRecord: {
7407
- type: "object",
7408
- properties: {
7409
7338
  directory: {
7410
7339
  type: "string"
7411
7340
  },
7412
7341
  filename: {
7413
7342
  type: "string"
7414
7343
  },
7415
- renders: {
7416
- $ref: "#/components/schemas/RecordstringFilePublishRender"
7417
- },
7418
7344
  draft: {
7419
7345
  $ref: "#/components/schemas/FilePublishDraft"
7420
7346
  },
7421
7347
  remote: {
7422
- $ref: "#/components/schemas/FilePublishRemote"
7348
+ $ref: "#/components/schemas/FilePublishRemoteLegacy"
7423
7349
  },
7424
7350
  published: {
7425
7351
  $ref: "#/components/schemas/FilePublishPublished"
7426
7352
  },
7427
- type: {
7428
- "const": "file"
7429
- },
7430
7353
  asset: {
7431
7354
  oneOf: [
7432
7355
  {
@@ -7441,7 +7364,7 @@ function _schemasDomainRecord(domain) {
7441
7364
  type: "string"
7442
7365
  },
7443
7366
  render: {
7444
- $ref: "#/components/schemas/PublishRender"
7367
+ $ref: "#/components/schemas/PublishRenderBase"
7445
7368
  },
7446
7369
  error: {
7447
7370
  oneOf: [
@@ -7472,34 +7395,170 @@ function _schemasDomainRecord(domain) {
7472
7395
  "type"
7473
7396
  ]
7474
7397
  },
7475
- RecordstringFilePublishRender: {
7398
+ FilePublishDraft: {
7476
7399
  type: "object",
7477
- properties: {},
7478
- required: [],
7479
- description: "Construct a type with a set of properties K of type T",
7480
- additionalProperties: {
7481
- $ref: "#/components/schemas/FilePublishRender"
7482
- }
7483
- },
7484
- FilePublishRender: {
7485
- oneOf: [
7486
- {
7400
+ properties: {
7401
+ directory: {
7487
7402
  type: "string"
7488
7403
  },
7489
- {
7490
- $ref: "#/components/schemas/ResolvedFilePublishRender"
7491
- },
7492
- {
7493
- $ref: "#/components/schemas/__type.o12"
7404
+ filename: {
7405
+ type: "string"
7406
+ }
7407
+ },
7408
+ required: []
7409
+ },
7410
+ FilePublishRemoteLegacy: {
7411
+ type: "object",
7412
+ properties: {
7413
+ id: {
7414
+ type: "string"
7415
+ },
7416
+ path: {
7417
+ type: "string"
7418
+ },
7419
+ filename: {
7420
+ type: "string"
7421
+ },
7422
+ directory: {
7423
+ type: "string"
7424
+ },
7425
+ subtitle: {
7426
+ type: "object",
7427
+ properties: {
7428
+ path: {
7429
+ type: "string"
7430
+ }
7431
+ },
7432
+ required: [
7433
+ "path"
7434
+ ]
7435
+ },
7436
+ metafile: {
7437
+ type: "object",
7438
+ properties: {
7439
+ path: {
7440
+ type: "string"
7441
+ }
7442
+ },
7443
+ required: [
7444
+ "path"
7445
+ ]
7446
+ }
7447
+ },
7448
+ required: [
7449
+ "path",
7450
+ "filename"
7451
+ ],
7452
+ additionalProperties: {}
7453
+ },
7454
+ FilePublishPublished: {
7455
+ type: "object",
7456
+ properties: {
7457
+ directory: {
7458
+ type: "string"
7459
+ },
7460
+ filename: {
7461
+ type: "string"
7494
7462
  }
7463
+ },
7464
+ required: [
7465
+ "filename"
7495
7466
  ]
7496
7467
  },
7497
- ResolvedFilePublishRender: {
7468
+ FilePublishRecord: {
7498
7469
  type: "object",
7499
7470
  properties: {
7500
- preset: {
7471
+ type: {
7472
+ "const": "file"
7473
+ },
7474
+ directory: {
7475
+ type: "string"
7476
+ },
7477
+ filename: {
7501
7478
  type: "string"
7502
7479
  },
7480
+ renders: {
7481
+ $ref: "#/components/schemas/RecordstringFilePublishRender"
7482
+ },
7483
+ draft: {
7484
+ $ref: "#/components/schemas/FilePublishDraft"
7485
+ },
7486
+ remote: {
7487
+ $ref: "#/components/schemas/FilePublishRemote"
7488
+ },
7489
+ published: {
7490
+ $ref: "#/components/schemas/FilePublishPublished"
7491
+ },
7492
+ asset: {
7493
+ oneOf: [
7494
+ {
7495
+ type: "null"
7496
+ },
7497
+ {
7498
+ type: "string"
7499
+ }
7500
+ ]
7501
+ },
7502
+ connection: {
7503
+ type: "string"
7504
+ },
7505
+ render: {
7506
+ $ref: "#/components/schemas/PublishRenderBase"
7507
+ },
7508
+ error: {
7509
+ oneOf: [
7510
+ {
7511
+ type: "null"
7512
+ },
7513
+ {
7514
+ type: "object",
7515
+ properties: {
7516
+ method: {
7517
+ type: "string"
7518
+ }
7519
+ },
7520
+ required: [
7521
+ "method"
7522
+ ]
7523
+ }
7524
+ ]
7525
+ },
7526
+ messages: {
7527
+ type: "array",
7528
+ items: {
7529
+ $ref: "#/components/schemas/Message"
7530
+ }
7531
+ }
7532
+ },
7533
+ required: [
7534
+ "type"
7535
+ ]
7536
+ },
7537
+ RecordstringFilePublishRender: {
7538
+ type: "object",
7539
+ properties: {},
7540
+ required: [],
7541
+ description: "Construct a type with a set of properties K of type T",
7542
+ additionalProperties: {
7543
+ $ref: "#/components/schemas/FilePublishRender"
7544
+ }
7545
+ },
7546
+ FilePublishRender: {
7547
+ oneOf: [
7548
+ {
7549
+ type: "string"
7550
+ },
7551
+ {
7552
+ $ref: "#/components/schemas/ResolvedFilePublishRender"
7553
+ },
7554
+ {
7555
+ $ref: "#/components/schemas/__type.o10"
7556
+ }
7557
+ ]
7558
+ },
7559
+ ResolvedFilePublishRender: {
7560
+ type: "object",
7561
+ properties: {
7503
7562
  name: {
7504
7563
  type: "string"
7505
7564
  },
@@ -7519,6 +7578,9 @@ function _schemasDomainRecord(domain) {
7519
7578
  ignoreEmptyScene: {
7520
7579
  type: "boolean"
7521
7580
  },
7581
+ preset: {
7582
+ type: "string"
7583
+ },
7522
7584
  type: {
7523
7585
  type: "string"
7524
7586
  },
@@ -7534,11 +7596,11 @@ function _schemasDomainRecord(domain) {
7534
7596
  "type"
7535
7597
  ]
7536
7598
  },
7537
- "__type.o12": {
7599
+ "__type.o10": {
7538
7600
  type: "object",
7539
7601
  properties: {
7540
7602
  __context: {
7541
- $ref: "#/components/schemas/__type.o13",
7603
+ $ref: "#/components/schemas/__type.o11",
7542
7604
  description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
7543
7605
  },
7544
7606
  __returnValue: {
@@ -7551,7 +7613,7 @@ function _schemasDomainRecord(domain) {
7551
7613
  "__returnValue"
7552
7614
  ]
7553
7615
  },
7554
- "__type.o13": {
7616
+ "__type.o11": {
7555
7617
  type: "object",
7556
7618
  properties: {
7557
7619
  publish: {
@@ -7570,19 +7632,6 @@ function _schemasDomainRecord(domain) {
7570
7632
  "name"
7571
7633
  ]
7572
7634
  },
7573
- FilePublishDraft: {
7574
- type: "object",
7575
- properties: {
7576
- directory: {
7577
- type: "string"
7578
- },
7579
- filename: {
7580
- type: "string"
7581
- }
7582
- },
7583
- required: [],
7584
- additionalProperties: {}
7585
- },
7586
7635
  FilePublishRemote: {
7587
7636
  type: "object",
7588
7637
  properties: {
@@ -7596,8 +7645,7 @@ function _schemasDomainRecord(domain) {
7596
7645
  $ref: "#/components/schemas/RecordstringFilePublishRemoteRender"
7597
7646
  }
7598
7647
  },
7599
- required: [],
7600
- additionalProperties: {}
7648
+ required: []
7601
7649
  },
7602
7650
  RecordstringFilePublishRemoteRender: {
7603
7651
  type: "object",
@@ -7633,41 +7681,35 @@ function _schemasDomainRecord(domain) {
7633
7681
  },
7634
7682
  required: []
7635
7683
  },
7636
- FilePublishPublished: {
7637
- type: "object",
7638
- properties: {
7639
- directory: {
7640
- type: "string"
7641
- },
7642
- filename: {
7643
- type: "string"
7644
- }
7645
- },
7646
- required: [
7647
- "filename"
7648
- ],
7649
- additionalProperties: {}
7650
- },
7651
- FilePublishRecordLegacy: {
7684
+ YoutubePublishRecord: {
7652
7685
  type: "object",
7653
7686
  properties: {
7654
- directory: {
7655
- type: "string"
7656
- },
7657
- filename: {
7658
- type: "string"
7687
+ type: {
7688
+ "const": "youtube"
7659
7689
  },
7660
7690
  draft: {
7661
- $ref: "#/components/schemas/FilePublishDraft"
7662
- },
7663
- remote: {
7664
- $ref: "#/components/schemas/FilePublishRemoteLegacy"
7665
- },
7666
- published: {
7667
- $ref: "#/components/schemas/FilePublishPublished"
7668
- },
7669
- type: {
7670
- "const": "file"
7691
+ type: "object",
7692
+ properties: {
7693
+ snippet: {
7694
+ type: "object",
7695
+ properties: {
7696
+ title: {
7697
+ type: "string"
7698
+ },
7699
+ tags: {
7700
+ type: "array",
7701
+ items: {
7702
+ type: "string"
7703
+ }
7704
+ },
7705
+ description: {
7706
+ type: "string"
7707
+ }
7708
+ },
7709
+ required: []
7710
+ }
7711
+ },
7712
+ required: []
7671
7713
  },
7672
7714
  asset: {
7673
7715
  oneOf: [
@@ -7683,8 +7725,10 @@ function _schemasDomainRecord(domain) {
7683
7725
  type: "string"
7684
7726
  },
7685
7727
  render: {
7686
- $ref: "#/components/schemas/PublishRender"
7728
+ $ref: "#/components/schemas/PublishRenderBase"
7687
7729
  },
7730
+ published: {},
7731
+ remote: {},
7688
7732
  error: {
7689
7733
  oneOf: [
7690
7734
  {
@@ -7713,77 +7757,28 @@ function _schemasDomainRecord(domain) {
7713
7757
  required: [
7714
7758
  "type"
7715
7759
  ]
7716
- },
7717
- FilePublishRemoteLegacy: {
7718
- type: "object",
7719
- properties: {
7720
- id: {
7721
- type: "string"
7722
- },
7723
- path: {
7724
- type: "string"
7725
- },
7726
- filename: {
7727
- type: "string"
7728
- },
7729
- directory: {
7730
- type: "string"
7731
- },
7732
- subtitle: {
7733
- type: "object",
7734
- properties: {
7735
- path: {
7736
- type: "string"
7737
- }
7738
- },
7739
- required: [
7740
- "path"
7741
- ]
7742
- },
7743
- metafile: {
7744
- type: "object",
7745
- properties: {
7746
- path: {
7747
- type: "string"
7748
- }
7749
- },
7750
- required: [
7751
- "path"
7752
- ]
7753
- }
7754
- },
7755
- required: [
7756
- "path",
7757
- "filename"
7758
- ],
7759
- additionalProperties: {}
7760
- },
7761
- EmptyPublishRecord: {
7762
- type: "object",
7763
- properties: {
7764
- type: {
7765
- type: "null"
7766
- },
7767
- asset: {
7768
- oneOf: [
7769
- {
7770
- type: "null"
7771
- },
7772
- {
7773
- type: "string"
7774
- }
7775
- ]
7776
- }
7777
- },
7778
- required: [
7779
- "type"
7780
- ]
7781
7760
  }
7782
7761
  }
7783
7762
  },
7784
7763
  schemas: [
7785
7764
  {
7786
- $ref: "#/components/schemas/PublishRecord"
7765
+ oneOf: [
7766
+ {
7767
+ $ref: "#/components/schemas/EmptyPublishRecord"
7768
+ },
7769
+ {
7770
+ $ref: "#/components/schemas/FacebookPublishRecord"
7771
+ },
7772
+ {
7773
+ $ref: "#/components/schemas/FilePublishRecordLegacy"
7774
+ },
7775
+ {
7776
+ $ref: "#/components/schemas/FilePublishRecord"
7777
+ },
7778
+ {
7779
+ $ref: "#/components/schemas/YoutubePublishRecord"
7780
+ }
7781
+ ]
7787
7782
  }
7788
7783
  ]
7789
7784
  };
@@ -7793,93 +7788,6 @@ function _schemasDomainRecord(domain) {
7793
7788
  version: "3.1",
7794
7789
  components: {
7795
7790
  schemas: {
7796
- PublishStatsRecord: {
7797
- oneOf: [
7798
- {
7799
- $ref: "#/components/schemas/YoutubePublishStatsRecord"
7800
- },
7801
- {
7802
- $ref: "#/components/schemas/FacebookPublishStatsRecord"
7803
- },
7804
- {
7805
- $ref: "#/components/schemas/FilePublishStatsRecord"
7806
- }
7807
- ]
7808
- },
7809
- YoutubePublishStatsRecord: {
7810
- type: "object",
7811
- properties: {
7812
- status: {
7813
- type: "string"
7814
- },
7815
- substatus: {
7816
- type: "string"
7817
- },
7818
- messages: {
7819
- type: "array",
7820
- items: {
7821
- $ref: "#/components/schemas/Message"
7822
- }
7823
- },
7824
- retrieved: {
7825
- $ref: "#/components/schemas/Recordstringunknown"
7826
- },
7827
- defaults: {
7828
- $ref: "#/components/schemas/Recordstringunknown"
7829
- }
7830
- },
7831
- required: []
7832
- },
7833
- Message: {
7834
- type: "object",
7835
- properties: {
7836
- level: {
7837
- type: "number"
7838
- },
7839
- code: {
7840
- type: "string"
7841
- },
7842
- msg: {
7843
- type: "string"
7844
- }
7845
- },
7846
- required: [
7847
- "level",
7848
- "code",
7849
- "msg"
7850
- ]
7851
- },
7852
- Recordstringunknown: {
7853
- type: "object",
7854
- properties: {},
7855
- required: [],
7856
- description: "Construct a type with a set of properties K of type T",
7857
- additionalProperties: {}
7858
- },
7859
- FacebookPublishStatsRecord: {
7860
- type: "object",
7861
- properties: {
7862
- status: {
7863
- type: "string"
7864
- },
7865
- substatus: {
7866
- type: "string"
7867
- },
7868
- messages: {
7869
- type: "array",
7870
- items: {
7871
- $ref: "#/components/schemas/Message"
7872
- }
7873
- },
7874
- retrieved: {
7875
- $ref: "#/components/schemas/Recordstringunknown"
7876
- },
7877
- defaults: {
7878
- $ref: "#/components/schemas/Recordstringunknown"
7879
- }
7880
- },
7881
- required: []
7882
- },
7883
7791
  FilePublishStatsRecord: {
7884
7792
  type: "object",
7885
7793
  properties: {
@@ -7917,8 +7825,7 @@ function _schemasDomainRecord(domain) {
7917
7825
  $ref: "#/components/schemas/RecordstringFilePublishRetrievedRender"
7918
7826
  }
7919
7827
  },
7920
- required: [],
7921
- additionalProperties: {}
7828
+ required: []
7922
7829
  },
7923
7830
  RecordstringFilePublishRetrievedRender: {
7924
7831
  type: "object",
@@ -7963,8 +7870,7 @@ function _schemasDomainRecord(domain) {
7963
7870
  "directory",
7964
7871
  "filename",
7965
7872
  "renders"
7966
- ],
7967
- additionalProperties: {}
7873
+ ]
7968
7874
  },
7969
7875
  RecordstringFilePublishRender: {
7970
7876
  type: "object",
@@ -7991,9 +7897,6 @@ function _schemasDomainRecord(domain) {
7991
7897
  ResolvedFilePublishRender: {
7992
7898
  type: "object",
7993
7899
  properties: {
7994
- preset: {
7995
- type: "string"
7996
- },
7997
7900
  name: {
7998
7901
  type: "string"
7999
7902
  },
@@ -8013,6 +7916,9 @@ function _schemasDomainRecord(domain) {
8013
7916
  ignoreEmptyScene: {
8014
7917
  type: "boolean"
8015
7918
  },
7919
+ preset: {
7920
+ type: "string"
7921
+ },
8016
7922
  type: {
8017
7923
  type: "string"
8018
7924
  },
@@ -8337,6 +8243,9 @@ function _schemasDomainRecord(domain) {
8337
8243
  FilePublishRecord: {
8338
8244
  type: "object",
8339
8245
  properties: {
8246
+ type: {
8247
+ "const": "file"
8248
+ },
8340
8249
  directory: {
8341
8250
  type: "string"
8342
8251
  },
@@ -8355,9 +8264,6 @@ function _schemasDomainRecord(domain) {
8355
8264
  published: {
8356
8265
  $ref: "#/components/schemas/FilePublishPublished"
8357
8266
  },
8358
- type: {
8359
- "const": "file"
8360
- },
8361
8267
  asset: {
8362
8268
  oneOf: [
8363
8269
  {
@@ -8372,7 +8278,7 @@ function _schemasDomainRecord(domain) {
8372
8278
  type: "string"
8373
8279
  },
8374
8280
  render: {
8375
- $ref: "#/components/schemas/PublishRender"
8281
+ $ref: "#/components/schemas/PublishRenderBase"
8376
8282
  },
8377
8283
  error: {
8378
8284
  oneOf: [
@@ -8413,8 +8319,7 @@ function _schemasDomainRecord(domain) {
8413
8319
  type: "string"
8414
8320
  }
8415
8321
  },
8416
- required: [],
8417
- additionalProperties: {}
8322
+ required: []
8418
8323
  },
8419
8324
  FilePublishRemote: {
8420
8325
  type: "object",
@@ -8429,8 +8334,7 @@ function _schemasDomainRecord(domain) {
8429
8334
  $ref: "#/components/schemas/RecordstringFilePublishRemoteRender"
8430
8335
  }
8431
8336
  },
8432
- required: [],
8433
- additionalProperties: {}
8337
+ required: []
8434
8338
  },
8435
8339
  RecordstringFilePublishRemoteRender: {
8436
8340
  type: "object",
@@ -8466,6 +8370,25 @@ function _schemasDomainRecord(domain) {
8466
8370
  },
8467
8371
  required: []
8468
8372
  },
8373
+ Message: {
8374
+ type: "object",
8375
+ properties: {
8376
+ level: {
8377
+ type: "number"
8378
+ },
8379
+ code: {
8380
+ type: "string"
8381
+ },
8382
+ msg: {
8383
+ type: "string"
8384
+ }
8385
+ },
8386
+ required: [
8387
+ "level",
8388
+ "code",
8389
+ "msg"
8390
+ ]
8391
+ },
8469
8392
  FilePublishPublished: {
8470
8393
  type: "object",
8471
8394
  properties: {
@@ -8478,10 +8401,9 @@ function _schemasDomainRecord(domain) {
8478
8401
  },
8479
8402
  required: [
8480
8403
  "filename"
8481
- ],
8482
- additionalProperties: {}
8404
+ ]
8483
8405
  },
8484
- PublishRender: {
8406
+ PublishRenderBase: {
8485
8407
  type: "object",
8486
8408
  properties: {
8487
8409
  preset: {
@@ -8501,12 +8423,62 @@ function _schemasDomainRecord(domain) {
8501
8423
  "type"
8502
8424
  ],
8503
8425
  description: "render preset + overrides"
8426
+ },
8427
+ FacebookPublishStatsRecord: {
8428
+ type: "object",
8429
+ properties: {
8430
+ status: {
8431
+ type: "string"
8432
+ },
8433
+ substatus: {
8434
+ type: "string"
8435
+ },
8436
+ messages: {
8437
+ type: "array",
8438
+ items: {
8439
+ $ref: "#/components/schemas/Message"
8440
+ }
8441
+ },
8442
+ retrieved: {},
8443
+ defaults: {}
8444
+ },
8445
+ required: []
8446
+ },
8447
+ PublishStatsRecordBase: {
8448
+ type: "object",
8449
+ properties: {
8450
+ status: {
8451
+ type: "string"
8452
+ },
8453
+ substatus: {
8454
+ type: "string"
8455
+ },
8456
+ messages: {
8457
+ type: "array",
8458
+ items: {
8459
+ $ref: "#/components/schemas/Message"
8460
+ }
8461
+ },
8462
+ retrieved: {},
8463
+ defaults: {}
8464
+ },
8465
+ required: []
8504
8466
  }
8505
8467
  }
8506
8468
  },
8507
8469
  schemas: [
8508
8470
  {
8509
- $ref: "#/components/schemas/PublishStatsRecord"
8471
+ oneOf: [
8472
+ {
8473
+ $ref: "#/components/schemas/FilePublishStatsRecord"
8474
+ },
8475
+ {
8476
+ $ref: "#/components/schemas/FacebookPublishStatsRecord"
8477
+ },
8478
+ {
8479
+ $ref: "#/components/schemas/PublishStatsRecordBase"
8480
+ }
8481
+ ]
8510
8482
  }
8511
8483
  ]
8512
8484
  };
@@ -8516,7 +8488,7 @@ function _schemasDomainRecord(domain) {
8516
8488
  version: "3.1",
8517
8489
  components: {
8518
8490
  schemas: {
8519
- PublishDomainMethodsRecord: {
8491
+ PublishDomainMethodsRecordBase: {
8520
8492
  type: "object",
8521
8493
  properties: {},
8522
8494
  required: [],
@@ -8526,28 +8498,19 @@ function _schemasDomainRecord(domain) {
8526
8498
  rpcId: {
8527
8499
  type: "string"
8528
8500
  },
8529
- rpcData: {
8530
- $ref: "#/components/schemas/Recordstringunknown"
8531
- }
8501
+ rpcData: {}
8532
8502
  },
8533
8503
  required: [
8534
8504
  "rpcId",
8535
8505
  "rpcData"
8536
8506
  ]
8537
8507
  }
8538
- },
8539
- Recordstringunknown: {
8540
- type: "object",
8541
- properties: {},
8542
- required: [],
8543
- description: "Construct a type with a set of properties K of type T",
8544
- additionalProperties: {}
8545
8508
  }
8546
8509
  }
8547
8510
  },
8548
8511
  schemas: [
8549
8512
  {
8550
- $ref: "#/components/schemas/PublishDomainMethodsRecord"
8513
+ $ref: "#/components/schemas/PublishDomainMethodsRecordBase"
8551
8514
  }
8552
8515
  ]
8553
8516
  };
@@ -8557,7 +8520,7 @@ function _schemasDomainRecord(domain) {
8557
8520
  version: "3.1",
8558
8521
  components: {
8559
8522
  schemas: {
8560
- PublishDomainAcceptsProvidedRecord: {
8523
+ PublishDomainAcceptsProvidedRecordBase: {
8561
8524
  type: "object",
8562
8525
  properties: {
8563
8526
  value: {}
@@ -8568,7 +8531,7 @@ function _schemasDomainRecord(domain) {
8568
8531
  },
8569
8532
  schemas: [
8570
8533
  {
8571
- $ref: "#/components/schemas/PublishDomainAcceptsProvidedRecord"
8534
+ $ref: "#/components/schemas/PublishDomainAcceptsProvidedRecordBase"
8572
8535
  }
8573
8536
  ]
8574
8537
  };
@@ -11899,6 +11862,9 @@ function _schemasDomainRecord(domain) {
11899
11862
  },
11900
11863
  multiplexWebSockets: {
11901
11864
  type: "boolean"
11865
+ },
11866
+ systemHealth: {
11867
+ type: "boolean"
11902
11868
  }
11903
11869
  },
11904
11870
  required: []