samva 0.28.0 → 0.29.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 +8 -0
- package/README.md +2 -0
- package/dist/client/sdk.gen.d.ts +156 -1
- package/dist/client/sdk.gen.js +475 -1
- package/dist/client/types.gen.d.ts +1653 -183
- package/dist/effect/campaigns.d.ts +32 -0
- package/dist/effect/generated/agents.js +36 -36
- package/dist/effect/generated/analytics.js +24 -24
- package/dist/effect/generated/api-keys.js +29 -29
- package/dist/effect/generated/attachments.js +13 -13
- package/dist/effect/generated/brands.js +13 -13
- package/dist/effect/generated/campaigns.d.ts +178 -60
- package/dist/effect/generated/campaigns.js +92 -104
- package/dist/effect/generated/contact-events.js +5 -5
- package/dist/effect/generated/contact-groups.js +38 -38
- package/dist/effect/generated/contacts.js +93 -93
- package/dist/effect/generated/conversations.js +38 -38
- package/dist/effect/generated/custom-fields.js +15 -15
- package/dist/effect/generated/email.js +225 -225
- package/dist/effect/generated/events.js +5 -5
- package/dist/effect/generated/extension-installations.js +35 -35
- package/dist/effect/generated/extensions.js +24 -24
- package/dist/effect/generated/feedback.js +6 -6
- package/dist/effect/generated/index.d.ts +5 -1
- package/dist/effect/generated/journeys.js +67 -67
- package/dist/effect/generated/mailboxes.js +286 -286
- package/dist/effect/generated/media.js +16 -16
- package/dist/effect/generated/messages.js +65 -65
- package/dist/effect/generated/namespaces.js +27 -27
- package/dist/effect/generated/operations.js +6 -6
- package/dist/effect/generated/organizations.js +19 -19
- package/dist/effect/generated/publication-domains.d.ts +548 -0
- package/dist/effect/generated/publication-domains.js +163 -0
- package/dist/effect/generated/scheduled-messages.js +25 -25
- package/dist/effect/generated/shared.d.ts +142 -30
- package/dist/effect/generated/shared.js +356 -328
- package/dist/effect/generated/subscriptions.js +10 -10
- package/dist/effect/generated/templates.d.ts +172 -15
- package/dist/effect/generated/templates.js +207 -162
- package/dist/effect/generated/topic-forms.js +21 -21
- package/dist/effect/generated/topic-issues.d.ts +2995 -0
- package/dist/effect/generated/topic-issues.js +985 -0
- package/dist/effect/generated/topics.d.ts +61 -1
- package/dist/effect/generated/topics.js +39 -31
- package/dist/effect/generated/webhooks.js +50 -50
- package/dist/effect/generated/whoami.js +10 -10
- package/dist/effect/generated-metadata.d.ts +70 -0
- package/dist/effect/generated-metadata.js +57 -13
- package/dist/effect/index.d.ts +2 -0
- package/dist/effect/index.js +3 -1
- package/dist/effect/journeys.d.ts +112 -112
- package/dist/effect/mailboxes.d.ts +78 -78
- package/dist/effect/publication-domains.d.ts +14 -0
- package/dist/effect/publication-domains.js +17 -0
- package/dist/effect/topic-issues.d.ts +57 -0
- package/dist/effect/topic-issues.js +33 -0
- package/dist/effect/topics.d.ts +6 -2
- package/dist/package.js +1 -1
- package/dist/promises/index.d.ts +5 -1
- package/dist/promises/index.js +5 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +74 -0
- package/dist/service-map.js +56 -0
- package/package.json +11 -3
|
@@ -0,0 +1,985 @@
|
|
|
1
|
+
import { ApiKeySecurityMiddleware, CampaignId, CampaignLatestRun, ConflictError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, OrganizationId, ResourceNotFoundError, TemplateProjectId, TemplateSourceError, TopicId, UnauthorizedError, UserId, ValidationError } from "./shared.js";
|
|
2
|
+
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
|
+
import * as Schema from "effect/Schema";
|
|
4
|
+
//#region src/effect/generated/topic-issues.ts
|
|
5
|
+
const TopicIssueDocument = /* @__PURE__ */ (() => Schema.Struct({
|
|
6
|
+
projectId: TemplateProjectId,
|
|
7
|
+
revision: 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" })),
|
|
8
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
9
|
+
content: Schema.String
|
|
10
|
+
}).annotate({ identifier: "TopicIssueDocument" }))();
|
|
11
|
+
const TopicIssueSend = /* @__PURE__ */ (() => Schema.Struct({
|
|
12
|
+
campaignId: CampaignId,
|
|
13
|
+
run: CampaignLatestRun
|
|
14
|
+
}).annotate({ identifier: "TopicIssueSend" }))();
|
|
15
|
+
const TopicIssueListItem = /* @__PURE__ */ (() => Schema.Struct({
|
|
16
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
17
|
+
title: Schema.Union([Schema.String, Schema.Null]),
|
|
18
|
+
latestSend: Schema.Union([TopicIssueSend, Schema.Null])
|
|
19
|
+
}).annotate({ identifier: "TopicIssueListItem" }))();
|
|
20
|
+
const TopicIssueList = /* @__PURE__ */ (() => Schema.Struct({
|
|
21
|
+
projectId: Schema.Union([TemplateProjectId, Schema.Null]),
|
|
22
|
+
revision: Schema.Union([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" })), Schema.Null]),
|
|
23
|
+
items: Schema.Array(TopicIssueListItem)
|
|
24
|
+
}).annotate({ identifier: "TopicIssueList" }))();
|
|
25
|
+
const TopicIssuesListPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
26
|
+
const TopicIssuesList200 = TopicIssueList;
|
|
27
|
+
const TopicIssuesList401 = UnauthorizedError;
|
|
28
|
+
const TopicIssuesList403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
29
|
+
const TopicIssuesList404 = ResourceNotFoundError;
|
|
30
|
+
const TopicIssuesList409 = ConflictError;
|
|
31
|
+
const TopicIssuesList422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
32
|
+
const TopicIssuesList500 = InternalError;
|
|
33
|
+
const TopicIssuesList504 = GatewayTimeoutError;
|
|
34
|
+
const TopicIssuesCreatePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
35
|
+
const TopicIssuesCreateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
36
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
37
|
+
content: Schema.String,
|
|
38
|
+
idempotencyKey: 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" })),
|
|
39
|
+
expectedRevision: Schema.optionalKey(Schema.Union([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" })), Schema.Null]))
|
|
40
|
+
}))();
|
|
41
|
+
const TopicIssuesCreate200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
42
|
+
workspace: Schema.Struct({
|
|
43
|
+
projectId: TemplateProjectId,
|
|
44
|
+
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
45
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
46
|
+
repositoryName: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new 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}$" })),
|
|
47
|
+
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" })),
|
|
48
|
+
baseCommit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
49
|
+
remoteHead: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
50
|
+
pendingRemoteHead: Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })), Schema.Null]),
|
|
51
|
+
revision: Schema.String,
|
|
52
|
+
overlay: Schema.Record(Schema.String, Schema.Union([Schema.String, Schema.Null])),
|
|
53
|
+
assetChanges: Schema.Array(Schema.Struct({
|
|
54
|
+
path: Schema.String,
|
|
55
|
+
status: Schema.Union([
|
|
56
|
+
Schema.Literal("added"),
|
|
57
|
+
Schema.Literal("modified"),
|
|
58
|
+
Schema.Literal("deleted")
|
|
59
|
+
])
|
|
60
|
+
})),
|
|
61
|
+
conflicts: Schema.Array(Schema.Struct({
|
|
62
|
+
path: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$" })),
|
|
63
|
+
base: Schema.Union([Schema.String, Schema.Null]),
|
|
64
|
+
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
65
|
+
main: Schema.Union([Schema.String, Schema.Null])
|
|
66
|
+
})),
|
|
67
|
+
provenance: Schema.Struct({ references: Schema.Array(Schema.Struct({
|
|
68
|
+
kind: Schema.String,
|
|
69
|
+
digest: Schema.String,
|
|
70
|
+
locator: Schema.optionalKey(Schema.String)
|
|
71
|
+
})) }),
|
|
72
|
+
mounts: Schema.Array(Schema.Union([
|
|
73
|
+
Schema.Struct({
|
|
74
|
+
kind: Schema.Literal("project"),
|
|
75
|
+
root: Schema.Literal("/project"),
|
|
76
|
+
access: Schema.Literal("read-write")
|
|
77
|
+
}),
|
|
78
|
+
Schema.Struct({
|
|
79
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
80
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
81
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
82
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
83
|
+
kind: Schema.Literal("started-from"),
|
|
84
|
+
access: Schema.Literal("read-only"),
|
|
85
|
+
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" })),
|
|
86
|
+
slug: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
87
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
88
|
+
}),
|
|
89
|
+
Schema.Struct({
|
|
90
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
91
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
92
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
93
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
94
|
+
kind: Schema.Literal("resource"),
|
|
95
|
+
access: Schema.Literal("read-only"),
|
|
96
|
+
resourceId: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
97
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
98
|
+
}),
|
|
99
|
+
Schema.Struct({
|
|
100
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
101
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
102
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
103
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
104
|
+
kind: Schema.Literal("library-template"),
|
|
105
|
+
access: Schema.Literal("read-only"),
|
|
106
|
+
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" })),
|
|
107
|
+
slug: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
108
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
109
|
+
})
|
|
110
|
+
])),
|
|
111
|
+
libraryManifestDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
112
|
+
createdAt: Schema.String,
|
|
113
|
+
updatedAt: Schema.String,
|
|
114
|
+
createdBy: Schema.Struct({
|
|
115
|
+
userId: UserId,
|
|
116
|
+
via: Schema.Union([
|
|
117
|
+
Schema.Literal("api"),
|
|
118
|
+
Schema.Literal("mcp"),
|
|
119
|
+
Schema.Literal("agent")
|
|
120
|
+
])
|
|
121
|
+
}),
|
|
122
|
+
updatedBy: Schema.Struct({
|
|
123
|
+
userId: UserId,
|
|
124
|
+
via: Schema.Union([
|
|
125
|
+
Schema.Literal("api"),
|
|
126
|
+
Schema.Literal("mcp"),
|
|
127
|
+
Schema.Literal("agent")
|
|
128
|
+
])
|
|
129
|
+
})
|
|
130
|
+
}),
|
|
131
|
+
files: Schema.Record(Schema.String, Schema.String)
|
|
132
|
+
}))();
|
|
133
|
+
const TopicIssuesCreate401 = UnauthorizedError;
|
|
134
|
+
const TopicIssuesCreate403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
135
|
+
const TopicIssuesCreate404 = ResourceNotFoundError;
|
|
136
|
+
const TopicIssuesCreate409 = ConflictError;
|
|
137
|
+
const TopicIssuesCreate422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
138
|
+
const TopicIssuesCreate500 = InternalError;
|
|
139
|
+
const TopicIssuesCreate504 = GatewayTimeoutError;
|
|
140
|
+
const TopicIssuesUpdatePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
141
|
+
const TopicIssuesUpdateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
142
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
143
|
+
content: Schema.String,
|
|
144
|
+
idempotencyKey: 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" })),
|
|
145
|
+
expectedRevision: 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" }))
|
|
146
|
+
}))();
|
|
147
|
+
const TopicIssuesUpdate200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
148
|
+
workspace: Schema.Struct({
|
|
149
|
+
projectId: TemplateProjectId,
|
|
150
|
+
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
151
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
152
|
+
repositoryName: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new 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}$" })),
|
|
153
|
+
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" })),
|
|
154
|
+
baseCommit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
155
|
+
remoteHead: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
156
|
+
pendingRemoteHead: Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })), Schema.Null]),
|
|
157
|
+
revision: Schema.String,
|
|
158
|
+
overlay: Schema.Record(Schema.String, Schema.Union([Schema.String, Schema.Null])),
|
|
159
|
+
assetChanges: Schema.Array(Schema.Struct({
|
|
160
|
+
path: Schema.String,
|
|
161
|
+
status: Schema.Union([
|
|
162
|
+
Schema.Literal("added"),
|
|
163
|
+
Schema.Literal("modified"),
|
|
164
|
+
Schema.Literal("deleted")
|
|
165
|
+
])
|
|
166
|
+
})),
|
|
167
|
+
conflicts: Schema.Array(Schema.Struct({
|
|
168
|
+
path: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$" })),
|
|
169
|
+
base: Schema.Union([Schema.String, Schema.Null]),
|
|
170
|
+
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
171
|
+
main: Schema.Union([Schema.String, Schema.Null])
|
|
172
|
+
})),
|
|
173
|
+
provenance: Schema.Struct({ references: Schema.Array(Schema.Struct({
|
|
174
|
+
kind: Schema.String,
|
|
175
|
+
digest: Schema.String,
|
|
176
|
+
locator: Schema.optionalKey(Schema.String)
|
|
177
|
+
})) }),
|
|
178
|
+
mounts: Schema.Array(Schema.Union([
|
|
179
|
+
Schema.Struct({
|
|
180
|
+
kind: Schema.Literal("project"),
|
|
181
|
+
root: Schema.Literal("/project"),
|
|
182
|
+
access: Schema.Literal("read-write")
|
|
183
|
+
}),
|
|
184
|
+
Schema.Struct({
|
|
185
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
186
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
187
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
188
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
189
|
+
kind: Schema.Literal("started-from"),
|
|
190
|
+
access: Schema.Literal("read-only"),
|
|
191
|
+
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" })),
|
|
192
|
+
slug: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
193
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
194
|
+
}),
|
|
195
|
+
Schema.Struct({
|
|
196
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
197
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
198
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
199
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
200
|
+
kind: Schema.Literal("resource"),
|
|
201
|
+
access: Schema.Literal("read-only"),
|
|
202
|
+
resourceId: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
203
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
204
|
+
}),
|
|
205
|
+
Schema.Struct({
|
|
206
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
207
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
208
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
209
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
210
|
+
kind: Schema.Literal("library-template"),
|
|
211
|
+
access: Schema.Literal("read-only"),
|
|
212
|
+
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" })),
|
|
213
|
+
slug: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
214
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
215
|
+
})
|
|
216
|
+
])),
|
|
217
|
+
libraryManifestDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
218
|
+
createdAt: Schema.String,
|
|
219
|
+
updatedAt: Schema.String,
|
|
220
|
+
createdBy: Schema.Struct({
|
|
221
|
+
userId: UserId,
|
|
222
|
+
via: Schema.Union([
|
|
223
|
+
Schema.Literal("api"),
|
|
224
|
+
Schema.Literal("mcp"),
|
|
225
|
+
Schema.Literal("agent")
|
|
226
|
+
])
|
|
227
|
+
}),
|
|
228
|
+
updatedBy: Schema.Struct({
|
|
229
|
+
userId: UserId,
|
|
230
|
+
via: Schema.Union([
|
|
231
|
+
Schema.Literal("api"),
|
|
232
|
+
Schema.Literal("mcp"),
|
|
233
|
+
Schema.Literal("agent")
|
|
234
|
+
])
|
|
235
|
+
})
|
|
236
|
+
}),
|
|
237
|
+
files: Schema.Record(Schema.String, Schema.String)
|
|
238
|
+
}))();
|
|
239
|
+
const TopicIssuesUpdate401 = UnauthorizedError;
|
|
240
|
+
const TopicIssuesUpdate403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
241
|
+
const TopicIssuesUpdate404 = ResourceNotFoundError;
|
|
242
|
+
const TopicIssuesUpdate409 = ConflictError;
|
|
243
|
+
const TopicIssuesUpdate422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
244
|
+
const TopicIssuesUpdate500 = InternalError;
|
|
245
|
+
const TopicIssuesUpdate504 = GatewayTimeoutError;
|
|
246
|
+
const TopicIssuesCheckPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
247
|
+
const TopicIssuesCheckRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
248
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
249
|
+
expectedRevision: 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" }))
|
|
250
|
+
}))();
|
|
251
|
+
const TopicIssuesCheck200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
252
|
+
projectId: TemplateProjectId,
|
|
253
|
+
revision: Schema.String,
|
|
254
|
+
entryPath: Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
255
|
+
declaration: Schema.Union([Schema.Struct({
|
|
256
|
+
codeDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
257
|
+
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" })),
|
|
258
|
+
input: Schema.Struct({
|
|
259
|
+
schema: Schema.Record(Schema.String, JsonValue),
|
|
260
|
+
schemaDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
261
|
+
contractDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" }))
|
|
262
|
+
}),
|
|
263
|
+
fixtures: Schema.Array(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" })))
|
|
264
|
+
}), Schema.Null]),
|
|
265
|
+
issue: Schema.optionalKey(Schema.Struct({
|
|
266
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
267
|
+
frontmatter: Schema.Struct({
|
|
268
|
+
title: Schema.String,
|
|
269
|
+
slug: Schema.String,
|
|
270
|
+
topic: Schema.String,
|
|
271
|
+
preheader: Schema.optionalKey(Schema.String),
|
|
272
|
+
seo: Schema.optionalKey(Schema.Struct({
|
|
273
|
+
title: Schema.optionalKey(Schema.String),
|
|
274
|
+
description: Schema.optionalKey(Schema.String),
|
|
275
|
+
image: Schema.optionalKey(Schema.String)
|
|
276
|
+
})),
|
|
277
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })) }))
|
|
278
|
+
})
|
|
279
|
+
})),
|
|
280
|
+
diagnostics: Schema.Array(Schema.Struct({
|
|
281
|
+
code: Schema.String,
|
|
282
|
+
severity: Schema.Union([
|
|
283
|
+
Schema.Literal("error"),
|
|
284
|
+
Schema.Literal("warning"),
|
|
285
|
+
Schema.Literal("info")
|
|
286
|
+
]),
|
|
287
|
+
message: Schema.String,
|
|
288
|
+
origins: Schema.Array(Schema.Struct({
|
|
289
|
+
fileName: Schema.String,
|
|
290
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
291
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
292
|
+
})),
|
|
293
|
+
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
294
|
+
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
295
|
+
provenance: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
296
|
+
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
297
|
+
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
298
|
+
fileName: Schema.String,
|
|
299
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
300
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
301
|
+
}))), Schema.Null])),
|
|
302
|
+
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
303
|
+
assessment: Schema.Union([
|
|
304
|
+
Schema.Literal("risk"),
|
|
305
|
+
Schema.Literal("degradation"),
|
|
306
|
+
Schema.Literal("unverified"),
|
|
307
|
+
Schema.Literal("not-applicable")
|
|
308
|
+
]),
|
|
309
|
+
title: Schema.String
|
|
310
|
+
}), Schema.Null]))
|
|
311
|
+
})),
|
|
312
|
+
incompatibilities: Schema.Array(Schema.Struct({
|
|
313
|
+
code: Schema.String,
|
|
314
|
+
severity: Schema.Union([
|
|
315
|
+
Schema.Literal("error"),
|
|
316
|
+
Schema.Literal("warning"),
|
|
317
|
+
Schema.Literal("info")
|
|
318
|
+
]),
|
|
319
|
+
message: Schema.String,
|
|
320
|
+
origins: Schema.Array(Schema.Struct({
|
|
321
|
+
fileName: Schema.String,
|
|
322
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
323
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
324
|
+
})),
|
|
325
|
+
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
326
|
+
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
327
|
+
provenance: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
328
|
+
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
329
|
+
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
330
|
+
fileName: Schema.String,
|
|
331
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
332
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
333
|
+
}))), Schema.Null])),
|
|
334
|
+
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
335
|
+
assessment: Schema.Union([
|
|
336
|
+
Schema.Literal("risk"),
|
|
337
|
+
Schema.Literal("degradation"),
|
|
338
|
+
Schema.Literal("unverified"),
|
|
339
|
+
Schema.Literal("not-applicable")
|
|
340
|
+
]),
|
|
341
|
+
title: Schema.String
|
|
342
|
+
}), Schema.Null]))
|
|
343
|
+
}))
|
|
344
|
+
}))();
|
|
345
|
+
const TopicIssuesCheck401 = UnauthorizedError;
|
|
346
|
+
const TopicIssuesCheck403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
347
|
+
const TopicIssuesCheck404 = ResourceNotFoundError;
|
|
348
|
+
const TopicIssuesCheck409 = ConflictError;
|
|
349
|
+
const TopicIssuesCheck422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
350
|
+
const TopicIssuesCheck500 = InternalError;
|
|
351
|
+
const TopicIssuesCheck504 = GatewayTimeoutError;
|
|
352
|
+
const TopicIssuesGetPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
353
|
+
const TopicIssuesGetQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
354
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
355
|
+
expectedRevision: 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" }))
|
|
356
|
+
}))();
|
|
357
|
+
const TopicIssuesGet200 = TopicIssueDocument;
|
|
358
|
+
const TopicIssuesGet401 = UnauthorizedError;
|
|
359
|
+
const TopicIssuesGet403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
360
|
+
const TopicIssuesGet404 = ResourceNotFoundError;
|
|
361
|
+
const TopicIssuesGet409 = ConflictError;
|
|
362
|
+
const TopicIssuesGet422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
363
|
+
const TopicIssuesGet500 = InternalError;
|
|
364
|
+
const TopicIssuesGet504 = GatewayTimeoutError;
|
|
365
|
+
const TopicIssuesHeadPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
366
|
+
const TopicIssuesHead200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
367
|
+
projectId: TemplateProjectId,
|
|
368
|
+
revision: Schema.String,
|
|
369
|
+
remoteHead: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" }))
|
|
370
|
+
}))();
|
|
371
|
+
const TopicIssuesHead401 = UnauthorizedError;
|
|
372
|
+
const TopicIssuesHead403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
373
|
+
const TopicIssuesHead404 = ResourceNotFoundError;
|
|
374
|
+
const TopicIssuesHead409 = ConflictError;
|
|
375
|
+
const TopicIssuesHead422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
376
|
+
const TopicIssuesHead500 = InternalError;
|
|
377
|
+
const TopicIssuesHead504 = GatewayTimeoutError;
|
|
378
|
+
const TopicIssuesHistoryPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
379
|
+
const TopicIssuesHistoryQuery = /* @__PURE__ */ (() => Schema.Struct({ limit: Schema.optionalKey(Schema.Union([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(100).annotate({ expected: "a value less than or equal to 100" })), Schema.Null])) }))();
|
|
380
|
+
const TopicIssuesHistory200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
381
|
+
projectId: TemplateProjectId,
|
|
382
|
+
head: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
383
|
+
commits: Schema.Array(Schema.Struct({
|
|
384
|
+
commit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
385
|
+
tree: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
386
|
+
parentCommit: Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })), Schema.Null]),
|
|
387
|
+
message: Schema.String,
|
|
388
|
+
committedAt: Schema.String
|
|
389
|
+
}))
|
|
390
|
+
}))();
|
|
391
|
+
const TopicIssuesHistory401 = UnauthorizedError;
|
|
392
|
+
const TopicIssuesHistory403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
393
|
+
const TopicIssuesHistory404 = ResourceNotFoundError;
|
|
394
|
+
const TopicIssuesHistory409 = ConflictError;
|
|
395
|
+
const TopicIssuesHistory422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
396
|
+
const TopicIssuesHistory500 = InternalError;
|
|
397
|
+
const TopicIssuesHistory504 = GatewayTimeoutError;
|
|
398
|
+
const TopicIssuesRemovePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
399
|
+
const TopicIssuesRemoveRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
400
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
401
|
+
idempotencyKey: 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" })),
|
|
402
|
+
expectedRevision: 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" }))
|
|
403
|
+
}))();
|
|
404
|
+
const TopicIssuesRemove200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
405
|
+
workspace: Schema.Struct({
|
|
406
|
+
projectId: TemplateProjectId,
|
|
407
|
+
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
408
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
409
|
+
repositoryName: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new 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}$" })),
|
|
410
|
+
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" })),
|
|
411
|
+
baseCommit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
412
|
+
remoteHead: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
413
|
+
pendingRemoteHead: Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })), Schema.Null]),
|
|
414
|
+
revision: Schema.String,
|
|
415
|
+
overlay: Schema.Record(Schema.String, Schema.Union([Schema.String, Schema.Null])),
|
|
416
|
+
assetChanges: Schema.Array(Schema.Struct({
|
|
417
|
+
path: Schema.String,
|
|
418
|
+
status: Schema.Union([
|
|
419
|
+
Schema.Literal("added"),
|
|
420
|
+
Schema.Literal("modified"),
|
|
421
|
+
Schema.Literal("deleted")
|
|
422
|
+
])
|
|
423
|
+
})),
|
|
424
|
+
conflicts: Schema.Array(Schema.Struct({
|
|
425
|
+
path: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$" })),
|
|
426
|
+
base: Schema.Union([Schema.String, Schema.Null]),
|
|
427
|
+
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
428
|
+
main: Schema.Union([Schema.String, Schema.Null])
|
|
429
|
+
})),
|
|
430
|
+
provenance: Schema.Struct({ references: Schema.Array(Schema.Struct({
|
|
431
|
+
kind: Schema.String,
|
|
432
|
+
digest: Schema.String,
|
|
433
|
+
locator: Schema.optionalKey(Schema.String)
|
|
434
|
+
})) }),
|
|
435
|
+
mounts: Schema.Array(Schema.Union([
|
|
436
|
+
Schema.Struct({
|
|
437
|
+
kind: Schema.Literal("project"),
|
|
438
|
+
root: Schema.Literal("/project"),
|
|
439
|
+
access: Schema.Literal("read-write")
|
|
440
|
+
}),
|
|
441
|
+
Schema.Struct({
|
|
442
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
443
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
444
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
445
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
446
|
+
kind: Schema.Literal("started-from"),
|
|
447
|
+
access: Schema.Literal("read-only"),
|
|
448
|
+
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" })),
|
|
449
|
+
slug: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
450
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
451
|
+
}),
|
|
452
|
+
Schema.Struct({
|
|
453
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
454
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
455
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
456
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
457
|
+
kind: Schema.Literal("resource"),
|
|
458
|
+
access: Schema.Literal("read-only"),
|
|
459
|
+
resourceId: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
460
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
461
|
+
}),
|
|
462
|
+
Schema.Struct({
|
|
463
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
464
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
465
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
466
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
467
|
+
kind: Schema.Literal("library-template"),
|
|
468
|
+
access: Schema.Literal("read-only"),
|
|
469
|
+
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" })),
|
|
470
|
+
slug: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
471
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
472
|
+
})
|
|
473
|
+
])),
|
|
474
|
+
libraryManifestDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
475
|
+
createdAt: Schema.String,
|
|
476
|
+
updatedAt: Schema.String,
|
|
477
|
+
createdBy: Schema.Struct({
|
|
478
|
+
userId: UserId,
|
|
479
|
+
via: Schema.Union([
|
|
480
|
+
Schema.Literal("api"),
|
|
481
|
+
Schema.Literal("mcp"),
|
|
482
|
+
Schema.Literal("agent")
|
|
483
|
+
])
|
|
484
|
+
}),
|
|
485
|
+
updatedBy: Schema.Struct({
|
|
486
|
+
userId: UserId,
|
|
487
|
+
via: Schema.Union([
|
|
488
|
+
Schema.Literal("api"),
|
|
489
|
+
Schema.Literal("mcp"),
|
|
490
|
+
Schema.Literal("agent")
|
|
491
|
+
])
|
|
492
|
+
})
|
|
493
|
+
}),
|
|
494
|
+
files: Schema.Record(Schema.String, Schema.String)
|
|
495
|
+
}))();
|
|
496
|
+
const TopicIssuesRemove401 = UnauthorizedError;
|
|
497
|
+
const TopicIssuesRemove403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
498
|
+
const TopicIssuesRemove404 = ResourceNotFoundError;
|
|
499
|
+
const TopicIssuesRemove409 = ConflictError;
|
|
500
|
+
const TopicIssuesRemove422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
501
|
+
const TopicIssuesRemove500 = InternalError;
|
|
502
|
+
const TopicIssuesRemove504 = GatewayTimeoutError;
|
|
503
|
+
const TopicIssuesRenderPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
504
|
+
const TopicIssuesRenderRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
505
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
506
|
+
expectedRevision: 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" })),
|
|
507
|
+
fixture: 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" })),
|
|
508
|
+
target: Schema.Union([Schema.Literal("email"), Schema.Literal("web")])
|
|
509
|
+
}))();
|
|
510
|
+
const TopicIssuesRender200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
511
|
+
projectId: TemplateProjectId,
|
|
512
|
+
revision: Schema.String,
|
|
513
|
+
entryPath: Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
514
|
+
declaration: Schema.Union([Schema.Struct({
|
|
515
|
+
codeDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
516
|
+
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" })),
|
|
517
|
+
input: Schema.Struct({
|
|
518
|
+
schema: Schema.Record(Schema.String, JsonValue),
|
|
519
|
+
schemaDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
520
|
+
contractDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" }))
|
|
521
|
+
}),
|
|
522
|
+
fixtures: Schema.Array(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" })))
|
|
523
|
+
}), Schema.Null]),
|
|
524
|
+
issue: Schema.optionalKey(Schema.Struct({
|
|
525
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
526
|
+
frontmatter: Schema.Struct({
|
|
527
|
+
title: Schema.String,
|
|
528
|
+
slug: Schema.String,
|
|
529
|
+
topic: Schema.String,
|
|
530
|
+
preheader: Schema.optionalKey(Schema.String),
|
|
531
|
+
seo: Schema.optionalKey(Schema.Struct({
|
|
532
|
+
title: Schema.optionalKey(Schema.String),
|
|
533
|
+
description: Schema.optionalKey(Schema.String),
|
|
534
|
+
image: Schema.optionalKey(Schema.String)
|
|
535
|
+
})),
|
|
536
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })) }))
|
|
537
|
+
})
|
|
538
|
+
})),
|
|
539
|
+
diagnostics: Schema.Array(Schema.Struct({
|
|
540
|
+
code: Schema.String,
|
|
541
|
+
severity: Schema.Union([
|
|
542
|
+
Schema.Literal("error"),
|
|
543
|
+
Schema.Literal("warning"),
|
|
544
|
+
Schema.Literal("info")
|
|
545
|
+
]),
|
|
546
|
+
message: Schema.String,
|
|
547
|
+
origins: Schema.Array(Schema.Struct({
|
|
548
|
+
fileName: Schema.String,
|
|
549
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
550
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
551
|
+
})),
|
|
552
|
+
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
553
|
+
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
554
|
+
provenance: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
555
|
+
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
556
|
+
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
557
|
+
fileName: Schema.String,
|
|
558
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
559
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
560
|
+
}))), Schema.Null])),
|
|
561
|
+
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
562
|
+
assessment: Schema.Union([
|
|
563
|
+
Schema.Literal("risk"),
|
|
564
|
+
Schema.Literal("degradation"),
|
|
565
|
+
Schema.Literal("unverified"),
|
|
566
|
+
Schema.Literal("not-applicable")
|
|
567
|
+
]),
|
|
568
|
+
title: Schema.String
|
|
569
|
+
}), Schema.Null]))
|
|
570
|
+
})),
|
|
571
|
+
incompatibilities: Schema.Array(Schema.Struct({
|
|
572
|
+
code: Schema.String,
|
|
573
|
+
severity: Schema.Union([
|
|
574
|
+
Schema.Literal("error"),
|
|
575
|
+
Schema.Literal("warning"),
|
|
576
|
+
Schema.Literal("info")
|
|
577
|
+
]),
|
|
578
|
+
message: Schema.String,
|
|
579
|
+
origins: Schema.Array(Schema.Struct({
|
|
580
|
+
fileName: Schema.String,
|
|
581
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
582
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
583
|
+
})),
|
|
584
|
+
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
585
|
+
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
586
|
+
provenance: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
587
|
+
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
588
|
+
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
589
|
+
fileName: Schema.String,
|
|
590
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
591
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
592
|
+
}))), Schema.Null])),
|
|
593
|
+
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
594
|
+
assessment: Schema.Union([
|
|
595
|
+
Schema.Literal("risk"),
|
|
596
|
+
Schema.Literal("degradation"),
|
|
597
|
+
Schema.Literal("unverified"),
|
|
598
|
+
Schema.Literal("not-applicable")
|
|
599
|
+
]),
|
|
600
|
+
title: Schema.String
|
|
601
|
+
}), Schema.Null]))
|
|
602
|
+
})),
|
|
603
|
+
fixture: 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" })),
|
|
604
|
+
rendered: Schema.Union([Schema.Struct({
|
|
605
|
+
subject: Schema.String,
|
|
606
|
+
preheader: Schema.optionalKey(Schema.String),
|
|
607
|
+
html: Schema.String.check(Schema.isMaxCodePoints(2097152).annotate({ expected: "a string with at most 2097152 code points" })).check(Schema.isMaxLength(2097152).annotate({ expected: "a value with a length of at most 2097152" })),
|
|
608
|
+
text: Schema.String.check(Schema.isMaxCodePoints(2097152).annotate({ expected: "a string with at most 2097152 code points" })).check(Schema.isMaxLength(2097152).annotate({ expected: "a value with a length of at most 2097152" })),
|
|
609
|
+
selections: Schema.Array(Schema.Struct({
|
|
610
|
+
instancePath: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
611
|
+
tag: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
612
|
+
origins: Schema.Array(Schema.Struct({
|
|
613
|
+
fileName: Schema.String,
|
|
614
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
615
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
616
|
+
})),
|
|
617
|
+
authored: Schema.Boolean,
|
|
618
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
619
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
620
|
+
parentPath: Schema.optionalKey(Schema.String),
|
|
621
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
622
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
623
|
+
})),
|
|
624
|
+
sentBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
625
|
+
previewBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
626
|
+
}), Schema.Null]),
|
|
627
|
+
page: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
628
|
+
kind: Schema.Literal("page"),
|
|
629
|
+
html: Schema.String,
|
|
630
|
+
selections: Schema.Array(Schema.Struct({
|
|
631
|
+
instancePath: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
632
|
+
tag: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
633
|
+
origins: Schema.Array(Schema.Struct({
|
|
634
|
+
fileName: Schema.String,
|
|
635
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
636
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
637
|
+
})),
|
|
638
|
+
authored: Schema.Boolean,
|
|
639
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
640
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
641
|
+
parentPath: Schema.optionalKey(Schema.String),
|
|
642
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
643
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
644
|
+
}))
|
|
645
|
+
}), Schema.Null]))
|
|
646
|
+
}))();
|
|
647
|
+
const TopicIssuesRender401 = UnauthorizedError;
|
|
648
|
+
const TopicIssuesRender403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
649
|
+
const TopicIssuesRender404 = ResourceNotFoundError;
|
|
650
|
+
const TopicIssuesRender409 = ConflictError;
|
|
651
|
+
const TopicIssuesRender422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
652
|
+
const TopicIssuesRender500 = InternalError;
|
|
653
|
+
const TopicIssuesRender504 = GatewayTimeoutError;
|
|
654
|
+
const TopicIssuesSavePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
655
|
+
const TopicIssuesSaveRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
656
|
+
expectedRevision: 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" })),
|
|
657
|
+
expectedHead: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
658
|
+
message: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(512).annotate({ expected: "a string with at most 512 code points" })).check(Schema.isMaxLength(512).annotate({ expected: "a value with a length of at most 512" })),
|
|
659
|
+
idempotencyKey: 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" }))
|
|
660
|
+
}))();
|
|
661
|
+
const TopicIssuesSave200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
662
|
+
commit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
663
|
+
parentCommit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
664
|
+
tree: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
665
|
+
revision: Schema.String,
|
|
666
|
+
changedPaths: Schema.Array(Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$" }))),
|
|
667
|
+
sourceDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
668
|
+
buildDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
669
|
+
warnings: Schema.Array(Schema.Struct({
|
|
670
|
+
code: Schema.String,
|
|
671
|
+
severity: Schema.Union([
|
|
672
|
+
Schema.Literal("error"),
|
|
673
|
+
Schema.Literal("warning"),
|
|
674
|
+
Schema.Literal("info")
|
|
675
|
+
]),
|
|
676
|
+
message: Schema.String,
|
|
677
|
+
origins: Schema.Array(Schema.Struct({
|
|
678
|
+
fileName: Schema.String,
|
|
679
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
680
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
681
|
+
})),
|
|
682
|
+
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
683
|
+
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
684
|
+
provenance: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
685
|
+
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
686
|
+
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
687
|
+
fileName: Schema.String,
|
|
688
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
689
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
690
|
+
}))), Schema.Null])),
|
|
691
|
+
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
692
|
+
assessment: Schema.Union([
|
|
693
|
+
Schema.Literal("risk"),
|
|
694
|
+
Schema.Literal("degradation"),
|
|
695
|
+
Schema.Literal("unverified"),
|
|
696
|
+
Schema.Literal("not-applicable")
|
|
697
|
+
]),
|
|
698
|
+
title: Schema.String
|
|
699
|
+
}), Schema.Null]))
|
|
700
|
+
})),
|
|
701
|
+
incompatibilities: Schema.Array(Schema.Struct({
|
|
702
|
+
code: Schema.String,
|
|
703
|
+
severity: Schema.Union([
|
|
704
|
+
Schema.Literal("error"),
|
|
705
|
+
Schema.Literal("warning"),
|
|
706
|
+
Schema.Literal("info")
|
|
707
|
+
]),
|
|
708
|
+
message: Schema.String,
|
|
709
|
+
origins: Schema.Array(Schema.Struct({
|
|
710
|
+
fileName: Schema.String,
|
|
711
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
712
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
713
|
+
})),
|
|
714
|
+
clients: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
715
|
+
notes: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
716
|
+
provenance: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
717
|
+
fixtures: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
718
|
+
occurrences: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Array(Schema.Struct({
|
|
719
|
+
fileName: Schema.String,
|
|
720
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
721
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
722
|
+
}))), Schema.Null])),
|
|
723
|
+
compatibility: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
724
|
+
assessment: Schema.Union([
|
|
725
|
+
Schema.Literal("risk"),
|
|
726
|
+
Schema.Literal("degradation"),
|
|
727
|
+
Schema.Literal("unverified"),
|
|
728
|
+
Schema.Literal("not-applicable")
|
|
729
|
+
]),
|
|
730
|
+
title: Schema.String
|
|
731
|
+
}), Schema.Null]))
|
|
732
|
+
}))
|
|
733
|
+
}))();
|
|
734
|
+
const TopicIssuesSave401 = UnauthorizedError;
|
|
735
|
+
const TopicIssuesSave403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
736
|
+
const TopicIssuesSave404 = ResourceNotFoundError;
|
|
737
|
+
const TopicIssuesSave409 = ConflictError;
|
|
738
|
+
const TopicIssuesSave422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
739
|
+
const TopicIssuesSave500 = InternalError;
|
|
740
|
+
const TopicIssuesSave504 = GatewayTimeoutError;
|
|
741
|
+
const TopicIssuesOpenPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TopicId }))();
|
|
742
|
+
const TopicIssuesOpen200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
743
|
+
workspace: Schema.Struct({
|
|
744
|
+
projectId: TemplateProjectId,
|
|
745
|
+
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
746
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
747
|
+
repositoryName: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new 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}$" })),
|
|
748
|
+
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" })),
|
|
749
|
+
baseCommit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
750
|
+
remoteHead: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
751
|
+
pendingRemoteHead: Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })), Schema.Null]),
|
|
752
|
+
revision: Schema.String,
|
|
753
|
+
overlay: Schema.Record(Schema.String, Schema.Union([Schema.String, Schema.Null])),
|
|
754
|
+
assetChanges: Schema.Array(Schema.Struct({
|
|
755
|
+
path: Schema.String,
|
|
756
|
+
status: Schema.Union([
|
|
757
|
+
Schema.Literal("added"),
|
|
758
|
+
Schema.Literal("modified"),
|
|
759
|
+
Schema.Literal("deleted")
|
|
760
|
+
])
|
|
761
|
+
})),
|
|
762
|
+
conflicts: Schema.Array(Schema.Struct({
|
|
763
|
+
path: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$" })),
|
|
764
|
+
base: Schema.Union([Schema.String, Schema.Null]),
|
|
765
|
+
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
766
|
+
main: Schema.Union([Schema.String, Schema.Null])
|
|
767
|
+
})),
|
|
768
|
+
provenance: Schema.Struct({ references: Schema.Array(Schema.Struct({
|
|
769
|
+
kind: Schema.String,
|
|
770
|
+
digest: Schema.String,
|
|
771
|
+
locator: Schema.optionalKey(Schema.String)
|
|
772
|
+
})) }),
|
|
773
|
+
mounts: Schema.Array(Schema.Union([
|
|
774
|
+
Schema.Struct({
|
|
775
|
+
kind: Schema.Literal("project"),
|
|
776
|
+
root: Schema.Literal("/project"),
|
|
777
|
+
access: Schema.Literal("read-write")
|
|
778
|
+
}),
|
|
779
|
+
Schema.Struct({
|
|
780
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
781
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
782
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
783
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
784
|
+
kind: Schema.Literal("started-from"),
|
|
785
|
+
access: Schema.Literal("read-only"),
|
|
786
|
+
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" })),
|
|
787
|
+
slug: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
788
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
789
|
+
}),
|
|
790
|
+
Schema.Struct({
|
|
791
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
792
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
793
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
794
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
795
|
+
kind: Schema.Literal("resource"),
|
|
796
|
+
access: Schema.Literal("read-only"),
|
|
797
|
+
resourceId: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
798
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
799
|
+
}),
|
|
800
|
+
Schema.Struct({
|
|
801
|
+
root: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^\\/(?:project|references\\/started-from\\/[a-f0-9]{64}|resources\\/[A-Za-z0-9._-]+\\/[a-f0-9]{64}|library\\/templates\\/[a-z0-9]+(?:-[a-z0-9]+)*\\/[a-f0-9]{64})(?:\\/(?!\\.{1,2}(?:\\/|$)|\\.git(?:\\/|$))[^\\\\/]+)*$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
802
|
+
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
803
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
804
|
+
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(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
805
|
+
kind: Schema.Literal("library-template"),
|
|
806
|
+
access: Schema.Literal("read-only"),
|
|
807
|
+
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" })),
|
|
808
|
+
slug: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
809
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
810
|
+
})
|
|
811
|
+
])),
|
|
812
|
+
libraryManifestDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
813
|
+
createdAt: Schema.String,
|
|
814
|
+
updatedAt: Schema.String,
|
|
815
|
+
createdBy: Schema.Struct({
|
|
816
|
+
userId: UserId,
|
|
817
|
+
via: Schema.Union([
|
|
818
|
+
Schema.Literal("api"),
|
|
819
|
+
Schema.Literal("mcp"),
|
|
820
|
+
Schema.Literal("agent")
|
|
821
|
+
])
|
|
822
|
+
}),
|
|
823
|
+
updatedBy: Schema.Struct({
|
|
824
|
+
userId: UserId,
|
|
825
|
+
via: Schema.Union([
|
|
826
|
+
Schema.Literal("api"),
|
|
827
|
+
Schema.Literal("mcp"),
|
|
828
|
+
Schema.Literal("agent")
|
|
829
|
+
])
|
|
830
|
+
})
|
|
831
|
+
}),
|
|
832
|
+
files: Schema.Record(Schema.String, Schema.String)
|
|
833
|
+
}))();
|
|
834
|
+
const TopicIssuesOpen401 = UnauthorizedError;
|
|
835
|
+
const TopicIssuesOpen403 = /* @__PURE__ */ (() => Schema.Union([ForbiddenError, FlagDisabledError]))();
|
|
836
|
+
const TopicIssuesOpen404 = ResourceNotFoundError;
|
|
837
|
+
const TopicIssuesOpen409 = ConflictError;
|
|
838
|
+
const TopicIssuesOpen422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
839
|
+
const TopicIssuesOpen500 = InternalError;
|
|
840
|
+
const TopicIssuesOpen504 = GatewayTimeoutError;
|
|
841
|
+
var TopicIssuesGroup = class extends HttpApiGroup.make("Topic issues").add(HttpApiEndpoint.get("topicIssuesList", "/v1/topics/:id/issues", {
|
|
842
|
+
params: TopicIssuesListPathParams,
|
|
843
|
+
success: TopicIssuesList200,
|
|
844
|
+
error: [
|
|
845
|
+
TopicIssuesList401.pipe(HttpApiSchema.status(401)),
|
|
846
|
+
TopicIssuesList403.pipe(HttpApiSchema.status(403)),
|
|
847
|
+
TopicIssuesList404.pipe(HttpApiSchema.status(404)),
|
|
848
|
+
TopicIssuesList409.pipe(HttpApiSchema.status(409)),
|
|
849
|
+
TopicIssuesList422.pipe(HttpApiSchema.status(422)),
|
|
850
|
+
TopicIssuesList500,
|
|
851
|
+
TopicIssuesList504.pipe(HttpApiSchema.status(504))
|
|
852
|
+
]
|
|
853
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.list").annotate(OpenApi.Summary, "List topic issues").annotate(OpenApi.Description, "Lists the Markdown issues in the topic's shared Git workspace with each draft's title and its latest campaign send. An uninitialized topic returns null projectId and revision. Requires issueContent and email."), HttpApiEndpoint.post("topicIssuesCreate", "/v1/topics/:id/issues", {
|
|
854
|
+
params: TopicIssuesCreatePathParams,
|
|
855
|
+
payload: TopicIssuesCreateRequestJson,
|
|
856
|
+
success: TopicIssuesCreate200,
|
|
857
|
+
error: [
|
|
858
|
+
TopicIssuesCreate401.pipe(HttpApiSchema.status(401)),
|
|
859
|
+
TopicIssuesCreate403.pipe(HttpApiSchema.status(403)),
|
|
860
|
+
TopicIssuesCreate404.pipe(HttpApiSchema.status(404)),
|
|
861
|
+
TopicIssuesCreate409.pipe(HttpApiSchema.status(409)),
|
|
862
|
+
TopicIssuesCreate422.pipe(HttpApiSchema.status(422)),
|
|
863
|
+
TopicIssuesCreate500,
|
|
864
|
+
TopicIssuesCreate504.pipe(HttpApiSchema.status(504))
|
|
865
|
+
]
|
|
866
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.create").annotate(OpenApi.Summary, "Create a topic issue").annotate(OpenApi.Description, "Creates an unsaved Markdown file. The first request provisions the topic's project and layout; omit expectedRevision only for that first request or its retry. Further creates require the current revision. No template entry is registered. Requires issueContent and email."), HttpApiEndpoint.patch("topicIssuesUpdate", "/v1/topics/:id/issues", {
|
|
867
|
+
params: TopicIssuesUpdatePathParams,
|
|
868
|
+
payload: TopicIssuesUpdateRequestJson,
|
|
869
|
+
success: TopicIssuesUpdate200,
|
|
870
|
+
error: [
|
|
871
|
+
TopicIssuesUpdate401.pipe(HttpApiSchema.status(401)),
|
|
872
|
+
TopicIssuesUpdate403.pipe(HttpApiSchema.status(403)),
|
|
873
|
+
TopicIssuesUpdate404.pipe(HttpApiSchema.status(404)),
|
|
874
|
+
TopicIssuesUpdate409.pipe(HttpApiSchema.status(409)),
|
|
875
|
+
TopicIssuesUpdate422.pipe(HttpApiSchema.status(422)),
|
|
876
|
+
TopicIssuesUpdate500,
|
|
877
|
+
TopicIssuesUpdate504.pipe(HttpApiSchema.status(504))
|
|
878
|
+
]
|
|
879
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.update").annotate(OpenApi.Summary, "Update a topic issue").annotate(OpenApi.Description, "Replaces the complete Markdown file under a revision fence. Save separately to create a Git commit. Requires issueContent and email."), HttpApiEndpoint.post("topicIssuesCheck", "/v1/topics/:id/issues/check", {
|
|
880
|
+
params: TopicIssuesCheckPathParams,
|
|
881
|
+
payload: TopicIssuesCheckRequestJson,
|
|
882
|
+
success: TopicIssuesCheck200,
|
|
883
|
+
error: [
|
|
884
|
+
TopicIssuesCheck401.pipe(HttpApiSchema.status(401)),
|
|
885
|
+
TopicIssuesCheck403.pipe(HttpApiSchema.status(403)),
|
|
886
|
+
TopicIssuesCheck404.pipe(HttpApiSchema.status(404)),
|
|
887
|
+
TopicIssuesCheck409.pipe(HttpApiSchema.status(409)),
|
|
888
|
+
TopicIssuesCheck422.pipe(HttpApiSchema.status(422)),
|
|
889
|
+
TopicIssuesCheck500,
|
|
890
|
+
TopicIssuesCheck504.pipe(HttpApiSchema.status(504))
|
|
891
|
+
]
|
|
892
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.check").annotate(OpenApi.Summary, "Check a topic issue").annotate(OpenApi.Description, "Compiles the issue in its layout at the requested revision and returns diagnostics and declared fixtures. Requires issueContent and email."), HttpApiEndpoint.get("topicIssuesGet", "/v1/topics/:id/issues/document", {
|
|
893
|
+
params: TopicIssuesGetPathParams,
|
|
894
|
+
query: TopicIssuesGetQuery,
|
|
895
|
+
success: TopicIssuesGet200,
|
|
896
|
+
error: [
|
|
897
|
+
TopicIssuesGet401.pipe(HttpApiSchema.status(401)),
|
|
898
|
+
TopicIssuesGet403.pipe(HttpApiSchema.status(403)),
|
|
899
|
+
TopicIssuesGet404.pipe(HttpApiSchema.status(404)),
|
|
900
|
+
TopicIssuesGet409.pipe(HttpApiSchema.status(409)),
|
|
901
|
+
TopicIssuesGet422.pipe(HttpApiSchema.status(422)),
|
|
902
|
+
TopicIssuesGet500,
|
|
903
|
+
TopicIssuesGet504.pipe(HttpApiSchema.status(504))
|
|
904
|
+
]
|
|
905
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.get").annotate(OpenApi.Summary, "Read a topic issue").annotate(OpenApi.Description, "Reads one issues/*.md file at the requested workspace revision. Requires issueContent and email."), HttpApiEndpoint.get("topicIssuesHead", "/v1/topics/:id/issues/head", {
|
|
906
|
+
params: TopicIssuesHeadPathParams,
|
|
907
|
+
success: TopicIssuesHead200,
|
|
908
|
+
error: [
|
|
909
|
+
TopicIssuesHead401.pipe(HttpApiSchema.status(401)),
|
|
910
|
+
TopicIssuesHead403.pipe(HttpApiSchema.status(403)),
|
|
911
|
+
TopicIssuesHead404.pipe(HttpApiSchema.status(404)),
|
|
912
|
+
TopicIssuesHead409.pipe(HttpApiSchema.status(409)),
|
|
913
|
+
TopicIssuesHead422.pipe(HttpApiSchema.status(422)),
|
|
914
|
+
TopicIssuesHead500,
|
|
915
|
+
TopicIssuesHead504.pipe(HttpApiSchema.status(504))
|
|
916
|
+
]
|
|
917
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.head").annotate(OpenApi.Summary, "Read the topic issue head").annotate(OpenApi.Description, "Reads the current workspace revision and repository branch head. Requires issueContent and email."), HttpApiEndpoint.get("topicIssuesHistory", "/v1/topics/:id/issues/history", {
|
|
918
|
+
params: TopicIssuesHistoryPathParams,
|
|
919
|
+
query: TopicIssuesHistoryQuery,
|
|
920
|
+
success: TopicIssuesHistory200,
|
|
921
|
+
error: [
|
|
922
|
+
TopicIssuesHistory401.pipe(HttpApiSchema.status(401)),
|
|
923
|
+
TopicIssuesHistory403.pipe(HttpApiSchema.status(403)),
|
|
924
|
+
TopicIssuesHistory404.pipe(HttpApiSchema.status(404)),
|
|
925
|
+
TopicIssuesHistory409.pipe(HttpApiSchema.status(409)),
|
|
926
|
+
TopicIssuesHistory422.pipe(HttpApiSchema.status(422)),
|
|
927
|
+
TopicIssuesHistory500,
|
|
928
|
+
TopicIssuesHistory504.pipe(HttpApiSchema.status(504))
|
|
929
|
+
]
|
|
930
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.history").annotate(OpenApi.Summary, "Read topic issue history").annotate(OpenApi.Description, "Lists saved commits in the topic repository, newest first. Requires issueContent and email."), HttpApiEndpoint.post("topicIssuesRemove", "/v1/topics/:id/issues/remove", {
|
|
931
|
+
params: TopicIssuesRemovePathParams,
|
|
932
|
+
payload: TopicIssuesRemoveRequestJson,
|
|
933
|
+
success: TopicIssuesRemove200,
|
|
934
|
+
error: [
|
|
935
|
+
TopicIssuesRemove401.pipe(HttpApiSchema.status(401)),
|
|
936
|
+
TopicIssuesRemove403.pipe(HttpApiSchema.status(403)),
|
|
937
|
+
TopicIssuesRemove404.pipe(HttpApiSchema.status(404)),
|
|
938
|
+
TopicIssuesRemove409.pipe(HttpApiSchema.status(409)),
|
|
939
|
+
TopicIssuesRemove422.pipe(HttpApiSchema.status(422)),
|
|
940
|
+
TopicIssuesRemove500,
|
|
941
|
+
TopicIssuesRemove504.pipe(HttpApiSchema.status(504))
|
|
942
|
+
]
|
|
943
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.remove").annotate(OpenApi.Summary, "Remove a topic issue").annotate(OpenApi.Description, "Removes one Markdown file from the draft under a revision fence. The project default issue must remain. Saved commits remain readable. Requires issueContent and email."), HttpApiEndpoint.post("topicIssuesRender", "/v1/topics/:id/issues/render", {
|
|
944
|
+
params: TopicIssuesRenderPathParams,
|
|
945
|
+
payload: TopicIssuesRenderRequestJson,
|
|
946
|
+
success: TopicIssuesRender200,
|
|
947
|
+
error: [
|
|
948
|
+
TopicIssuesRender401.pipe(HttpApiSchema.status(401)),
|
|
949
|
+
TopicIssuesRender403.pipe(HttpApiSchema.status(403)),
|
|
950
|
+
TopicIssuesRender404.pipe(HttpApiSchema.status(404)),
|
|
951
|
+
TopicIssuesRender409.pipe(HttpApiSchema.status(409)),
|
|
952
|
+
TopicIssuesRender422.pipe(HttpApiSchema.status(422)),
|
|
953
|
+
TopicIssuesRender500,
|
|
954
|
+
TopicIssuesRender504.pipe(HttpApiSchema.status(504))
|
|
955
|
+
]
|
|
956
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.render").annotate(OpenApi.Summary, "Render a topic issue fixture").annotate(OpenApi.Description, "Renders a fixture declared by the layout to email or web at the requested revision. The web render is the publication page readers get, with the subscribe wall position marked. Requires issueContent and email."), HttpApiEndpoint.post("topicIssuesSave", "/v1/topics/:id/issues/save", {
|
|
957
|
+
params: TopicIssuesSavePathParams,
|
|
958
|
+
payload: TopicIssuesSaveRequestJson,
|
|
959
|
+
success: TopicIssuesSave200,
|
|
960
|
+
error: [
|
|
961
|
+
TopicIssuesSave401.pipe(HttpApiSchema.status(401)),
|
|
962
|
+
TopicIssuesSave403.pipe(HttpApiSchema.status(403)),
|
|
963
|
+
TopicIssuesSave404.pipe(HttpApiSchema.status(404)),
|
|
964
|
+
TopicIssuesSave409.pipe(HttpApiSchema.status(409)),
|
|
965
|
+
TopicIssuesSave422.pipe(HttpApiSchema.status(422)),
|
|
966
|
+
TopicIssuesSave500,
|
|
967
|
+
TopicIssuesSave504.pipe(HttpApiSchema.status(504))
|
|
968
|
+
]
|
|
969
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.save").annotate(OpenApi.Summary, "Save topic issues").annotate(OpenApi.Description, "Validates the project and saves its draft as a Git commit with revision and branch-head fences. Issue sends pin the resulting commit and issue path. Requires issueContent and email."), HttpApiEndpoint.get("topicIssuesOpen", "/v1/topics/:id/issues/workspace", {
|
|
970
|
+
params: TopicIssuesOpenPathParams,
|
|
971
|
+
success: TopicIssuesOpen200,
|
|
972
|
+
error: [
|
|
973
|
+
TopicIssuesOpen401.pipe(HttpApiSchema.status(401)),
|
|
974
|
+
TopicIssuesOpen403.pipe(HttpApiSchema.status(403)),
|
|
975
|
+
TopicIssuesOpen404.pipe(HttpApiSchema.status(404)),
|
|
976
|
+
TopicIssuesOpen409.pipe(HttpApiSchema.status(409)),
|
|
977
|
+
TopicIssuesOpen422.pipe(HttpApiSchema.status(422)),
|
|
978
|
+
TopicIssuesOpen500,
|
|
979
|
+
TopicIssuesOpen504.pipe(HttpApiSchema.status(504))
|
|
980
|
+
]
|
|
981
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "topicIssues.open").annotate(OpenApi.Summary, "Open the topic issue workspace").annotate(OpenApi.Description, "Returns the existing project workspace and pulls saved Git changes. Does not create a repository. Requires issueContent and email.")).annotate(OpenApi.Description, "Topic-owned newsletter Markdown files and their Git workspace") {};
|
|
982
|
+
//#endregion
|
|
983
|
+
export { TopicIssueDocument, TopicIssueList, TopicIssueListItem, TopicIssueSend, TopicIssuesCheck200, TopicIssuesCheck401, TopicIssuesCheck403, TopicIssuesCheck404, TopicIssuesCheck409, TopicIssuesCheck422, TopicIssuesCheck500, TopicIssuesCheck504, TopicIssuesCheckPathParams, TopicIssuesCheckRequestJson, TopicIssuesCreate200, TopicIssuesCreate401, TopicIssuesCreate403, TopicIssuesCreate404, TopicIssuesCreate409, TopicIssuesCreate422, TopicIssuesCreate500, TopicIssuesCreate504, TopicIssuesCreatePathParams, TopicIssuesCreateRequestJson, TopicIssuesGet200, TopicIssuesGet401, TopicIssuesGet403, TopicIssuesGet404, TopicIssuesGet409, TopicIssuesGet422, TopicIssuesGet500, TopicIssuesGet504, TopicIssuesGetPathParams, TopicIssuesGetQuery, TopicIssuesGroup, TopicIssuesHead200, TopicIssuesHead401, TopicIssuesHead403, TopicIssuesHead404, TopicIssuesHead409, TopicIssuesHead422, TopicIssuesHead500, TopicIssuesHead504, TopicIssuesHeadPathParams, TopicIssuesHistory200, TopicIssuesHistory401, TopicIssuesHistory403, TopicIssuesHistory404, TopicIssuesHistory409, TopicIssuesHistory422, TopicIssuesHistory500, TopicIssuesHistory504, TopicIssuesHistoryPathParams, TopicIssuesHistoryQuery, TopicIssuesList200, TopicIssuesList401, TopicIssuesList403, TopicIssuesList404, TopicIssuesList409, TopicIssuesList422, TopicIssuesList500, TopicIssuesList504, TopicIssuesListPathParams, TopicIssuesOpen200, TopicIssuesOpen401, TopicIssuesOpen403, TopicIssuesOpen404, TopicIssuesOpen409, TopicIssuesOpen422, TopicIssuesOpen500, TopicIssuesOpen504, TopicIssuesOpenPathParams, TopicIssuesRemove200, TopicIssuesRemove401, TopicIssuesRemove403, TopicIssuesRemove404, TopicIssuesRemove409, TopicIssuesRemove422, TopicIssuesRemove500, TopicIssuesRemove504, TopicIssuesRemovePathParams, TopicIssuesRemoveRequestJson, TopicIssuesRender200, TopicIssuesRender401, TopicIssuesRender403, TopicIssuesRender404, TopicIssuesRender409, TopicIssuesRender422, TopicIssuesRender500, TopicIssuesRender504, TopicIssuesRenderPathParams, TopicIssuesRenderRequestJson, TopicIssuesSave200, TopicIssuesSave401, TopicIssuesSave403, TopicIssuesSave404, TopicIssuesSave409, TopicIssuesSave422, TopicIssuesSave500, TopicIssuesSave504, TopicIssuesSavePathParams, TopicIssuesSaveRequestJson, TopicIssuesUpdate200, TopicIssuesUpdate401, TopicIssuesUpdate403, TopicIssuesUpdate404, TopicIssuesUpdate409, TopicIssuesUpdate422, TopicIssuesUpdate500, TopicIssuesUpdate504, TopicIssuesUpdatePathParams, TopicIssuesUpdateRequestJson };
|
|
984
|
+
|
|
985
|
+
//# sourceMappingURL=topic-issues.js.map
|