@deaduchiha/orbito 0.1.0 → 0.1.2

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.
@@ -6,8 +6,16 @@
6
6
  "type": "string"
7
7
  },
8
8
  "version": {
9
- "type": "number",
10
- "const": 1
9
+ "anyOf": [
10
+ {
11
+ "type": "number",
12
+ "const": 1
13
+ },
14
+ {
15
+ "type": "number",
16
+ "const": 2
17
+ }
18
+ ]
11
19
  },
12
20
  "server": {
13
21
  "type": "string",
@@ -16,6 +24,95 @@
16
24
  "appId": {
17
25
  "type": "string",
18
26
  "pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
27
+ },
28
+ "preset": {
29
+ "type": "string",
30
+ "maxLength": 40
31
+ },
32
+ "branch": {
33
+ "type": "string",
34
+ "maxLength": 100
35
+ },
36
+ "install": {
37
+ "type": "string",
38
+ "maxLength": 10
39
+ },
40
+ "build": {
41
+ "type": "string",
42
+ "maxLength": 10
43
+ },
44
+ "migrate": {
45
+ "type": "string",
46
+ "maxLength": 10
47
+ },
48
+ "restart": {
49
+ "type": "string",
50
+ "maxLength": 10
51
+ },
52
+ "pm2Name": {
53
+ "type": "string",
54
+ "maxLength": 64
55
+ },
56
+ "healthPath": {
57
+ "type": "string",
58
+ "maxLength": 201
59
+ },
60
+ "layout": {
61
+ "type": "string",
62
+ "maxLength": 10
63
+ },
64
+ "shared": {
65
+ "maxItems": 50,
66
+ "type": "array",
67
+ "items": {
68
+ "type": "string",
69
+ "maxLength": 200
70
+ }
71
+ },
72
+ "vars": {
73
+ "type": "object",
74
+ "propertyNames": {
75
+ "type": "string",
76
+ "maxLength": 64
77
+ },
78
+ "additionalProperties": {
79
+ "type": "string",
80
+ "maxLength": 4096
81
+ }
82
+ },
83
+ "secrets": {
84
+ "type": "object",
85
+ "properties": {
86
+ "required": {
87
+ "maxItems": 100,
88
+ "type": "array",
89
+ "items": {
90
+ "type": "string",
91
+ "maxLength": 64
92
+ }
93
+ }
94
+ },
95
+ "required": [
96
+ "required"
97
+ ],
98
+ "additionalProperties": false
99
+ },
100
+ "dev": {
101
+ "type": "object",
102
+ "properties": {
103
+ "database": {
104
+ "type": "string",
105
+ "enum": [
106
+ "sqlite",
107
+ "postgres"
108
+ ]
109
+ },
110
+ "postgres": {
111
+ "type": "string",
112
+ "pattern": "^\\d{2}(\\.\\d{1,2})?$"
113
+ }
114
+ },
115
+ "additionalProperties": false
19
116
  }
20
117
  },
21
118
  "required": [