@supernova-studio/supernova-sdk-beta 2.4.11 → 2.5.1
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/SDKAreaAgentChats.d.ts +4 -1
- package/build/types/core/areas/SDKAreaBulkOperations.d.ts +3 -3
- package/build/types/core/areas/SDKAreaComponents.d.ts +7 -31
- package/build/types/core/areas/SDKAreaDataSources.d.ts +5 -0
- package/build/types/core/areas/SDKAreaDocumentation.d.ts +18 -20
- package/build/types/core/areas/SDKAreaMCP.d.ts +4 -3
- package/build/types/core/areas/SDKAreaMe.d.ts +0 -2
- package/build/types/core/areas/SDKAreaProjects.d.ts +77 -922
- package/build/types/core/areas/SDKAreaRawData.d.ts +78 -917
- package/build/types/core/areas/SDKAreaResources.d.ts +4 -2
- package/build/types/core/areas/SDKAreaThreads.d.ts +1 -115
- package/build/types/core/areas/SDKAreaTokenValues.d.ts +15 -2
- package/build/types/core/areas/SDKAreaTokens.d.ts +3 -4
- package/build/types/core/areas/SDKAreaVersions.d.ts +3 -3
- package/build/types/core/areas/SDKAreaWorkspaces.d.ts +3 -4
- package/build/types/core/data/SDKDataBridge.d.ts +0 -1
- package/build/types/core/data/SDKDataCore.d.ts +139 -1091
- package/build/types/core/data/SDKDataCoreCached.d.ts +0 -3
- package/build/types/core/data/requests/SDKDataCoreReadRequests.d.ts +55 -470
- package/build/types/core/data/requests/SDKDataCoreWriteRequests.d.ts +158 -1006
- package/build/types/core/resolvers/SDKDocsEntityItemResolver.d.ts +6 -6
- package/build/types/exports.d.ts +2 -1
- package/build/types/model/activity-events/SDKActivityEvent.d.ts +6710 -3
- package/build/types/model/agent-chats/SDKAgentChat.d.ts +12 -1
- package/build/types/model/base/SDKDesignSystemVersionStats.d.ts +6 -1
- package/build/types/model/docs/blocks/support/SDKDocsImageRef.d.ts +1 -1
- package/build/types/model/documentation/SDKPublishedDocsSite.d.ts +20 -0
- package/build/types/model/enums/SDKUnit.d.ts +2 -0
- package/build/types/model/exporters/exporter_builds/SDKExportDestinations.d.ts +3 -0
- package/build/types/model/support/SDKSource.d.ts +1 -1
- package/build/types/model/tokens/SDKColorToken.d.ts +4 -0
- package/build/types/model/tokens/SDKDimensionToken.d.ts +6 -1
- package/build/types/model/users/SDKUserWorkspaceNotificationSettings.d.ts +4 -0
- package/build/types/model/workspaces/SDKWorkspaceProduct.d.ts +0 -4
- package/build/types/model/workspaces/SDKWorkspaceProductPrice.d.ts +18 -9
- package/build/types/model/workspaces/SDKWorkspaceSubscription.d.ts +18 -19
- package/build/types/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +3 -6
- package/build/types/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +3 -29
- package/build/types/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +0 -31
- package/build/types/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +0 -2
- package/build/types/tools/token-preview/TokenUtilPreviewTypes.d.ts +2 -0
- package/build/types/utils/TokenUtils.d.ts +12 -4
- package/package.json +5 -23
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/index.d.ts +0 -4
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/lenient-resolve.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/placeholder.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/preserve.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/strict.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/types.d.ts +0 -33
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Brand } from "../../../../model/base/SDKBrand";
|
|
2
|
-
import { DTParsedNode, DTParsedTokenSet } from "../SDKDTJSONLoader";
|
|
3
|
-
import { DTPluginUnresolvableFallback } from "../SDKDTMapLoader";
|
|
4
|
-
import { DTTokenReferenceResolver } from "../SDKDTTokenReferenceResolver";
|
|
5
|
-
/** Context passed to each unresolvable-ref handler. */
|
|
6
|
-
export type UnresolvableModeContext = {
|
|
7
|
-
/** Nodes that failed to resolve within the depth limit, paired with their original processing index. */
|
|
8
|
-
unresolvedTokens: Array<[DTParsedNode, number]>;
|
|
9
|
-
/** All token sets loaded from the input file (used by `lenientResolve`; other handlers ignore). */
|
|
10
|
-
allLoadedSets: Array<DTParsedTokenSet>;
|
|
11
|
-
/** The atomic-token table built during resolution; used to check what IS known. */
|
|
12
|
-
atomicResolver: DTTokenReferenceResolver;
|
|
13
|
-
/** Fully-populated fallback values (defaults merged with any user overrides). */
|
|
14
|
-
fallback: Required<DTPluginUnresolvableFallback>;
|
|
15
|
-
/** Brand context — passed to per-token conversion. */
|
|
16
|
-
brand: Brand;
|
|
17
|
-
/** Short label used in warning strings for attribution (e.g. "Jetstar/jq-web-light"). */
|
|
18
|
-
mappingKey: string;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Result from a handler. Instead of directly writing tokens, handlers return
|
|
22
|
-
* substituted nodes (whose values may have been rewritten) and/or skipped nodes.
|
|
23
|
-
* The caller re-runs the atomic-conversion path on substituted nodes.
|
|
24
|
-
*/
|
|
25
|
-
export type UnresolvableModeResult = {
|
|
26
|
-
/** Nodes whose values were substituted; re-run conversion on these. */
|
|
27
|
-
substitutedNodes: Array<[DTParsedNode, number]>;
|
|
28
|
-
/** Nodes to skip entirely — not emitted this sync. */
|
|
29
|
-
skippedNodes: Array<[DTParsedNode, number]>;
|
|
30
|
-
/** `[WARN]`-prefixed lines appended to the existing `logs[]` return value. */
|
|
31
|
-
warnings: Array<string>;
|
|
32
|
-
};
|
|
33
|
-
export type UnresolvableModeHandler = (context: UnresolvableModeContext) => UnresolvableModeResult;
|