Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit bbdb2ab

Browse files
authored
Merge pull request #21 from sitecorelabs/main
Updating staging with all of the changes from the dev fork
2 parents 0cf9693 + df33405 commit bbdb2ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+8962
-7735
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"sitecore.cli": {
6-
"version": "5.0.16",
6+
"version": "5.1.25",
77
"commands": [
88
"sitecore"
99
]
Lines changed: 41 additions & 222 deletions
Original file line numberDiff line numberDiff line change
@@ -1,223 +1,42 @@
1-
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"title": "ModuleFile",
4-
"description": "Sitecore module definition file schema",
5-
"allOf": [
6-
{
7-
"title": "ModuleConfiguration",
8-
"type": "object",
9-
"description": "Defines a \"DevEx Module\" that is a Helix-like module that can contain serialized item configurations, etc.\nThis class is overridden with Serialization-specific derived versions that provide access to their module-specific settings.",
10-
"additionalProperties": {},
11-
"required": [
12-
"namespace"
13-
],
14-
"properties": {
15-
"$schema": {
16-
"type": "string"
17-
},
18-
"namespace": {
19-
"type": "string",
20-
"description": "The namespace of the module. All resources in the module inherit this namespace.\nNamespaces can contain letters, numbers, dots (.), and hyphens (-).",
21-
"minLength": 1,
22-
"pattern": "^[A-Za-z0-9\\.\\-\\$\\{\\}\\(\\)]+$"
23-
},
24-
"description": {
25-
"type": "string",
26-
"description": "Description of the module, for reference/docs purposes only"
27-
},
28-
"references": {
29-
"type": "array",
30-
"description": "Names of other modules that are referenced by resources in this module. Wildcards are allowed, i.e. Foundation.*.",
31-
"items": {
32-
"type": "string"
33-
}
34-
},
35-
"source": {
36-
"type": "string",
37-
"description": "Generic identifier as to where the module came from. Used internally for error messaging. Do not set in a module file; it will be ignored."
38-
}
39-
}
40-
},
41-
{
42-
"title": "SerializationModuleConfiguration",
43-
"type": "object",
44-
"additionalProperties": {},
45-
"required": [
46-
"namespace"
47-
],
48-
"properties": {
49-
"$schema": {
50-
"type": "string"
51-
},
52-
"namespace": {
53-
"type": "string",
54-
"description": "The namespace of the module. All resources in the module inherit this namespace.\nNamespaces can contain letters, numbers, dots (.), and hyphens (-).",
55-
"minLength": 1,
56-
"pattern": "^[A-Za-z0-9\\.\\-\\$\\{\\}\\(\\)]+$"
57-
},
58-
"description": {
59-
"type": "string",
60-
"description": "Description of the module, for reference/docs purposes only"
61-
},
62-
"references": {
63-
"type": "array",
64-
"description": "Names of other modules that are referenced by resources in this module. Wildcards are allowed, i.e. Foundation.*.",
65-
"items": {
66-
"type": "string"
67-
}
68-
},
69-
"source": {
70-
"type": "string",
71-
"description": "Generic identifier as to where the module came from. Used internally for error messaging. Do not set in a module file; it will be ignored."
72-
},
73-
"items": {
74-
"$ref": "#/allOf/1/definitions/SerializationModuleConfigurationItems"
75-
}
76-
},
77-
"definitions": {
78-
"SerializationModuleConfigurationItems": {
79-
"type": "object",
80-
"additionalProperties": false,
81-
"required": [
82-
"includes"
83-
],
84-
"properties": {
85-
"path": {
86-
"type": "string"
87-
},
88-
"includes": {
89-
"type": "array",
90-
"minItems": 1,
91-
"items": {
92-
"$ref": "#/allOf/1/definitions/FilesystemTreeSpec"
93-
}
94-
}
95-
}
96-
},
97-
"FilesystemTreeSpec": {
98-
"type": "object",
99-
"additionalProperties": false,
100-
"required": [
101-
"path",
102-
"name"
103-
],
104-
"properties": {
105-
"path": {
106-
"type": "string",
107-
"minLength": 1
108-
},
109-
"scope": {
110-
"$ref": "#/allOf/1/definitions/TreeScope"
111-
},
112-
"allowedPushOperations": {
113-
"$ref": "#/allOf/1/definitions/AllowedPushOperations"
114-
},
115-
"rules": {
116-
"type": "array",
117-
"items": {
118-
"$ref": "#/allOf/1/definitions/FilesystemTreeSpecRule"
119-
}
120-
},
121-
"maxRelativePathLength": {
122-
"type": [
123-
"integer",
124-
"null"
125-
],
126-
"format": "int32"
127-
},
128-
"name": {
129-
"type": "string",
130-
"minLength": 1
131-
},
132-
"database": {
133-
"type": "string"
134-
}
135-
}
136-
},
137-
"TreeScope": {
138-
"type": "string",
139-
"description": "",
140-
"x-enumNames": [
141-
"SingleItem",
142-
"ItemAndChildren",
143-
"ItemAndDescendants",
144-
"DescendantsOnly"
145-
],
146-
"enum": [
147-
"singleItem",
148-
"itemAndChildren",
149-
"itemAndDescendants",
150-
"descendantsOnly"
151-
]
152-
},
153-
"AllowedPushOperations": {
154-
"type": "string",
155-
"description": "",
156-
"x-enumNames": [
157-
"CreateUpdateAndDelete",
158-
"CreateAndUpdate",
159-
"CreateOnly"
160-
],
161-
"enum": [
162-
"createUpdateAndDelete",
163-
"createAndUpdate",
164-
"createOnly"
165-
]
166-
},
167-
"FilesystemTreeSpecRule": {
168-
"type": "object",
169-
"additionalProperties": false,
170-
"required": [
171-
"path"
172-
],
173-
"properties": {
174-
"path": {
175-
"type": "string",
176-
"minLength": 1,
177-
"pattern": "^(/.+|\\*)$"
178-
},
179-
"scope": {
180-
"oneOf": [
181-
{
182-
"type": "null"
183-
},
184-
{
185-
"$ref": "#/allOf/1/definitions/TreeRuleScope"
186-
}
187-
]
188-
},
189-
"allowedPushOperations": {
190-
"oneOf": [
191-
{
192-
"type": "null"
193-
},
194-
{
195-
"$ref": "#/allOf/1/definitions/AllowedPushOperations"
196-
}
197-
]
198-
},
199-
"alias": {
200-
"type": "string"
201-
}
202-
}
203-
},
204-
"TreeRuleScope": {
205-
"type": "string",
206-
"description": "",
207-
"x-enumNames": [
208-
"Ignored",
209-
"SingleItem",
210-
"ItemAndChildren",
211-
"ItemAndDescendants"
212-
],
213-
"enum": [
214-
"ignored",
215-
"singleItem",
216-
"itemAndChildren",
217-
"itemAndDescendants"
218-
]
219-
}
220-
}
221-
}
222-
]
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "ModuleFile",
4+
"description": "Sitecore module definition file schema",
5+
"allOf": [
6+
{
7+
"title": "ModuleConfiguration",
8+
"type": "object",
9+
"description": "Defines a \"DevEx Module\" that is a Helix-like module that can contain serialized item configurations, etc.\nThis class is overridden with Serialization-specific derived versions that provide access to their module-specific settings.",
10+
"additionalProperties": {},
11+
"required": [
12+
"namespace"
13+
],
14+
"properties": {
15+
"$schema": {
16+
"type": "string"
17+
},
18+
"namespace": {
19+
"type": "string",
20+
"description": "The namespace of the module. All resources in the module inherit this namespace.\nNamespaces can contain letters, numbers, dots (.), and hyphens (-).",
21+
"minLength": 1,
22+
"pattern": "^[A-Za-z0-9\\.\\-\\$\\{\\}\\(\\)]+$"
23+
},
24+
"description": {
25+
"type": "string",
26+
"description": "Description of the module, for reference/docs purposes only"
27+
},
28+
"references": {
29+
"type": "array",
30+
"description": "Names of other modules that are referenced by resources in this module. Wildcards are allowed, i.e. Foundation.*.",
31+
"items": {
32+
"type": "string"
33+
}
34+
},
35+
"source": {
36+
"type": "string",
37+
"description": "Generic identifier as to where the module came from. Used internally for error messaging. Do not set in a module file; it will be ignored."
38+
}
39+
}
40+
}
41+
]
22342
}

0 commit comments

Comments
 (0)