File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
src/platform/notebooks/deepnote Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,23 @@ export interface IIntegrationStorage extends IDisposable {
1111 readonly onDidChangeIntegrations : Event < void > ;
1212
1313 getAll ( ) : Promise < IntegrationConfig [ ] > ;
14+
15+ /**
16+ * Retrieves the global (non-project-scoped) integration configuration by integration ID.
17+ *
18+ * This method returns integration configurations that are stored globally and shared
19+ * across all projects. These configurations are stored in VSCode's SecretStorage and
20+ * are scoped to the user's machine.
21+ *
22+ * This differs from `getProjectIntegrationConfig()` which returns project-scoped
23+ * configurations that are specific to a particular Deepnote project and stored
24+ * within the project's YAML file.
25+ *
26+ * @param integrationId - The unique identifier of the integration to retrieve
27+ * @returns A Promise that resolves to:
28+ * - The `IntegrationConfig` object if a global configuration exists for the given ID
29+ * - `undefined` if no global configuration exists for the given integration ID
30+ */
1431 getIntegrationConfig ( integrationId : string ) : Promise < IntegrationConfig | undefined > ;
1532
1633 /**
You can’t perform that action at this time.
0 commit comments