@thatopen/services 0.34.2 → 0.34.3

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.
@@ -257,6 +257,11 @@ export declare class EngineServicesClient {
257
257
  * 403. Per-entity permission overrides are applied server-side.
258
258
  */
259
259
  projectId?: string;
260
+ /**
261
+ * With a `folderId`: each file with its `versions`, as the project's
262
+ * listing has them. A folder's listing leaves them out unless asked.
263
+ */
264
+ versions?: boolean;
260
265
  }): Promise<Item[]>;
261
266
  /**
262
267
  * Every document descriptor of a project in one request, read by the
@@ -156,6 +156,14 @@ export declare class PlatformClient extends EngineServicesClient {
156
156
  * User data is stripped of sensitive fields server-side.
157
157
  */
158
158
  getProjectData(projectId: string): Promise<ProjectData>;
159
+ /** Every other request this client makes to the project routes may change what `getProjectData` answers. */
160
+ protected request<T = object>(method: string, path: string, requestData?: {
161
+ body?: BodyInit;
162
+ query?: object;
163
+ contentType?: 'application/json' | 'multipart/form-data' | 'application/x-www-form-urlencoded';
164
+ retries?: number;
165
+ responseType?: 'json' | 'blob';
166
+ }): Promise<T>;
159
167
  /** The project's members, each with their role. */
160
168
  listMembers(projectId: string): Promise<ProjectDataMember[]>;
161
169
  /** Adds an existing account to the project, with a role (the project's default when not given). */