@giteeteam/apps-manifest 0.7.7 → 0.7.8

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.
@@ -50,7 +50,29 @@
50
50
  "indexes": {
51
51
  "type": "array",
52
52
  "items": {
53
- "type": "string"
53
+ "anyOf": [
54
+ {
55
+ "type": "string"
56
+ },
57
+ {
58
+ "type": "object",
59
+ "additionalProperties": true,
60
+ "properties": {
61
+ "name": {
62
+ "type": "string"
63
+ },
64
+ "fields": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string"
68
+ }
69
+ },
70
+ "unique": {
71
+ "type": "boolean"
72
+ }
73
+ }
74
+ }
75
+ ]
54
76
  }
55
77
  }
56
78
  },
package/lib/validate.js CHANGED
@@ -182,7 +182,7 @@ const validateScheduledTrigger = (json) => {
182
182
  catch (err) {
183
183
  errors.push({
184
184
  path: `/modules/scheduledTrigger/${module.key}`,
185
- message: `cronTime is invalid! `,
185
+ message: `CronTime is invalid! `,
186
186
  });
187
187
  }
188
188
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giteeteam/apps-manifest",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Giteeteam Apps Manifest",
5
5
  "keywords": [
6
6
  "typescript",
@@ -17,7 +17,8 @@
17
17
  "dev": "tsc -w",
18
18
  "build": "rm -rf lib && tsc",
19
19
  "prepack": "pnpm build",
20
- "prepublish": "pnpm build"
20
+ "prepublish": "pnpm build",
21
+ "prepublishOnly": "pnpm build"
21
22
  },
22
23
  "publishConfig": {
23
24
  "conventionalCommits": true,