samva 0.54.0 → 0.56.0
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/AGENTS.md +1 -1
- package/README.md +1 -0
- package/dist/_virtual/_rolldown/runtime.js +4 -4
- package/dist/agent/index.js +1 -1
- package/dist/client/client/client.gen.js +1 -2
- package/dist/client/client/utils.gen.js +1 -1
- package/dist/client/client.gen.js +1 -1
- package/dist/client/sdk.gen.d.ts +69 -6
- package/dist/client/sdk.gen.js +216 -9
- package/dist/client/types.gen.d.ts +486 -7
- package/dist/client-attribution.js +1 -1
- package/dist/effect/agents.js +1 -1
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/approval-requests.js +1 -1
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +66 -56
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.js +6 -6
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/descriptors/phone-numbers.d.ts +49 -0
- package/dist/effect/descriptors/phone-numbers.js +47 -0
- package/dist/effect/descriptors/topics.d.ts +1 -1
- package/dist/effect/descriptors/topics.js +1 -1
- package/dist/effect/descriptors/whats-app.d.ts +10 -0
- package/dist/effect/descriptors/whats-app.js +10 -0
- package/dist/effect/email.js +1 -1
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/events.js +2 -2
- package/dist/effect/feedback.js +2 -2
- package/dist/effect/generated/accounts.d.ts +12 -1
- package/dist/effect/generated/accounts.js +2 -1
- package/dist/effect/generated/agents.js +7 -7
- package/dist/effect/generated/analytics.js +16 -16
- package/dist/effect/generated/api-keys.js +5 -5
- package/dist/effect/generated/approval-requests.js +1 -1
- package/dist/effect/generated/attachments.js +4 -4
- package/dist/effect/generated/brands.js +1 -1
- package/dist/effect/generated/campaigns.d.ts +17 -1
- package/dist/effect/generated/campaigns.js +15 -14
- package/dist/effect/generated/contact-events.js +1 -1
- package/dist/effect/generated/contact-groups.js +12 -12
- package/dist/effect/generated/contacts.js +50 -50
- package/dist/effect/generated/conversations.js +7 -7
- package/dist/effect/generated/custom-fields.js +6 -6
- package/dist/effect/generated/email.js +48 -48
- package/dist/effect/generated/events.js +5 -5
- package/dist/effect/generated/feedback.js +1 -1
- package/dist/effect/generated/index.d.ts +3 -1
- package/dist/effect/generated/integrations-catalog.d.ts +16 -0
- package/dist/effect/generated/integrations-catalog.js +10 -6
- package/dist/effect/generated/integrations.js +5 -5
- package/dist/effect/generated/journeys.d.ts +38 -1
- package/dist/effect/generated/journeys.js +16 -14
- package/dist/effect/generated/logs.js +2 -2
- package/dist/effect/generated/mailboxes.d.ts +41 -3
- package/dist/effect/generated/mailboxes.js +48 -50
- package/dist/effect/generated/media.js +1 -1
- package/dist/effect/generated/messages.js +5 -5
- package/dist/effect/generated/namespaces.d.ts +9 -9
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/newsletter-domains.js +1 -1
- package/dist/effect/generated/newsletter-issues.js +69 -69
- package/dist/effect/generated/newsletters.js +1 -1
- package/dist/effect/generated/operations.js +1 -1
- package/dist/effect/generated/organizations.d.ts +3 -0
- package/dist/effect/generated/organizations.js +2 -1
- package/dist/effect/generated/phone-numbers.d.ts +817 -0
- package/dist/effect/generated/phone-numbers.js +230 -0
- package/dist/effect/generated/policies.js +2 -2
- package/dist/effect/generated/scheduled-messages.js +1 -1
- package/dist/effect/generated/shared.d.ts +35 -14
- package/dist/effect/generated/shared.js +36 -13
- package/dist/effect/generated/subscriptions.js +1 -1
- package/dist/effect/generated/template-registrations.d.ts +9 -0
- package/dist/effect/generated/template-registrations.js +3 -2
- package/dist/effect/generated/template-share-links.js +9 -9
- package/dist/effect/generated/templates.js +119 -119
- package/dist/effect/generated/topic-forms.js +1 -1
- package/dist/effect/generated/topics.d.ts +10 -0
- package/dist/effect/generated/topics.js +20 -13
- package/dist/effect/generated/webhooks.d.ts +19 -19
- package/dist/effect/generated/webhooks.js +22 -18
- package/dist/effect/generated/whats-app-flows.js +5 -5
- package/dist/effect/generated/whats-app-setup-links.js +1 -1
- package/dist/effect/generated/whats-app.d.ts +251 -1
- package/dist/effect/generated/whats-app.js +75 -20
- package/dist/effect/generated/whoami.js +1 -1
- package/dist/effect/generated-metadata.d.ts +41 -1
- package/dist/effect/generated-metadata.js +174 -146
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +6 -5
- package/dist/effect/integrations-catalog.js +1 -1
- package/dist/effect/integrations.js +1 -1
- package/dist/effect/internal/client.js +6 -6
- package/dist/effect/internal/email-sender.js +3 -3
- package/dist/effect/internal/log-events.js +2 -2
- package/dist/effect/internal/mailbox-events.js +1 -1
- package/dist/effect/internal/operation.js +2 -2
- package/dist/effect/internal/send.js +4 -4
- package/dist/effect/journeys.d.ts +10 -0
- package/dist/effect/journeys.js +1 -1
- package/dist/effect/logs.js +1 -1
- package/dist/effect/mailboxes.d.ts +191 -191
- package/dist/effect/mailboxes.js +3 -3
- package/dist/effect/media.js +2 -2
- package/dist/effect/messages.js +2 -2
- package/dist/effect/namespaces.d.ts +2 -2
- package/dist/effect/namespaces.js +1 -1
- package/dist/effect/newsletter-domains.js +1 -1
- package/dist/effect/newsletter-issues.js +1 -1
- package/dist/effect/newsletters.js +1 -1
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/phone-numbers.d.ts +22 -0
- package/dist/effect/phone-numbers.js +21 -0
- package/dist/effect/policies.js +1 -1
- package/dist/effect/retry.js +3 -3
- package/dist/effect/scheduled-messages.d.ts +350 -350
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/subscriptions.js +1 -1
- package/dist/effect/template-registrations.js +1 -1
- package/dist/effect/template-share-links.js +1 -1
- package/dist/effect/templates.js +2 -2
- package/dist/effect/topic-forms.js +1 -1
- package/dist/effect/topics.d.ts +70 -2
- package/dist/effect/topics.js +1 -1
- package/dist/effect/webhooks.d.ts +4 -4
- package/dist/effect/webhooks.js +2 -2
- package/dist/effect/whatsapp-flows.js +1 -1
- package/dist/effect/whatsapp-setup-links.js +1 -1
- package/dist/effect/whatsapp.d.ts +16 -0
- package/dist/effect/whatsapp.js +4 -2
- package/dist/effect/whoami.js +1 -1
- package/dist/index.js +2 -2
- package/dist/package.json.js +5 -0
- package/dist/promises/client.d.ts +3 -1
- package/dist/promises/client.js +7 -5
- package/dist/promises/errors.gen.d.ts +16 -2
- package/dist/promises/errors.gen.js +48 -11
- package/dist/promises/index.js +3 -3
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-policy.js +1 -1
- package/dist/service-map.d.ts +30 -0
- package/package.json +9 -5
- package/dist/package.js +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ApiKeySecurityMiddleware, BrandAssets, BrandFooter, BrandId, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MalformedRequestError, NamespaceId, OrganizationId, RenderLocale, RenderTimeZone, ResourceNotFoundError, ServiceUnavailableError, ShareLinkUnavailable, SuccessResponse, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateSourceError, TemplateTrackingDefault, UnauthorizedError, UserId, ValidationError } from "./shared.js";
|
|
2
1
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
2
|
import * as Schema from "effect/Schema";
|
|
3
|
+
import { ApiKeySecurityMiddleware, BrandAssets, BrandFooter, BrandId, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MalformedRequestError, NamespaceId, OrganizationId, RenderLocale, RenderTimeZone, ResourceNotFoundError, ServiceUnavailableError, ShareLinkUnavailable, SuccessResponse, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateSourceError, TemplateTrackingDefault, UnauthorizedError, UserId, ValidationError } from "./shared.js";
|
|
4
4
|
// src/effect/generated/templates.ts
|
|
5
5
|
const TemplatePublicationBrand = /* @__PURE__ */ (() => Schema.Struct({
|
|
6
6
|
slug: Schema.String.annotate({ description: "The brand the publication imports." }).check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" })),
|
|
@@ -112,7 +112,7 @@ const TemplateInputContractPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
112
112
|
id: TemplateInputContractId,
|
|
113
113
|
organizationId: OrganizationId,
|
|
114
114
|
templateId: TemplateId,
|
|
115
|
-
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
115
|
+
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
116
116
|
validationDigest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
117
117
|
schema: Schema.Record(Schema.String, JsonValue),
|
|
118
118
|
createdAt: Schema.String
|
|
@@ -143,7 +143,7 @@ const TemplateSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
143
143
|
publishedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
144
144
|
brand: Schema.Union([TemplatePublicationBrand, Schema.Null]),
|
|
145
145
|
fromDefault: Schema.Union([TemplateFromDefault, Schema.Null]),
|
|
146
|
-
usageCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
146
|
+
usageCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
147
147
|
lastUsedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
148
148
|
createdAt: Schema.String,
|
|
149
149
|
updatedAt: Schema.String
|
|
@@ -209,7 +209,7 @@ const Template = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
209
209
|
publishedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
210
210
|
brand: Schema.Union([TemplatePublicationBrand, Schema.Null]),
|
|
211
211
|
fromDefault: Schema.Union([TemplateFromDefault, Schema.Null]),
|
|
212
|
-
usageCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
212
|
+
usageCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
213
213
|
lastUsedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
214
214
|
createdAt: Schema.String,
|
|
215
215
|
updatedAt: Schema.String,
|
|
@@ -234,7 +234,7 @@ const Template = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
234
234
|
sms: Schema.Union([Schema.Struct({
|
|
235
235
|
body: Schema.String,
|
|
236
236
|
encoding: Schema.Union([Schema.String, Schema.Null]),
|
|
237
|
-
estimatedSegments: Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-
|
|
237
|
+
estimatedSegments: Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })), Schema.Null]),
|
|
238
238
|
category: Schema.Union([Schema.Union([
|
|
239
239
|
Schema.Literal("transactional"),
|
|
240
240
|
Schema.Literal("promotional"),
|
|
@@ -415,7 +415,7 @@ const TemplatesGetInputContract200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
415
415
|
id: TemplateInputContractId,
|
|
416
416
|
organizationId: OrganizationId,
|
|
417
417
|
templateId: TemplateId,
|
|
418
|
-
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
418
|
+
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
419
419
|
validationDigest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
420
420
|
schema: Schema.Record(Schema.String, JsonValue),
|
|
421
421
|
createdAt: Schema.String
|
|
@@ -448,9 +448,9 @@ const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
448
448
|
manifest: Schema.Struct({
|
|
449
449
|
templateKey: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
450
450
|
compiled: Schema.Struct({
|
|
451
|
-
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
451
|
+
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
452
452
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
453
|
-
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
453
|
+
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
454
454
|
}),
|
|
455
455
|
compiler: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
456
456
|
input: Schema.Struct({
|
|
@@ -463,7 +463,7 @@ const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
463
463
|
path: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
464
464
|
fileName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}(?:\\.[A-Za-z0-9]+)?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}(?:\\.[A-Za-z0-9]+)?$" })),
|
|
465
465
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
466
|
-
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
466
|
+
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
467
467
|
contentType: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
468
468
|
url: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^https?:\\/\\/", "u")).annotate({ expected: "a string matching the RegExp ^https?:\\/\\/" }))
|
|
469
469
|
})).check(Schema.isMaxLength(32).annotate({ expected: "a value with a length of at most 32" }))
|
|
@@ -502,7 +502,7 @@ const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
502
502
|
path: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
503
503
|
fileName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}(?:\\.[A-Za-z0-9]+)?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}(?:\\.[A-Za-z0-9]+)?$" })),
|
|
504
504
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
505
|
-
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
505
|
+
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
506
506
|
contentType: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
507
507
|
url: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^https?:\\/\\/", "u")).annotate({ expected: "a string matching the RegExp ^https?:\\/\\/" }))
|
|
508
508
|
})),
|
|
@@ -516,8 +516,8 @@ const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
516
516
|
message: Schema.String,
|
|
517
517
|
origins: Schema.Array(Schema.Struct({
|
|
518
518
|
fileName: Schema.String,
|
|
519
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
520
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
519
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
520
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
521
521
|
})),
|
|
522
522
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
523
523
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -525,8 +525,8 @@ const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
525
525
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
526
526
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
527
527
|
fileName: Schema.String,
|
|
528
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
529
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
528
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
529
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
530
530
|
}))), Schema.Null])),
|
|
531
531
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
532
532
|
assessment: Schema.Union([
|
|
@@ -548,8 +548,8 @@ const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
548
548
|
message: Schema.String,
|
|
549
549
|
origins: Schema.Array(Schema.Struct({
|
|
550
550
|
fileName: Schema.String,
|
|
551
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
552
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
551
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
552
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
553
553
|
})),
|
|
554
554
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
555
555
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -557,8 +557,8 @@ const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
557
557
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
558
558
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
559
559
|
fileName: Schema.String,
|
|
560
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
561
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
560
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
561
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
562
562
|
}))), Schema.Null])),
|
|
563
563
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
564
564
|
assessment: Schema.Union([
|
|
@@ -601,9 +601,9 @@ const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
601
601
|
manifest: Schema.Struct({
|
|
602
602
|
templateKey: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
603
603
|
compiled: Schema.Struct({
|
|
604
|
-
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
604
|
+
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
605
605
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
606
|
-
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
606
|
+
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
607
607
|
}),
|
|
608
608
|
compiler: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
609
609
|
input: Schema.Struct({
|
|
@@ -616,7 +616,7 @@ const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
616
616
|
path: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
617
617
|
fileName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}(?:\\.[A-Za-z0-9]+)?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}(?:\\.[A-Za-z0-9]+)?$" })),
|
|
618
618
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
619
|
-
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
619
|
+
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
620
620
|
contentType: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
621
621
|
url: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^https?:\\/\\/", "u")).annotate({ expected: "a string matching the RegExp ^https?:\\/\\/" }))
|
|
622
622
|
})).check(Schema.isMaxLength(32).annotate({ expected: "a value with a length of at most 32" }))
|
|
@@ -655,7 +655,7 @@ const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
655
655
|
path: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
656
656
|
fileName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}(?:\\.[A-Za-z0-9]+)?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}(?:\\.[A-Za-z0-9]+)?$" })),
|
|
657
657
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
658
|
-
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
658
|
+
bytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
659
659
|
contentType: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
660
660
|
url: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^https?:\\/\\/", "u")).annotate({ expected: "a string matching the RegExp ^https?:\\/\\/" }))
|
|
661
661
|
})),
|
|
@@ -669,8 +669,8 @@ const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
669
669
|
message: Schema.String,
|
|
670
670
|
origins: Schema.Array(Schema.Struct({
|
|
671
671
|
fileName: Schema.String,
|
|
672
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
673
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
672
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
673
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
674
674
|
})),
|
|
675
675
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
676
676
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -678,8 +678,8 @@ const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
678
678
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
679
679
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
680
680
|
fileName: Schema.String,
|
|
681
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
682
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
681
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
682
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
683
683
|
}))), Schema.Null])),
|
|
684
684
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
685
685
|
assessment: Schema.Union([
|
|
@@ -701,8 +701,8 @@ const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
701
701
|
message: Schema.String,
|
|
702
702
|
origins: Schema.Array(Schema.Struct({
|
|
703
703
|
fileName: Schema.String,
|
|
704
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
705
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
704
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
705
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
706
706
|
})),
|
|
707
707
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
708
708
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -710,8 +710,8 @@ const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
710
710
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
711
711
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
712
712
|
fileName: Schema.String,
|
|
713
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
714
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
713
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
714
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
715
715
|
}))), Schema.Null])),
|
|
716
716
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
717
717
|
assessment: Schema.Union([
|
|
@@ -789,7 +789,7 @@ const TemplatesOpenWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
789
789
|
workspace: Schema.Struct({
|
|
790
790
|
projectId: TemplateProjectId,
|
|
791
791
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
792
|
-
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
792
|
+
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
793
793
|
repositoryName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$" })),
|
|
794
794
|
defaultBranch: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
795
795
|
baseCommit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
@@ -825,8 +825,8 @@ const TemplatesOpenWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
825
825
|
Schema.Struct({
|
|
826
826
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
827
827
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
828
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
829
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
828
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
829
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
830
830
|
kind: Schema.Literal("started-from"),
|
|
831
831
|
access: Schema.Literal("read-only"),
|
|
832
832
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -836,8 +836,8 @@ const TemplatesOpenWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
836
836
|
Schema.Struct({
|
|
837
837
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
838
838
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
839
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
840
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
839
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
840
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
841
841
|
kind: Schema.Literal("resource"),
|
|
842
842
|
access: Schema.Literal("read-only"),
|
|
843
843
|
resourceId: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
@@ -846,8 +846,8 @@ const TemplatesOpenWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
846
846
|
Schema.Struct({
|
|
847
847
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
848
848
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
849
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
850
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
849
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
850
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
851
851
|
kind: Schema.Literal("library-template"),
|
|
852
852
|
access: Schema.Literal("read-only"),
|
|
853
853
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -899,7 +899,7 @@ const TemplatesPatchWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
899
899
|
workspace: Schema.Struct({
|
|
900
900
|
projectId: TemplateProjectId,
|
|
901
901
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
902
|
-
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
902
|
+
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
903
903
|
repositoryName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$" })),
|
|
904
904
|
defaultBranch: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
905
905
|
baseCommit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
@@ -935,8 +935,8 @@ const TemplatesPatchWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
935
935
|
Schema.Struct({
|
|
936
936
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
937
937
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
938
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
939
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
938
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
939
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
940
940
|
kind: Schema.Literal("started-from"),
|
|
941
941
|
access: Schema.Literal("read-only"),
|
|
942
942
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -946,8 +946,8 @@ const TemplatesPatchWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
946
946
|
Schema.Struct({
|
|
947
947
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
948
948
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
949
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
950
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
949
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
950
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
951
951
|
kind: Schema.Literal("resource"),
|
|
952
952
|
access: Schema.Literal("read-only"),
|
|
953
953
|
resourceId: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
@@ -956,8 +956,8 @@ const TemplatesPatchWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
956
956
|
Schema.Struct({
|
|
957
957
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
958
958
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
959
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
960
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
959
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
960
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
961
961
|
kind: Schema.Literal("library-template"),
|
|
962
962
|
access: Schema.Literal("read-only"),
|
|
963
963
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1008,7 +1008,7 @@ const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1008
1008
|
workspace: Schema.Struct({
|
|
1009
1009
|
projectId: TemplateProjectId,
|
|
1010
1010
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
1011
|
-
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1011
|
+
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1012
1012
|
repositoryName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$" })),
|
|
1013
1013
|
defaultBranch: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
1014
1014
|
baseCommit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
@@ -1044,8 +1044,8 @@ const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1044
1044
|
Schema.Struct({
|
|
1045
1045
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1046
1046
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1047
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1048
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1047
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1048
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1049
1049
|
kind: Schema.Literal("started-from"),
|
|
1050
1050
|
access: Schema.Literal("read-only"),
|
|
1051
1051
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1055,8 +1055,8 @@ const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1055
1055
|
Schema.Struct({
|
|
1056
1056
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1057
1057
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1058
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1059
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1058
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1059
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1060
1060
|
kind: Schema.Literal("resource"),
|
|
1061
1061
|
access: Schema.Literal("read-only"),
|
|
1062
1062
|
resourceId: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
@@ -1065,8 +1065,8 @@ const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1065
1065
|
Schema.Struct({
|
|
1066
1066
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1067
1067
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1068
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1069
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1068
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1069
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1070
1070
|
kind: Schema.Literal("library-template"),
|
|
1071
1071
|
access: Schema.Literal("read-only"),
|
|
1072
1072
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1134,7 +1134,7 @@ const TemplatesCheckWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1134
1134
|
description: Schema.optionalKey(Schema.String),
|
|
1135
1135
|
image: Schema.optionalKey(Schema.String)
|
|
1136
1136
|
})),
|
|
1137
|
-
gate: Schema.optionalKey(Schema.Struct({ leadIn: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1137
|
+
gate: Schema.optionalKey(Schema.Struct({ leadIn: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })) }))
|
|
1138
1138
|
})
|
|
1139
1139
|
})),
|
|
1140
1140
|
diagnostics: Schema.Array(Schema.Struct({
|
|
@@ -1147,8 +1147,8 @@ const TemplatesCheckWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1147
1147
|
message: Schema.String,
|
|
1148
1148
|
origins: Schema.Array(Schema.Struct({
|
|
1149
1149
|
fileName: Schema.String,
|
|
1150
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1151
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1150
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1151
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1152
1152
|
})),
|
|
1153
1153
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1154
1154
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1156,8 +1156,8 @@ const TemplatesCheckWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1156
1156
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1157
1157
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
1158
1158
|
fileName: Schema.String,
|
|
1159
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1160
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1159
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1160
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1161
1161
|
}))), Schema.Null])),
|
|
1162
1162
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
1163
1163
|
assessment: Schema.Union([
|
|
@@ -1179,8 +1179,8 @@ const TemplatesCheckWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1179
1179
|
message: Schema.String,
|
|
1180
1180
|
origins: Schema.Array(Schema.Struct({
|
|
1181
1181
|
fileName: Schema.String,
|
|
1182
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1183
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1182
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1183
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1184
1184
|
})),
|
|
1185
1185
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1186
1186
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1188,8 +1188,8 @@ const TemplatesCheckWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1188
1188
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1189
1189
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
1190
1190
|
fileName: Schema.String,
|
|
1191
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1192
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1191
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1192
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1193
1193
|
}))), Schema.Null])),
|
|
1194
1194
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
1195
1195
|
assessment: Schema.Union([
|
|
@@ -1226,7 +1226,7 @@ const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ (() => Schema.Struc
|
|
|
1226
1226
|
workspace: Schema.Struct({
|
|
1227
1227
|
projectId: TemplateProjectId,
|
|
1228
1228
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
1229
|
-
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1229
|
+
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1230
1230
|
repositoryName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$" })),
|
|
1231
1231
|
defaultBranch: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
1232
1232
|
baseCommit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
@@ -1262,8 +1262,8 @@ const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ (() => Schema.Struc
|
|
|
1262
1262
|
Schema.Struct({
|
|
1263
1263
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1264
1264
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1265
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1266
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1265
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1266
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1267
1267
|
kind: Schema.Literal("started-from"),
|
|
1268
1268
|
access: Schema.Literal("read-only"),
|
|
1269
1269
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1273,8 +1273,8 @@ const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ (() => Schema.Struc
|
|
|
1273
1273
|
Schema.Struct({
|
|
1274
1274
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1275
1275
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1276
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1277
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1276
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1277
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1278
1278
|
kind: Schema.Literal("resource"),
|
|
1279
1279
|
access: Schema.Literal("read-only"),
|
|
1280
1280
|
resourceId: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
@@ -1283,8 +1283,8 @@ const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ (() => Schema.Struc
|
|
|
1283
1283
|
Schema.Struct({
|
|
1284
1284
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1285
1285
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1286
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1287
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1286
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1287
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1288
1288
|
kind: Schema.Literal("library-template"),
|
|
1289
1289
|
access: Schema.Literal("read-only"),
|
|
1290
1290
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1390,7 +1390,7 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1390
1390
|
description: Schema.optionalKey(Schema.String),
|
|
1391
1391
|
image: Schema.optionalKey(Schema.String)
|
|
1392
1392
|
})),
|
|
1393
|
-
gate: Schema.optionalKey(Schema.Struct({ leadIn: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1393
|
+
gate: Schema.optionalKey(Schema.Struct({ leadIn: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })) }))
|
|
1394
1394
|
})
|
|
1395
1395
|
})),
|
|
1396
1396
|
diagnostics: Schema.Array(Schema.Struct({
|
|
@@ -1403,8 +1403,8 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1403
1403
|
message: Schema.String,
|
|
1404
1404
|
origins: Schema.Array(Schema.Struct({
|
|
1405
1405
|
fileName: Schema.String,
|
|
1406
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1407
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1406
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1407
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1408
1408
|
})),
|
|
1409
1409
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1410
1410
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1412,8 +1412,8 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1412
1412
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1413
1413
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
1414
1414
|
fileName: Schema.String,
|
|
1415
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1416
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1415
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1416
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1417
1417
|
}))), Schema.Null])),
|
|
1418
1418
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
1419
1419
|
assessment: Schema.Union([
|
|
@@ -1435,8 +1435,8 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1435
1435
|
message: Schema.String,
|
|
1436
1436
|
origins: Schema.Array(Schema.Struct({
|
|
1437
1437
|
fileName: Schema.String,
|
|
1438
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1439
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1438
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1439
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1440
1440
|
})),
|
|
1441
1441
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1442
1442
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1444,8 +1444,8 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1444
1444
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1445
1445
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
1446
1446
|
fileName: Schema.String,
|
|
1447
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1448
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1447
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1448
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1449
1449
|
}))), Schema.Null])),
|
|
1450
1450
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
1451
1451
|
assessment: Schema.Union([
|
|
@@ -1468,18 +1468,18 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1468
1468
|
tag: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
1469
1469
|
origins: Schema.Array(Schema.Struct({
|
|
1470
1470
|
fileName: Schema.String,
|
|
1471
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1472
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1471
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1472
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1473
1473
|
})),
|
|
1474
1474
|
authored: Schema.Boolean,
|
|
1475
|
-
occurrence: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1476
|
-
occurrences: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1475
|
+
occurrence: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1476
|
+
occurrences: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1477
1477
|
parentPath: Schema.optionalKey(Schema.String),
|
|
1478
|
-
start: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1479
|
-
end: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1478
|
+
start: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1479
|
+
end: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1480
1480
|
})),
|
|
1481
|
-
sentBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-
|
|
1482
|
-
previewBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-
|
|
1481
|
+
sentBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1482
|
+
previewBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1483
1483
|
}), Schema.Null]),
|
|
1484
1484
|
whatsapp: Schema.Union([Schema.Struct({
|
|
1485
1485
|
language: Schema.String,
|
|
@@ -1531,15 +1531,15 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1531
1531
|
tag: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
1532
1532
|
origins: Schema.Array(Schema.Struct({
|
|
1533
1533
|
fileName: Schema.String,
|
|
1534
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1535
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1534
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1535
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1536
1536
|
})),
|
|
1537
1537
|
authored: Schema.Boolean,
|
|
1538
|
-
occurrence: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1539
|
-
occurrences: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1538
|
+
occurrence: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1539
|
+
occurrences: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1540
1540
|
parentPath: Schema.optionalKey(Schema.String),
|
|
1541
|
-
start: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1542
|
-
end: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1541
|
+
start: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1542
|
+
end: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1543
1543
|
}))
|
|
1544
1544
|
}), Schema.Null]))
|
|
1545
1545
|
}))();
|
|
@@ -1595,7 +1595,7 @@ const TemplatesAttachWorkspaceResourceRequestJson = /* @__PURE__ */ (() => Schem
|
|
|
1595
1595
|
const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1596
1596
|
projectId: TemplateProjectId,
|
|
1597
1597
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
1598
|
-
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1598
|
+
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1599
1599
|
repositoryName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$" })),
|
|
1600
1600
|
defaultBranch: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
1601
1601
|
baseCommit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
@@ -1631,8 +1631,8 @@ const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1631
1631
|
Schema.Struct({
|
|
1632
1632
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1633
1633
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1634
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1635
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1634
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1635
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1636
1636
|
kind: Schema.Literal("started-from"),
|
|
1637
1637
|
access: Schema.Literal("read-only"),
|
|
1638
1638
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1642,8 +1642,8 @@ const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1642
1642
|
Schema.Struct({
|
|
1643
1643
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1644
1644
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1645
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1646
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1645
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1646
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1647
1647
|
kind: Schema.Literal("resource"),
|
|
1648
1648
|
access: Schema.Literal("read-only"),
|
|
1649
1649
|
resourceId: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
@@ -1652,8 +1652,8 @@ const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1652
1652
|
Schema.Struct({
|
|
1653
1653
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1654
1654
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1655
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1656
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1655
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1656
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1657
1657
|
kind: Schema.Literal("library-template"),
|
|
1658
1658
|
access: Schema.Literal("read-only"),
|
|
1659
1659
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1699,7 +1699,7 @@ const TemplatesRemoveWorkspaceResourceRequestJson = /* @__PURE__ */ (() => Schem
|
|
|
1699
1699
|
const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1700
1700
|
projectId: TemplateProjectId,
|
|
1701
1701
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
1702
|
-
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1702
|
+
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1703
1703
|
repositoryName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$" })),
|
|
1704
1704
|
defaultBranch: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
1705
1705
|
baseCommit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
@@ -1735,8 +1735,8 @@ const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1735
1735
|
Schema.Struct({
|
|
1736
1736
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1737
1737
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1738
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1739
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1738
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1739
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1740
1740
|
kind: Schema.Literal("started-from"),
|
|
1741
1741
|
access: Schema.Literal("read-only"),
|
|
1742
1742
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1746,8 +1746,8 @@ const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1746
1746
|
Schema.Struct({
|
|
1747
1747
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1748
1748
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1749
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1750
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1749
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1750
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1751
1751
|
kind: Schema.Literal("resource"),
|
|
1752
1752
|
access: Schema.Literal("read-only"),
|
|
1753
1753
|
resourceId: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
@@ -1756,8 +1756,8 @@ const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1756
1756
|
Schema.Struct({
|
|
1757
1757
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1758
1758
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1759
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1760
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1759
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1760
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1761
1761
|
kind: Schema.Literal("library-template"),
|
|
1762
1762
|
access: Schema.Literal("read-only"),
|
|
1763
1763
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1805,7 +1805,7 @@ const TemplatesRestoreWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1805
1805
|
workspace: Schema.Struct({
|
|
1806
1806
|
projectId: TemplateProjectId,
|
|
1807
1807
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
1808
|
-
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(
|
|
1808
|
+
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1809
1809
|
repositoryName: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$" })),
|
|
1810
1810
|
defaultBranch: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
1811
1811
|
baseCommit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
@@ -1841,8 +1841,8 @@ const TemplatesRestoreWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1841
1841
|
Schema.Struct({
|
|
1842
1842
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1843
1843
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1844
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1845
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1844
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1845
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1846
1846
|
kind: Schema.Literal("started-from"),
|
|
1847
1847
|
access: Schema.Literal("read-only"),
|
|
1848
1848
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1852,8 +1852,8 @@ const TemplatesRestoreWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1852
1852
|
Schema.Struct({
|
|
1853
1853
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1854
1854
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1855
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1856
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1855
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1856
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1857
1857
|
kind: Schema.Literal("resource"),
|
|
1858
1858
|
access: Schema.Literal("read-only"),
|
|
1859
1859
|
resourceId: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
@@ -1862,8 +1862,8 @@ const TemplatesRestoreWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1862
1862
|
Schema.Struct({
|
|
1863
1863
|
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1864
1864
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1865
|
-
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1866
|
-
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1865
|
+
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1866
|
+
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1867
1867
|
kind: Schema.Literal("library-template"),
|
|
1868
1868
|
access: Schema.Literal("read-only"),
|
|
1869
1869
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1932,8 +1932,8 @@ const TemplatesSaveWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1932
1932
|
message: Schema.String,
|
|
1933
1933
|
origins: Schema.Array(Schema.Struct({
|
|
1934
1934
|
fileName: Schema.String,
|
|
1935
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1936
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1935
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1936
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1937
1937
|
})),
|
|
1938
1938
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1939
1939
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1941,8 +1941,8 @@ const TemplatesSaveWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1941
1941
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1942
1942
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
1943
1943
|
fileName: Schema.String,
|
|
1944
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1945
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1944
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1945
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1946
1946
|
}))), Schema.Null])),
|
|
1947
1947
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
1948
1948
|
assessment: Schema.Union([
|
|
@@ -1964,8 +1964,8 @@ const TemplatesSaveWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1964
1964
|
message: Schema.String,
|
|
1965
1965
|
origins: Schema.Array(Schema.Struct({
|
|
1966
1966
|
fileName: Schema.String,
|
|
1967
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1968
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1967
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1968
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1969
1969
|
})),
|
|
1970
1970
|
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1971
1971
|
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1973,8 +1973,8 @@ const TemplatesSaveWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1973
1973
|
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1974
1974
|
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
1975
1975
|
fileName: Schema.String,
|
|
1976
|
-
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1977
|
-
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(
|
|
1976
|
+
lineNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1977
|
+
columnNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1978
1978
|
}))), Schema.Null])),
|
|
1979
1979
|
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
1980
1980
|
assessment: Schema.Union([
|