@poli-page/cli 0.8.2 → 0.10.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/README.md +282 -117
- package/dist/api-client.d.ts +101 -111
- package/dist/api-client.d.ts.map +1 -1
- package/dist/api-client.js +99 -133
- package/dist/api-client.js.map +1 -1
- package/dist/auth.d.ts +10 -4
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +6 -3
- package/dist/auth.js.map +1 -1
- package/dist/cloud-context.d.ts +0 -2
- package/dist/cloud-context.d.ts.map +1 -1
- package/dist/cloud-context.js +2 -25
- package/dist/cloud-context.js.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +5 -2
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/dev.d.ts +97 -0
- package/dist/commands/dev.d.ts.map +1 -0
- package/dist/commands/dev.js +534 -0
- package/dist/commands/dev.js.map +1 -0
- package/dist/commands/documents/get.d.ts +4 -0
- package/dist/commands/documents/get.d.ts.map +1 -1
- package/dist/commands/documents/get.js +3 -5
- package/dist/commands/documents/get.js.map +1 -1
- package/dist/commands/env.d.ts +3 -0
- package/dist/commands/env.d.ts.map +1 -0
- package/dist/commands/env.js +227 -0
- package/dist/commands/env.js.map +1 -0
- package/dist/commands/init.d.ts +42 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +152 -18
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/link.d.ts +8 -0
- package/dist/commands/link.d.ts.map +1 -1
- package/dist/commands/link.js +25 -36
- package/dist/commands/link.js.map +1 -1
- package/dist/commands/publish.d.ts +17 -0
- package/dist/commands/publish.d.ts.map +1 -0
- package/dist/commands/publish.js +163 -0
- package/dist/commands/publish.js.map +1 -0
- package/dist/commands/render.d.ts +27 -11
- package/dist/commands/render.d.ts.map +1 -1
- package/dist/commands/render.js +128 -60
- package/dist/commands/render.js.map +1 -1
- package/dist/commands/watch.d.ts +1 -1
- package/dist/commands/watch.d.ts.map +1 -1
- package/dist/commands/watch.js +14 -123
- package/dist/commands/watch.js.map +1 -1
- package/dist/credentials.d.ts.map +1 -1
- package/dist/credentials.js +15 -3
- package/dist/credentials.js.map +1 -1
- package/dist/dev-page.d.ts +22 -0
- package/dist/dev-page.d.ts.map +1 -0
- package/dist/dev-page.js +280 -0
- package/dist/dev-page.js.map +1 -0
- package/dist/dev-server.d.ts +51 -0
- package/dist/dev-server.d.ts.map +1 -0
- package/dist/dev-server.js +228 -0
- package/dist/dev-server.js.map +1 -0
- package/dist/environment-name.d.ts +8 -0
- package/dist/environment-name.d.ts.map +1 -0
- package/dist/environment-name.js +21 -0
- package/dist/environment-name.js.map +1 -0
- package/dist/exit-codes.d.ts +4 -0
- package/dist/exit-codes.d.ts.map +1 -1
- package/dist/exit-codes.js +14 -10
- package/dist/exit-codes.js.map +1 -1
- package/dist/manifest.d.ts +8 -1
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +28 -2
- package/dist/manifest.js.map +1 -1
- package/dist/manifest.schema.d.ts +0 -2
- package/dist/manifest.schema.d.ts.map +1 -1
- package/dist/manifest.schema.js +1 -15
- package/dist/manifest.schema.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +6 -10
- package/dist/program.js.map +1 -1
- package/dist/project-files.d.ts +11 -0
- package/dist/project-files.d.ts.map +1 -0
- package/dist/project-files.js +57 -0
- package/dist/project-files.js.map +1 -0
- package/dist/project-sync.d.ts +50 -0
- package/dist/project-sync.d.ts.map +1 -0
- package/dist/project-sync.js +118 -0
- package/dist/project-sync.js.map +1 -0
- package/dist/sync-engine.d.ts +3 -3
- package/dist/sync-engine.d.ts.map +1 -1
- package/dist/sync-engine.js +4 -3
- package/dist/sync-engine.js.map +1 -1
- package/dist/template-importer.d.ts +15 -0
- package/dist/template-importer.d.ts.map +1 -1
- package/dist/template-importer.js +44 -0
- package/dist/template-importer.js.map +1 -1
- package/dist/template-prompt.d.ts +8 -0
- package/dist/template-prompt.d.ts.map +1 -1
- package/dist/template-prompt.js +4 -4
- package/dist/template-prompt.js.map +1 -1
- package/package.json +3 -3
- package/dist/commands/checkout.d.ts +0 -15
- package/dist/commands/checkout.d.ts.map +0 -1
- package/dist/commands/checkout.js +0 -145
- package/dist/commands/checkout.js.map +0 -1
- package/dist/commands/preview.d.ts +0 -30
- package/dist/commands/preview.d.ts.map +0 -1
- package/dist/commands/preview.js +0 -129
- package/dist/commands/preview.js.map +0 -1
- package/dist/commands/push.d.ts +0 -26
- package/dist/commands/push.d.ts.map +0 -1
- package/dist/commands/push.js +0 -139
- package/dist/commands/push.js.map +0 -1
- package/dist/commands/version-state.d.ts +0 -35
- package/dist/commands/version-state.d.ts.map +0 -1
- package/dist/commands/version-state.js +0 -179
- package/dist/commands/version-state.js.map +0 -1
- package/dist/commands/versions.d.ts +0 -19
- package/dist/commands/versions.d.ts.map +0 -1
- package/dist/commands/versions.js +0 -120
- package/dist/commands/versions.js.map +0 -1
package/dist/api-client.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class QuotaExceededError extends ApiError {
|
|
|
11
11
|
export declare class OverageCapError extends ApiError {
|
|
12
12
|
constructor(message: string, retryAfter?: number);
|
|
13
13
|
}
|
|
14
|
-
export declare class
|
|
14
|
+
export declare class OrgPaymentGraceError extends ApiError {
|
|
15
15
|
constructor(message: string, retryAfter?: number);
|
|
16
16
|
}
|
|
17
17
|
export declare class OrgCancelledError extends ApiError {
|
|
@@ -23,15 +23,6 @@ export declare class OrgPurgedError extends ApiError {
|
|
|
23
23
|
export declare class OrgMigratingError extends ApiError {
|
|
24
24
|
constructor(message: string, retryAfter?: number);
|
|
25
25
|
}
|
|
26
|
-
export declare class InvalidVersionFormatError extends ApiError {
|
|
27
|
-
constructor(message: string, retryAfter?: number);
|
|
28
|
-
}
|
|
29
|
-
export declare class InvalidVersionForKeyEnvError extends ApiError {
|
|
30
|
-
constructor(message: string, retryAfter?: number);
|
|
31
|
-
}
|
|
32
|
-
export declare class VersionRequiredError extends ApiError {
|
|
33
|
-
constructor(message: string, retryAfter?: number);
|
|
34
|
-
}
|
|
35
26
|
export declare class MissingOrgContextError extends ApiError {
|
|
36
27
|
constructor(message: string, retryAfter?: number);
|
|
37
28
|
}
|
|
@@ -47,82 +38,18 @@ export declare class DocumentNotFoundError extends ApiError {
|
|
|
47
38
|
export declare class DocumentGoneError extends ApiError {
|
|
48
39
|
constructor(message: string, retryAfter?: number);
|
|
49
40
|
}
|
|
50
|
-
export declare class
|
|
41
|
+
export declare class EnvironmentProtectedError extends ApiError {
|
|
51
42
|
constructor(message: string, retryAfter?: number);
|
|
52
43
|
}
|
|
53
|
-
export declare class
|
|
44
|
+
export declare class EnvironmentNotFoundError extends ApiError {
|
|
54
45
|
constructor(message: string, retryAfter?: number);
|
|
55
46
|
}
|
|
56
|
-
export declare class
|
|
47
|
+
export declare class UnsupportedFileTypeError extends ApiError {
|
|
57
48
|
constructor(message: string, retryAfter?: number);
|
|
58
49
|
}
|
|
59
|
-
export declare class
|
|
50
|
+
export declare class InsufficientRoleError extends ApiError {
|
|
60
51
|
constructor(message: string, retryAfter?: number);
|
|
61
52
|
}
|
|
62
|
-
export interface ApiKeyInfo {
|
|
63
|
-
key: string;
|
|
64
|
-
info: {
|
|
65
|
-
id: string;
|
|
66
|
-
name: string;
|
|
67
|
-
environment: string;
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
export type VersionState = 'SANDBOX' | 'LIVE' | 'DEPRECATED' | 'DELETED';
|
|
71
|
-
export interface VersionInfo {
|
|
72
|
-
id: string;
|
|
73
|
-
version: string;
|
|
74
|
-
major: number;
|
|
75
|
-
minor: number;
|
|
76
|
-
patch: number;
|
|
77
|
-
state: VersionState;
|
|
78
|
-
bumpType?: 'patch' | 'minor' | 'major';
|
|
79
|
-
message?: string;
|
|
80
|
-
pushedBy?: string;
|
|
81
|
-
createdAt: string;
|
|
82
|
-
promotedAt?: string;
|
|
83
|
-
promotedBy?: string;
|
|
84
|
-
unpromotedAt?: string;
|
|
85
|
-
unpromotedBy?: string;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* `POST /projects/:projectId/push` body. Two mutually exclusive shapes
|
|
89
|
-
* (api-spec §9.1):
|
|
90
|
-
*
|
|
91
|
-
* 1. Bump-driven: `{ bumpType, track?, message? }`. Track anchors
|
|
92
|
-
* `--patch` / `--minor` on a specific `major.minor` family. `--major`
|
|
93
|
-
* ignores the track and always picks `max(major)+1`.
|
|
94
|
-
*
|
|
95
|
-
* 2. Explicit: `{ version, message? }`. The caller declares the exact
|
|
96
|
-
* version. Server returns `409 VERSION_CONFLICT` if it already
|
|
97
|
-
* exists in any state.
|
|
98
|
-
*/
|
|
99
|
-
export type PushVersionBody = {
|
|
100
|
-
bumpType: 'patch' | 'minor' | 'major';
|
|
101
|
-
track?: string;
|
|
102
|
-
message?: string;
|
|
103
|
-
} | {
|
|
104
|
-
version: string;
|
|
105
|
-
message?: string;
|
|
106
|
-
};
|
|
107
|
-
export interface UnpromotePreview {
|
|
108
|
-
currentLatestLive: string | null;
|
|
109
|
-
newLatestLiveAfterUnpromote: string | null;
|
|
110
|
-
willHaveNoLive: boolean;
|
|
111
|
-
recentLiveCalls: number;
|
|
112
|
-
}
|
|
113
|
-
export interface ProjectBundle {
|
|
114
|
-
version?: string;
|
|
115
|
-
manifest: Record<string, unknown>;
|
|
116
|
-
templates: Array<{
|
|
117
|
-
path: string;
|
|
118
|
-
content: string;
|
|
119
|
-
}>;
|
|
120
|
-
images?: Array<{
|
|
121
|
-
path: string;
|
|
122
|
-
data: string;
|
|
123
|
-
}>;
|
|
124
|
-
tailwindCss?: string;
|
|
125
|
-
}
|
|
126
53
|
export interface DeviceRequestResult {
|
|
127
54
|
deviceCode: string;
|
|
128
55
|
userCode: string;
|
|
@@ -152,15 +79,72 @@ export interface DocumentPreviewResult {
|
|
|
152
79
|
html: string;
|
|
153
80
|
pageCount: number;
|
|
154
81
|
}
|
|
155
|
-
|
|
82
|
+
/**
|
|
83
|
+
* One project file on the wire (draft sync and publish). The API decodes
|
|
84
|
+
* `content` by `encoding` only, never by the path's extension.
|
|
85
|
+
*/
|
|
86
|
+
export interface ProjectFileEntry {
|
|
156
87
|
path: string;
|
|
88
|
+
encoding: 'utf8' | 'base64';
|
|
157
89
|
content: string;
|
|
158
90
|
}
|
|
159
91
|
export interface PatchFilesBody {
|
|
160
|
-
added:
|
|
161
|
-
modified:
|
|
92
|
+
added: ProjectFileEntry[];
|
|
93
|
+
modified: ProjectFileEntry[];
|
|
162
94
|
deleted: string[];
|
|
163
95
|
}
|
|
96
|
+
/** `POST /v1/projects/:project/publish` body: the whole local project. */
|
|
97
|
+
export interface PublishBody {
|
|
98
|
+
environment: string;
|
|
99
|
+
message?: string;
|
|
100
|
+
files: ProjectFileEntry[];
|
|
101
|
+
}
|
|
102
|
+
export interface PublishResult {
|
|
103
|
+
environment: string;
|
|
104
|
+
project: string;
|
|
105
|
+
publishedAt: string;
|
|
106
|
+
/** `sha256:<64 hex>` */
|
|
107
|
+
bundleHash: string;
|
|
108
|
+
logId: string;
|
|
109
|
+
fileCount: number;
|
|
110
|
+
totalBytes: number;
|
|
111
|
+
}
|
|
112
|
+
export interface EnvironmentInfo {
|
|
113
|
+
name: string;
|
|
114
|
+
kind: 'sandbox' | 'standard';
|
|
115
|
+
protected: boolean;
|
|
116
|
+
readOnly: boolean;
|
|
117
|
+
createdAt: string;
|
|
118
|
+
projectCount: number;
|
|
119
|
+
}
|
|
120
|
+
/** One publish attempt in a project's publish log (api-spec §9.3). */
|
|
121
|
+
export interface PublishLogEntry {
|
|
122
|
+
id: string;
|
|
123
|
+
status: 'in-progress' | 'succeeded' | 'failed';
|
|
124
|
+
errorCode: string | null;
|
|
125
|
+
startedAt: string;
|
|
126
|
+
publishedAt: string | null;
|
|
127
|
+
author: {
|
|
128
|
+
type: 'user' | 'service-key';
|
|
129
|
+
id: string;
|
|
130
|
+
displayName: string;
|
|
131
|
+
};
|
|
132
|
+
message: string | null;
|
|
133
|
+
/** `sha256:<64 hex>` */
|
|
134
|
+
bundleHash: string;
|
|
135
|
+
fileCount: number;
|
|
136
|
+
totalBytes: number;
|
|
137
|
+
}
|
|
138
|
+
/** A project's state in one environment of its organization (api-spec §9.3). */
|
|
139
|
+
export interface ProjectEnvironmentState {
|
|
140
|
+
environment: string;
|
|
141
|
+
kind: 'sandbox' | 'standard';
|
|
142
|
+
protected: boolean;
|
|
143
|
+
readOnly: boolean;
|
|
144
|
+
published: boolean;
|
|
145
|
+
/** The newest attempt of any status, so a failed one shows here too. */
|
|
146
|
+
lastPublish: PublishLogEntry | null;
|
|
147
|
+
}
|
|
164
148
|
export interface PatchFilesResult {
|
|
165
149
|
syncedAt: string;
|
|
166
150
|
}
|
|
@@ -171,8 +155,8 @@ export interface DocumentDescriptor {
|
|
|
171
155
|
projectSlug: string | null;
|
|
172
156
|
templateId: string | null;
|
|
173
157
|
templateSlug: string | null;
|
|
174
|
-
|
|
175
|
-
environment:
|
|
158
|
+
/** The name of the environment the document was rendered in. */
|
|
159
|
+
environment: string;
|
|
176
160
|
apiKeyId: string | null;
|
|
177
161
|
createdAt: string;
|
|
178
162
|
pageCount: number;
|
|
@@ -184,26 +168,30 @@ export interface DocumentDescriptor {
|
|
|
184
168
|
presignedPdfUrl: string;
|
|
185
169
|
expiresAt: string;
|
|
186
170
|
}
|
|
171
|
+
/** Something a render did that its PDF alone does not show (api-spec §11.3). */
|
|
172
|
+
export interface RenderDiagnostic {
|
|
173
|
+
kind: 'clipped' | 'missing-asset' | 'dropped-font';
|
|
174
|
+
message: string;
|
|
175
|
+
elementId?: string;
|
|
176
|
+
path?: string;
|
|
177
|
+
}
|
|
187
178
|
/**
|
|
188
|
-
* Result of `POST /v1/render
|
|
189
|
-
*
|
|
190
|
-
|
|
191
|
-
export type RenderResult = DocumentDescriptor;
|
|
192
|
-
/**
|
|
193
|
-
* Result of `POST /v1/render/preview`. No document is persisted, so the
|
|
194
|
-
* shape is intentionally minimal: just the rendered HTML, page count,
|
|
195
|
-
* and the environment the call was billed against.
|
|
179
|
+
* Result of `POST /v1/render`: the stored document's descriptor plus the
|
|
180
|
+
* render's diagnostics, which are not stored with the document, so
|
|
181
|
+
* `GET /v1/documents/:id` does not return them (api-spec §11.3).
|
|
196
182
|
*/
|
|
197
|
-
export
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
environment: 'sandbox' | 'live';
|
|
201
|
-
}
|
|
183
|
+
export type RenderResult = DocumentDescriptor & {
|
|
184
|
+
diagnostics: RenderDiagnostic[];
|
|
185
|
+
};
|
|
202
186
|
export interface MeResponse {
|
|
203
187
|
auth: {
|
|
204
188
|
mode: 'session' | 'api-key';
|
|
205
|
-
|
|
206
|
-
|
|
189
|
+
/** `null` for a session. Only a `service` key can publish. */
|
|
190
|
+
keyType: 'standard' | 'service' | null;
|
|
191
|
+
/** The name of the key's environment; `null` for a session. */
|
|
192
|
+
environment: string | null;
|
|
193
|
+
/** The member's role (session), the service key's role, `null` for a standard key. */
|
|
194
|
+
role: 'owner' | 'admin' | 'developer' | null;
|
|
207
195
|
};
|
|
208
196
|
user: {
|
|
209
197
|
id: string;
|
|
@@ -251,26 +239,28 @@ export interface ApiClient {
|
|
|
251
239
|
createProject(session: string, orgId: string, payload: Record<string, unknown>): Promise<{
|
|
252
240
|
id: string;
|
|
253
241
|
}>;
|
|
254
|
-
updateProject(session: string, orgId: string, projectId: string, payload: Record<string, unknown>): Promise<void>;
|
|
255
242
|
patchFiles(session: string, orgId: string, projectId: string, body: PatchFilesBody): Promise<PatchFilesResult>;
|
|
256
|
-
|
|
243
|
+
listEnvironments(authorization: string, orgId: string): Promise<EnvironmentInfo[]>;
|
|
244
|
+
getProjectEnvironments(session: string, orgId: string, projectId: string): Promise<ProjectEnvironmentState[]>;
|
|
245
|
+
/**
|
|
246
|
+
* Deletes the environment's copy of the project (its documents are kept);
|
|
247
|
+
* session only, owner or admin. Answers `204`.
|
|
248
|
+
*/
|
|
249
|
+
removeProjectFromEnvironment(session: string, orgId: string, projectId: string, environment: string): Promise<void>;
|
|
250
|
+
/** `orgIdHeader` is the session's organization; an API key carries its own. */
|
|
251
|
+
publish(authorization: string, orgIdHeader: string | undefined, project: string, body: PublishBody): Promise<PublishResult>;
|
|
257
252
|
render(authorization: string, orgIdHeader: string | undefined, payload: Record<string, unknown>): Promise<RenderResult>;
|
|
258
|
-
|
|
253
|
+
/**
|
|
254
|
+
* `POST /v1/render/draft`: renders the project's draft and answers the
|
|
255
|
+
* PDF bytes. Session only (an API key gets `403 DRAFT_REQUIRES_SESSION`);
|
|
256
|
+
* nothing is stored or counted, and no page count comes back.
|
|
257
|
+
*/
|
|
258
|
+
renderDraft(authorization: string, orgIdHeader: string, payload: Record<string, unknown>): Promise<Buffer>;
|
|
259
259
|
getMe(authorization: string, orgIdHeader?: string): Promise<MeResponse>;
|
|
260
260
|
getDocument(authorization: string, orgIdHeader: string | undefined, id: string): Promise<DocumentDescriptor>;
|
|
261
261
|
deleteDocument(authorization: string, orgIdHeader: string | undefined, id: string): Promise<void>;
|
|
262
262
|
documentThumbnails(authorization: string, orgIdHeader: string | undefined, id: string, options: DocumentThumbnailOptions): Promise<ThumbnailResult[]>;
|
|
263
263
|
documentPreview(authorization: string, orgIdHeader: string | undefined, id: string): Promise<DocumentPreviewResult>;
|
|
264
|
-
pushVersion(session: string, orgId: string, projectId: string, body: PushVersionBody): Promise<VersionInfo>;
|
|
265
|
-
listVersions(session: string, orgId: string, projectId: string): Promise<VersionInfo[]>;
|
|
266
|
-
promoteVersion(session: string, orgId: string, projectId: string, version: string): Promise<VersionInfo>;
|
|
267
|
-
unpromoteVersion(session: string, orgId: string, projectId: string, version: string, body?: {
|
|
268
|
-
force?: boolean;
|
|
269
|
-
}): Promise<VersionInfo>;
|
|
270
|
-
unpromotePreview(session: string, orgId: string, projectId: string, version: string): Promise<UnpromotePreview>;
|
|
271
|
-
deprecateVersion(session: string, orgId: string, projectId: string, version: string): Promise<VersionInfo>;
|
|
272
|
-
undeprecateVersion(session: string, orgId: string, projectId: string, version: string): Promise<VersionInfo>;
|
|
273
|
-
downloadVersion(session: string, orgId: string, projectId: string, version: string): Promise<ProjectBundle>;
|
|
274
264
|
}
|
|
275
265
|
export declare function createApiClient(baseUrl?: string): ApiClient;
|
|
276
266
|
//# sourceMappingURL=api-client.d.ts.map
|
package/dist/api-client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIjD,qBAAa,QAAS,SAAQ,KAAK;aAEjB,IAAI,EAAE,MAAM;aACZ,UAAU,EAAE,MAAM;aAElB,UAAU,CAAC,EAAE,MAAM;gBAHnB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClC,OAAO,EAAE,MAAM,EACC,UAAU,CAAC,EAAE,MAAM,YAAA;CAKpC;AAED,qBAAa,kBAAmB,SAAQ,QAAQ;gBACnC,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;CAGhD;AACD,qBAAa,eAAgB,SAAQ,QAAQ;gBAChC,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;CAGhD;AACD,qBAAa,oBAAqB,SAAQ,QAAQ;gBACrC,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;CAGhD;AACD,qBAAa,iBAAkB,SAAQ,QAAQ;gBAClC,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;CAGhD;AACD,qBAAa,cAAe,SAAQ,QAAQ;gBAC/B,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;CAGhD;AACD,qBAAa,iBAAkB,SAAQ,QAAQ;gBAClC,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;CAGhD;AACD,qBAAa,
|
|
1
|
+
{"version":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