@djvlc/contracts-schemas 1.5.3 → 1.5.4

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/index.d.mts CHANGED
@@ -3410,12 +3410,10 @@ declare const activityRuleSchema: {
3410
3410
  allOf: ({
3411
3411
  $ref: string;
3412
3412
  type?: undefined;
3413
- additionalProperties?: undefined;
3414
3413
  required?: undefined;
3415
3414
  properties?: undefined;
3416
3415
  } | {
3417
3416
  type: string;
3418
- additionalProperties: boolean;
3419
3417
  required: string[];
3420
3418
  properties: {
3421
3419
  type: {
@@ -3497,12 +3495,10 @@ declare const activityRuleSchema: {
3497
3495
  allOf: ({
3498
3496
  $ref: string;
3499
3497
  type?: undefined;
3500
- additionalProperties?: undefined;
3501
3498
  required?: undefined;
3502
3499
  properties?: undefined;
3503
3500
  } | {
3504
3501
  type: string;
3505
- additionalProperties: boolean;
3506
3502
  required: string[];
3507
3503
  properties: {
3508
3504
  type: {
@@ -3593,12 +3589,10 @@ declare const activityRuleSchema: {
3593
3589
  allOf: ({
3594
3590
  $ref: string;
3595
3591
  type?: undefined;
3596
- additionalProperties?: undefined;
3597
3592
  required?: undefined;
3598
3593
  properties?: undefined;
3599
3594
  } | {
3600
3595
  type: string;
3601
- additionalProperties: boolean;
3602
3596
  required: string[];
3603
3597
  properties: {
3604
3598
  type: {
@@ -7788,12 +7782,10 @@ declare const schemas: {
7788
7782
  allOf: ({
7789
7783
  $ref: string;
7790
7784
  type?: undefined;
7791
- additionalProperties?: undefined;
7792
7785
  required?: undefined;
7793
7786
  properties?: undefined;
7794
7787
  } | {
7795
7788
  type: string;
7796
- additionalProperties: boolean;
7797
7789
  required: string[];
7798
7790
  properties: {
7799
7791
  type: {
@@ -7875,12 +7867,10 @@ declare const schemas: {
7875
7867
  allOf: ({
7876
7868
  $ref: string;
7877
7869
  type?: undefined;
7878
- additionalProperties?: undefined;
7879
7870
  required?: undefined;
7880
7871
  properties?: undefined;
7881
7872
  } | {
7882
7873
  type: string;
7883
- additionalProperties: boolean;
7884
7874
  required: string[];
7885
7875
  properties: {
7886
7876
  type: {
@@ -7971,12 +7961,10 @@ declare const schemas: {
7971
7961
  allOf: ({
7972
7962
  $ref: string;
7973
7963
  type?: undefined;
7974
- additionalProperties?: undefined;
7975
7964
  required?: undefined;
7976
7965
  properties?: undefined;
7977
7966
  } | {
7978
7967
  type: string;
7979
- additionalProperties: boolean;
7980
7968
  required: string[];
7981
7969
  properties: {
7982
7970
  type: {
package/dist/index.d.ts CHANGED
@@ -3410,12 +3410,10 @@ declare const activityRuleSchema: {
3410
3410
  allOf: ({
3411
3411
  $ref: string;
3412
3412
  type?: undefined;
3413
- additionalProperties?: undefined;
3414
3413
  required?: undefined;
3415
3414
  properties?: undefined;
3416
3415
  } | {
3417
3416
  type: string;
3418
- additionalProperties: boolean;
3419
3417
  required: string[];
3420
3418
  properties: {
3421
3419
  type: {
@@ -3497,12 +3495,10 @@ declare const activityRuleSchema: {
3497
3495
  allOf: ({
3498
3496
  $ref: string;
3499
3497
  type?: undefined;
3500
- additionalProperties?: undefined;
3501
3498
  required?: undefined;
3502
3499
  properties?: undefined;
3503
3500
  } | {
3504
3501
  type: string;
3505
- additionalProperties: boolean;
3506
3502
  required: string[];
3507
3503
  properties: {
3508
3504
  type: {
@@ -3593,12 +3589,10 @@ declare const activityRuleSchema: {
3593
3589
  allOf: ({
3594
3590
  $ref: string;
3595
3591
  type?: undefined;
3596
- additionalProperties?: undefined;
3597
3592
  required?: undefined;
3598
3593
  properties?: undefined;
3599
3594
  } | {
3600
3595
  type: string;
3601
- additionalProperties: boolean;
3602
3596
  required: string[];
3603
3597
  properties: {
3604
3598
  type: {
@@ -7788,12 +7782,10 @@ declare const schemas: {
7788
7782
  allOf: ({
7789
7783
  $ref: string;
7790
7784
  type?: undefined;
7791
- additionalProperties?: undefined;
7792
7785
  required?: undefined;
7793
7786
  properties?: undefined;
7794
7787
  } | {
7795
7788
  type: string;
7796
- additionalProperties: boolean;
7797
7789
  required: string[];
7798
7790
  properties: {
7799
7791
  type: {
@@ -7875,12 +7867,10 @@ declare const schemas: {
7875
7867
  allOf: ({
7876
7868
  $ref: string;
7877
7869
  type?: undefined;
7878
- additionalProperties?: undefined;
7879
7870
  required?: undefined;
7880
7871
  properties?: undefined;
7881
7872
  } | {
7882
7873
  type: string;
7883
- additionalProperties: boolean;
7884
7874
  required: string[];
7885
7875
  properties: {
7886
7876
  type: {
@@ -7971,12 +7961,10 @@ declare const schemas: {
7971
7961
  allOf: ({
7972
7962
  $ref: string;
7973
7963
  type?: undefined;
7974
- additionalProperties?: undefined;
7975
7964
  required?: undefined;
7976
7965
  properties?: undefined;
7977
7966
  } | {
7978
7967
  type: string;
7979
- additionalProperties: boolean;
7980
7968
  required: string[];
7981
7969
  properties: {
7982
7970
  type: {
package/dist/index.js CHANGED
@@ -3110,7 +3110,7 @@ var manifest_default = {
3110
3110
  },
3111
3111
  name: {
3112
3112
  type: "string",
3113
- pattern: "^[a-z][a-z0-9-]*$",
3113
+ pattern: "^@[a-z0-9-]+/[a-z0-9-]+$",
3114
3114
  description: "\u7EC4\u4EF6\u540D\u79F0"
3115
3115
  },
3116
3116
  version: {
@@ -3283,7 +3283,6 @@ var activity_rule_default = {
3283
3283
  { $ref: "#/definitions/BaseActivityRule" },
3284
3284
  {
3285
3285
  type: "object",
3286
- additionalProperties: false,
3287
3286
  required: ["type", "prizes", "distributionStrategy"],
3288
3287
  properties: {
3289
3288
  type: {
@@ -3366,7 +3365,6 @@ var activity_rule_default = {
3366
3365
  { $ref: "#/definitions/BaseActivityRule" },
3367
3366
  {
3368
3367
  type: "object",
3369
- additionalProperties: false,
3370
3368
  required: ["type", "cycle", "allowMakeup", "consecutiveRewards"],
3371
3369
  properties: {
3372
3370
  type: {
@@ -3458,7 +3456,6 @@ var activity_rule_default = {
3458
3456
  { $ref: "#/definitions/BaseActivityRule" },
3459
3457
  {
3460
3458
  type: "object",
3461
- additionalProperties: false,
3462
3459
  required: ["type", "lotteryType", "prizePool", "probabilityConfig"],
3463
3460
  properties: {
3464
3461
  type: {
package/dist/index.mjs CHANGED
@@ -3108,7 +3108,7 @@ var manifest_default = {
3108
3108
  },
3109
3109
  name: {
3110
3110
  type: "string",
3111
- pattern: "^[a-z][a-z0-9-]*$",
3111
+ pattern: "^@[a-z0-9-]+/[a-z0-9-]+$",
3112
3112
  description: "\u7EC4\u4EF6\u540D\u79F0"
3113
3113
  },
3114
3114
  version: {
@@ -3281,7 +3281,6 @@ var activity_rule_default = {
3281
3281
  { $ref: "#/definitions/BaseActivityRule" },
3282
3282
  {
3283
3283
  type: "object",
3284
- additionalProperties: false,
3285
3284
  required: ["type", "prizes", "distributionStrategy"],
3286
3285
  properties: {
3287
3286
  type: {
@@ -3364,7 +3363,6 @@ var activity_rule_default = {
3364
3363
  { $ref: "#/definitions/BaseActivityRule" },
3365
3364
  {
3366
3365
  type: "object",
3367
- additionalProperties: false,
3368
3366
  required: ["type", "cycle", "allowMakeup", "consecutiveRewards"],
3369
3367
  properties: {
3370
3368
  type: {
@@ -3456,7 +3454,6 @@ var activity_rule_default = {
3456
3454
  { $ref: "#/definitions/BaseActivityRule" },
3457
3455
  {
3458
3456
  type: "object",
3459
- additionalProperties: false,
3460
3457
  required: ["type", "lotteryType", "prizePool", "probabilityConfig"],
3461
3458
  properties: {
3462
3459
  type: {
@@ -99,7 +99,6 @@
99
99
  { "$ref": "#/definitions/BaseActivityRule" },
100
100
  {
101
101
  "type": "object",
102
- "additionalProperties": false,
103
102
  "required": ["type", "prizes", "distributionStrategy"],
104
103
  "properties": {
105
104
  "type": {
@@ -182,7 +181,6 @@
182
181
  { "$ref": "#/definitions/BaseActivityRule" },
183
182
  {
184
183
  "type": "object",
185
- "additionalProperties": false,
186
184
  "required": ["type", "cycle", "allowMakeup", "consecutiveRewards"],
187
185
  "properties": {
188
186
  "type": {
@@ -274,7 +272,6 @@
274
272
  { "$ref": "#/definitions/BaseActivityRule" },
275
273
  {
276
274
  "type": "object",
277
- "additionalProperties": false,
278
275
  "required": ["type", "lotteryType", "prizePool", "probabilityConfig"],
279
276
  "properties": {
280
277
  "type": {
@@ -82,7 +82,7 @@
82
82
  },
83
83
  "name": {
84
84
  "type": "string",
85
- "pattern": "^[a-z][a-z0-9-]*$",
85
+ "pattern": "^@[a-z0-9-]+/[a-z0-9-]+$",
86
86
  "description": "组件名称"
87
87
  },
88
88
  "version": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djvlc/contracts-schemas",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "DJVLC Low-code Platform JSON Schema 定义",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",