@columnus/api-cli 0.1.56 → 0.1.58
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/dist/cli.js +11 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -7452,7 +7452,7 @@ var DISPLAYABLE_VECTOR_CONTENT_TYPE_SET = new Set(
|
|
|
7452
7452
|
);
|
|
7453
7453
|
|
|
7454
7454
|
// ../shared/src/assetGraph.ts
|
|
7455
|
-
var MAX_RENDER_MEGAPIXELS =
|
|
7455
|
+
var MAX_RENDER_MEGAPIXELS = 500;
|
|
7456
7456
|
var MAX_RENDER_PIXELS = MAX_RENDER_MEGAPIXELS * 1e6;
|
|
7457
7457
|
var ASSET_PROCESSING_STATUSES = ["ready", "pending", "failed", "dead_letter"];
|
|
7458
7458
|
|
|
@@ -7738,6 +7738,7 @@ var apiProfilesSchema = external_exports.array(apiProfileSnapshotSchema);
|
|
|
7738
7738
|
function editorAccessEnabled(access2) {
|
|
7739
7739
|
return access2.editorAccess === true;
|
|
7740
7740
|
}
|
|
7741
|
+
var MEDIA_LIBRARY_JOURNAL_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
|
|
7741
7742
|
|
|
7742
7743
|
// ../api-codegen/src/generate-documents.ts
|
|
7743
7744
|
function fieldTypeToTs(type) {
|
|
@@ -8130,6 +8131,13 @@ export const createAssetFromStorageRef = anyApi.columnus.assets.createAssetFromS
|
|
|
8130
8131
|
string
|
|
8131
8132
|
>;
|
|
8132
8133
|
|
|
8134
|
+
export const replaceAssetFromStorageRef = anyApi.columnus.assets.replaceAssetFromStorage as FunctionReference<
|
|
8135
|
+
"mutation",
|
|
8136
|
+
"public",
|
|
8137
|
+
{ assetId: string; storageId: string; filename: string },
|
|
8138
|
+
null
|
|
8139
|
+
>;
|
|
8140
|
+
|
|
8133
8141
|
export const listAssetsRef = anyApi.columnus.assets.listAssets as FunctionReference<
|
|
8134
8142
|
"query",
|
|
8135
8143
|
"public",
|
|
@@ -8234,6 +8242,7 @@ export const cmsHostRefs = {
|
|
|
8234
8242
|
generateUploadUrl: generateUploadUrlRef,
|
|
8235
8243
|
deleteStorageFile: deleteStorageFileRef,
|
|
8236
8244
|
createAssetFromStorage: createAssetFromStorageRef,
|
|
8245
|
+
replaceAssetFromStorage: replaceAssetFromStorageRef,
|
|
8237
8246
|
listAssets: listAssetsRef,
|
|
8238
8247
|
addProfileToAsset: addProfileToAssetRef,
|
|
8239
8248
|
getAssetSettings: getAssetSettingsRef,
|
|
@@ -8456,7 +8465,7 @@ var cleanupStateValidator = v.object({
|
|
|
8456
8465
|
});
|
|
8457
8466
|
|
|
8458
8467
|
// ../shared/src/assetJobs.ts
|
|
8459
|
-
var ASSET_JOB_LEASE_MS =
|
|
8468
|
+
var ASSET_JOB_LEASE_MS = 15 * 6e4;
|
|
8460
8469
|
var ASSET_JOB_BACKOFF_MS = [15e3, 6e4, 5 * 6e4, 60 * 6e4];
|
|
8461
8470
|
|
|
8462
8471
|
// ../shared/src/assetSettings.ts
|