@supernova-studio/supernova-sdk-beta 2.4.9 → 2.4.11
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/build/supernova-sdk-typescript.js +1 -1
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/build/types/core/areas/SDKAreaBulkOperations.d.ts +72 -72
- package/build/types/core/areas/SDKAreaDesignSystems.d.ts +13 -13
- package/build/types/core/areas/SDKAreaDocumentation.d.ts +288 -288
- package/build/types/core/areas/SDKAreaMCP.d.ts +8 -1
- package/build/types/core/areas/SDKAreaProjects.d.ts +1091 -1091
- package/build/types/core/areas/SDKAreaRawData.d.ts +1046 -1046
- package/build/types/core/areas/SDKAreaResources.d.ts +90 -90
- package/build/types/core/areas/SDKAreaSanboxes.d.ts +9 -9
- package/build/types/core/areas/SDKAreaThreads.d.ts +67 -67
- package/build/types/core/areas/SDKAreaWorkspaces.d.ts +1 -1
- package/build/types/core/data/SDKDataCore.d.ts +1735 -1732
- package/build/types/core/data/requests/SDKDataCoreReadRequests.d.ts +628 -601
- package/build/types/core/data/requests/SDKDataCoreWriteRequests.d.ts +2494 -2495
- package/build/types/core/resolvers/SDKDocsEntityItemResolver.d.ts +121 -121
- package/build/types/exports.d.ts +1 -0
- package/build/types/model/activity-events/SDKActivityEvent.d.ts +3 -0
- package/build/types/model/agent-chats/SDKAgentChat.d.ts +3 -0
- package/build/types/model/base/SDKDesignSystem.d.ts +3 -1
- package/build/types/model/docs/blocks/properties/SDKDocsBlockContextProperty.d.ts +1 -1
- package/build/types/model/exporters/SDKPipeline.d.ts +1 -1
- package/build/types/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +29 -3
- package/build/types/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +31 -0
- package/build/types/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/index.d.ts +4 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/lenient-resolve.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/placeholder.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/preserve.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/strict.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/types.d.ts +33 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DTOMCPConsumer, DTOMCPStreamUpdateInput } from "@supernova-studio/client";
|
|
1
|
+
import { DTOMCPConsumer, DTOMCPAnalyticsFiltersQuery, DTOMCPAnalyticsResponse, DTOMCPStreamUpdateInput } from "@supernova-studio/client";
|
|
2
2
|
import { MCPStream } from "../../model/mcp/SDKMCPStream";
|
|
3
3
|
import { DataCore } from "../data/SDKDataCore";
|
|
4
4
|
export declare class AreaMCP {
|
|
@@ -33,6 +33,13 @@ export declare class AreaMCP {
|
|
|
33
33
|
* @returns The effective MCP consumer count.
|
|
34
34
|
*/
|
|
35
35
|
getConsumerCount(workspaceId: string, contextId?: string, designSystemId?: string): Promise<number>;
|
|
36
|
+
/**
|
|
37
|
+
* Retrieves MCP analytics for a design system and date range.
|
|
38
|
+
* @param designSystemId - The ID of the design system.
|
|
39
|
+
* @param filters - The connection and date filters.
|
|
40
|
+
* @returns The MCP analytics data.
|
|
41
|
+
*/
|
|
42
|
+
getAnalytics(designSystemId: string, filters: Pick<DTOMCPAnalyticsFiltersQuery, "connectionType" | "contextIds" | "start" | "end">): Promise<DTOMCPAnalyticsResponse>;
|
|
36
43
|
/**
|
|
37
44
|
* Updates the user's MCP stream with the provided data.
|
|
38
45
|
* @param data - The update input containing optional projectFeatureId and projectDocumentId.
|