Repository navigation
Conversation
MakeFilesPrivate moves an app's public files to private storage in bulk and returns the private file_uri per file. The call already works through the integrations proxy; this adds its typed signature and reference docs. Backend: base44-dev/apper#49466 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/sdk@0.8.64-pr.400.043d51aPrefer not to change any import paths? Install using npm alias so your code still imports npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.64-pr.400.043d51a"Or add it to your {
"dependencies": {
"@base44/sdk": "npm:@base44-preview/sdk@0.8.64-pr.400.043d51a"
}
}
Preview published to npm registry — try new features instantly! |
DolevEpshtein
approved these changes
Dec 1, 2026
…ility with a visibility parameter Matches the backend rename in base44-dev/apper#49466. Only private is supported today. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ror object Matches the backend in base44-dev/apper#49466: each result's error is {code, message} or null. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…th a cursor and uses bulkUpdate The example listed only the first page and updated records one request at a time. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the typed signature and reference docs for
base44.asServiceRole.integrations.Core.SetFilesVisibility({ file_urls, visibility: "private" }).It moves an app's public files to private storage in bulk (1 to 20 URLs per call) and returns one result per file: the private
file_uri, or anerrorofunsupported_fileormove_failed. It needs service role authentication.The call takes
visibilityso the files product can reuse it later. Only"private"is accepted today, because nothing in the backend makes a private file public.Why
An app that stored uploads as public files had no way to make them private. The backend call is added in base44-dev/apper#49466. At runtime it already works through the integrations proxy, which turns any
Coremethod name into a request. Without this change it has no types and does not appear in the SDK reference.Changes
SetFilesVisibilityParams,SetFilesVisibilityFileResult,SetFilesVisibilityResultinintegrations.types.ts, exported fromindex.ts.SetFilesVisibilityonCoreIntegrations, with JSDoc and two examples.No runtime code changes.
Merge order
Do not merge before base44-dev/apper#49466 is deployed. Until then the documented call returns a not-found error.
Checks
tsc --noEmit -p tsconfig.type-tests.jsonpasses.npm run create-docswas not run locally, so the rendered page is not checked yet.🤖 Generated with Claude Code