feat(endpoints): add support for SDK endpoint type#362
Merged
Conversation
Generated |
Copilot started reviewing on behalf of
Dominik Kadera (dominikkadera)
July 1, 2026 08:05
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds first-class support for the SDK “endpoint” component type across both Online Mode (tree view + commands + code save/load) and Local Development (manifest schema/types, clone/pull/deploy, checksums/migrations), including special handling for environments where the endpoints feature is not yet enabled.
Changes:
- Introduces
endpointas a newAppComponentType, wires it into tree providers, commands, API path mapping, and import/export flows. - Adds endpoint-specific metadata and code sections, including metadata-backed endpoint
context(stored as a component metadata field, edited as a markdown source file). - Extends Local Dev plumbing (schema/types/migrations/checksums/deploy ordering/reference validation) to include endpoints and their connection references (
attachedAccounts).
Reviewed changes
Copilot reviewed 44 out of 56 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| syntaxes/local-development/schemas/makecomapp.schema.json | Extends makecomapp JSON schema for endpoint metadata, mapping keys, and endpoint code file keys. |
| src/Validator.js | Adds endpoint ID validation rule for Online Mode creation flow. |
| src/types/get-component-api-response.types.ts | Adds endpoint API response types and includes them in component unions. |
| src/types/component-types.types.ts | Introduces EndpointAnnotations type. |
| src/types/app-component-type.types.ts | Adds endpoint to AppComponentType and AppComponentTypes. |
| src/services/component-types-order.ts | Places endpoint into deploy ordering. |
| src/services/component-code-def.ts | Adds endpoint code definitions + metadata-backed code helpers. |
| src/services/component-code-def.test.ts | Tests endpoint code definitions and deploy ordering behavior. |
| src/providers/ParametersProvider.ts | Adds endpoint inputParameters section support for parameter completion. |
| src/providers/OpensourceProvider.js | Adds endpoints group/items in open-source tree and tolerant listing when feature disabled. |
| src/providers/AppsProvider.js | Adds endpoints group/items in apps tree and tolerant listing when feature disabled. |
| src/local-development/types/makecomapp.types.ts | Adds endpoint metadata fields (annotations, attachedAccounts) to local-dev manifest types. |
| src/local-development/types/code-type.types.ts | Adds endpoint code types and API code type entries (inputParameters, outputParameters, context). |
| src/local-development/types/code-def.types.ts | Adds checksumKey and metadataBacked to support endpoint section quirks and context behavior. |
| src/local-development/types/checksum.types.ts | Adds optional endpoints checksums collection. |
| src/local-development/remote-components-summary.ts | Pulls endpoint metadata from API details and translates attached account refs to local IDs. |
| src/local-development/makecomappjson.ts | Validates endpoint attachedAccounts references on manifest updates. |
| src/local-development/makecomappjson-migrations.ts | Backfills missing component-type keys (incl. endpoint) for backward compatibility. |
| src/local-development/makecomappjson-migrations.test.ts | Tests migrations for legacy manifests missing endpoint keys. |
| src/local-development/index.ts | Registers new local-dev “create endpoint” command. |
| src/local-development/helpers/validate-id.ts | Adds local ID validation rule for endpoints. |
| src/local-development/helpers/validate-id.test.ts | Tests endpoint ID validity rules. |
| src/local-development/helpers/validate-component-references.ts | Validates endpoint attachedAccounts mapping references. |
| src/local-development/helpers/validate-component-references.test.ts | Tests validation for endpoint attached account references. |
| src/local-development/helpers/origin-checksum.ts | Supports endpoint checksum arrays + bridges checksum keys for endpoint sections. |
| src/local-development/helpers/makecomapp-json-file-class.ts | Ensures endpoint exists in default idMapping shape. |
| src/local-development/helpers/get-empty-code-content.ts | Adds empty templates for endpoint input/output params and context. |
| src/local-development/helpers/component-id-mapping-helper.ts | Initializes endpoint mapping list in helper default shape. |
| src/local-development/helpers/api-url.ts | Enables endpoint component API URL composition. |
| src/local-development/find-code-by-filepath.ts | Updates deploy ordering used when deploying from file paths. |
| src/local-development/deploy-metadata.ts | Deploys endpoint metadata (description/annotations/attachedAccounts) and translates refs. |
| src/local-development/deploy-metadata.test.ts | Tests endpoint metadata deploy body mapping and attachedAccounts translation. |
| src/local-development/create-remote-component.ts | Supports endpoint creation and strips unsupported creation fields. |
| src/local-development/create-local-endpoint.ts | Adds command to create local endpoint skeleton in Local Dev. |
| src/local-development/code-pull-deploy.ts | Adds metadata-backed code pull/deploy behavior (endpoint context). |
| src/local-development/clone.ts | Includes endpoint keys in cloned manifest scaffolding. |
| src/local-development/align-components-mapping.ts | Includes endpoints in mapping alignment + updates processing order. |
| src/local-development/align-components-mapping.test.ts | Updates fixtures for endpoint idMapping/components presence. |
| src/extension.ts | Registers Online Mode EndpointCommands. |
| src/Core.ts | Adds suppressErrorDialog option to rpGet and maps endpoint path in v2. |
| src/commands/EndpointCommands.ts | New Online Mode endpoint commands (create/edit/publish/private/annotations/connections). |
| src/commands/CoreCommands.ts | Adds generic metadata-backed save/load behavior for codes like endpoint context. |
| src/commands/AppCommands.js | Extends export/import zip flows to include endpoints + metadata fields and ref remapping. |
| package.json | Contributes endpoint commands/menus and adds file associations for endpoint parameter schemas. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot started reviewing on behalf of
Dominik Kadera (dominikkadera)
July 1, 2026 08:49
View session
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Martin Zaloudek (ma-zal)
approved these changes
Jul 1, 2026
Martin Zaloudek (ma-zal)
left a comment
Collaborator
There was a problem hiding this comment.
Looks good. Merge and release based on your decision.
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.
Hey,
I'm introducing support for the SDK to be able to work with the Endpoints Entity. It mimics how Modules and RPCs are done, and basically follows this pattern and adds the Endpoints as another top-level entry of the App Tree.
The code counts with situation when the Endpoints are not yet enabled on the Environments, as it's still a feature to come.