dochub-sdk 0.1.363 → 0.1.365
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/interfaces/protocols.ts
CHANGED
@@ -172,10 +172,9 @@ export interface IDocHubCheckout extends IDocHubProtocolRequestConfig {
|
|
172
172
|
method: DocHubProtocolMethods.CHECKOUT,
|
173
173
|
comment: string;
|
174
174
|
data: {
|
175
|
-
name: string; // Название создаваемой ветки
|
176
175
|
sourceName?: string; // Название базовой ветки
|
177
176
|
sourceSHA?: string; // SHA базового коммита. Имеет преимущества перед source
|
178
|
-
autoInit?: boolean; // Признак автоматической инициализации репозитория если он пуст
|
177
|
+
autoInit?: boolean; // Признак автоматической инициализации ветки и репозитория если он пуст
|
179
178
|
}
|
180
179
|
}
|
181
180
|
|
package/package.json
CHANGED
package/schemas/dochub-yaml.ts
CHANGED
@@ -7,7 +7,7 @@ import {
|
|
7
7
|
* RegEx используемые в корневом манифесте
|
8
8
|
*/
|
9
9
|
export enum DocHubYamlPatterns {
|
10
|
-
packageID = '^[a-z0-
|
10
|
+
packageID = '^[a-z0-9\\_\\-]{2,128}$',
|
11
11
|
packageVer = '^[0-9]{1,6}\\.[0-9]{1,6}\\.[0-9]{1,6}$',
|
12
12
|
packageRequest = '^.{1,128}$',
|
13
13
|
packageName = '^.{2,128}$',
|