@byte_fluffy/nexra-sdk 0.1.0-alpha.23 → 0.1.0-alpha.24

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/catalog.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  getModelSpec,
7
7
  listModelSpecs,
8
8
  projectMediaGeometry
9
- } from "./chunk-AM7HU7Y7.js";
9
+ } from "./chunk-7V2P2UQD.js";
10
10
  import "./chunk-TA3YGQQY.js";
11
11
  export {
12
12
  CatalogClient,
@@ -3295,24 +3295,18 @@ var image_generated_default = [
3295
3295
  },
3296
3296
  resolution: {
3297
3297
  type: "string",
3298
- anyOf: [
3299
- {
3300
- enum: [
3301
- "1K",
3302
- "2K",
3303
- "3K",
3304
- "4K"
3305
- ]
3306
- },
3307
- {
3308
- pattern: "^[1-9][0-9]{2,4}x[1-9][0-9]{2,4}$"
3309
- }
3298
+ enum: [
3299
+ "1K",
3300
+ "2K",
3301
+ "3K",
3302
+ "4K"
3310
3303
  ],
3311
- default: "1024x1024",
3312
- title: "\u8F93\u51FA\u5C3A\u5BF8",
3313
- description: "\u4E0A\u6E38\u652F\u6301\u7CBE\u786E\u50CF\u7D20\u5C3A\u5BF8\uFF0C\u4E5F\u6309\u8F93\u51FA\u5206\u8FA8\u7387\u6863\u4F4D\u8BA1\u8D39\uFF1B\u5B9E\u9645\u5C3A\u5BF8\u53EF\u80FD\u88AB\u5F52\u4E00\u5316\u3002",
3304
+ default: "1K",
3305
+ title: "\u5206\u8FA8\u7387",
3306
+ description: "\u9009\u62E9\u8F93\u51FA\u56FE\u7247\u7684\u5206\u8FA8\u7387\u6863\u4F4D\u3002",
3314
3307
  "x-ui": {
3315
- order: 11
3308
+ order: 11,
3309
+ control: "segmented"
3316
3310
  }
3317
3311
  }
3318
3312
  },
@@ -3507,24 +3501,18 @@ var image_generated_default = [
3507
3501
  },
3508
3502
  resolution: {
3509
3503
  type: "string",
3510
- anyOf: [
3511
- {
3512
- enum: [
3513
- "1K",
3514
- "2K",
3515
- "3K",
3516
- "4K"
3517
- ]
3518
- },
3519
- {
3520
- pattern: "^[1-9][0-9]{2,4}x[1-9][0-9]{2,4}$"
3521
- }
3504
+ enum: [
3505
+ "1K",
3506
+ "2K",
3507
+ "3K",
3508
+ "4K"
3522
3509
  ],
3523
3510
  default: "1K",
3524
- title: "\u8F93\u51FA\u5C3A\u5BF8",
3525
- description: "\u5EFA\u8BAE\u4F7F\u7528 1K\u30012K\u30013K \u6216 4K\uFF1B\u7CBE\u786E\u50CF\u7D20\u5C3A\u5BF8\u53EF\u80FD\u88AB\u4E0A\u6E38\u5F52\u4E00\u5316\u3002",
3511
+ title: "\u5206\u8FA8\u7387",
3512
+ description: "\u9009\u62E9\u8F93\u51FA\u56FE\u7247\u7684\u5206\u8FA8\u7387\u6863\u4F4D\u3002",
3526
3513
  "x-ui": {
3527
- order: 11
3514
+ order: 11,
3515
+ control: "segmented"
3528
3516
  }
3529
3517
  }
3530
3518
  },
@@ -3719,24 +3707,18 @@ var image_generated_default = [
3719
3707
  },
3720
3708
  resolution: {
3721
3709
  type: "string",
3722
- anyOf: [
3723
- {
3724
- enum: [
3725
- "1K",
3726
- "2K",
3727
- "3K",
3728
- "4K"
3729
- ]
3730
- },
3731
- {
3732
- pattern: "^[1-9][0-9]{2,4}x[1-9][0-9]{2,4}$"
3733
- }
3710
+ enum: [
3711
+ "1K",
3712
+ "2K",
3713
+ "3K",
3714
+ "4K"
3734
3715
  ],
3735
3716
  default: "1K",
3736
- title: "\u8F93\u51FA\u5C3A\u5BF8",
3737
- description: "\u5EFA\u8BAE\u4F7F\u7528 1K\u30012K\u30013K \u6216 4K\uFF1B\u7CBE\u786E\u50CF\u7D20\u5C3A\u5BF8\u53EF\u80FD\u88AB\u4E0A\u6E38\u5F52\u4E00\u5316\u3002",
3717
+ title: "\u5206\u8FA8\u7387",
3718
+ description: "\u9009\u62E9\u8F93\u51FA\u56FE\u7247\u7684\u5206\u8FA8\u7387\u6863\u4F4D\u3002",
3738
3719
  "x-ui": {
3739
- order: 11
3720
+ order: 11,
3721
+ control: "segmented"
3740
3722
  }
3741
3723
  }
3742
3724
  },
@@ -35759,7 +35741,7 @@ var NexraWaitTimeoutError = class extends Error {
35759
35741
  };
35760
35742
 
35761
35743
  // src/generated/version.generated.ts
35762
- var SDK_VERSION = "0.1.0-alpha.23";
35744
+ var SDK_VERSION = "0.1.0-alpha.24";
35763
35745
 
35764
35746
  // src/transport.ts
35765
35747
  var DEFAULT_BASE_URL = "https://api.nexra-ai.com/v1";
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  projectMediaGeometry,
15
15
  queryString,
16
16
  sleep
17
- } from "./chunk-AM7HU7Y7.js";
17
+ } from "./chunk-7V2P2UQD.js";
18
18
  import {
19
19
  ceilDecimal,
20
20
  multiplyDecimal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byte_fluffy/nexra-sdk",
3
- "version": "0.1.0-alpha.23",
3
+ "version": "0.1.0-alpha.24",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "sideEffects": false,