@supernova-studio/supernova-sdk-beta 2.2.0 → 2.2.2

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.
Files changed (23) hide show
  1. package/build/sdk-typescript/src/core/SDKSupernova.d.ts +6 -0
  2. package/build/sdk-typescript/src/core/areas/SDKAreaAI.d.ts +22 -5
  3. package/build/sdk-typescript/src/core/areas/SDKAreaProjects.d.ts +69 -0
  4. package/build/sdk-typescript/src/core/areas/SDKAreaPublishedDocumentation.d.ts +9 -0
  5. package/build/sdk-typescript/src/core/areas/SDKAreaWorkspaces.d.ts +35 -0
  6. package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +5 -0
  7. package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +51 -6
  8. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreAIRequests.d.ts +14 -4
  9. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +16 -1
  10. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +7 -3
  11. package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityItemResolver.d.ts +8 -8
  12. package/build/sdk-typescript/src/exports.d.ts +7 -3
  13. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +5 -0
  14. package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsTimeFrame.d.ts +6 -0
  15. package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsTimeFrameComparison.d.ts +7 -0
  16. package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsVisitsDifference.d.ts +10 -0
  17. package/build/sdk-typescript/src/model/docs_analytics/SDKPublishedDocPageVisitData.d.ts +10 -0
  18. package/build/sdk-typescript/src/model/projects/SDKProject.d.ts +39 -0
  19. package/build/sdk-typescript/src/model/projects/SDKProjectContext.d.ts +47 -0
  20. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductFeatures.d.ts +1 -1
  21. package/build/supernova-sdk-typescript.js +1 -1
  22. package/build/supernova-sdk-typescript.js.map +1 -1
  23. package/package.json +18 -31
@@ -0,0 +1,47 @@
1
+ export type SDKProjectContextRemoteModel = {
2
+ id: string;
3
+ name: string;
4
+ description?: string;
5
+ designSystemId: string;
6
+ dependencies: Array<string>;
7
+ npmProxyRegistry?: object;
8
+ };
9
+ export type SDKProjectContextTransportModel = {
10
+ id: string;
11
+ name: string;
12
+ description?: string;
13
+ designSystemId: string;
14
+ dependencies: Array<string>;
15
+ npmProxyRegistry?: object;
16
+ };
17
+ export interface SDKProjectContextCreationModel {
18
+ name: string;
19
+ description?: string;
20
+ designSystemId: string;
21
+ dependencies: Array<string>;
22
+ npmProxyRegistry?: object;
23
+ }
24
+ /**
25
+ * Represents a project context containing repository and technology information.
26
+ */
27
+ export declare class SDKProjectContext {
28
+ id: string;
29
+ name: string;
30
+ description: string | undefined;
31
+ designSystemId: string;
32
+ dependencies: Array<string>;
33
+ npmProxyRegistry: object | undefined;
34
+ constructor(model: SDKProjectContextRemoteModel);
35
+ /**
36
+ * Converts the context to a remote model for storage.
37
+ */
38
+ toRemote(): SDKProjectContextRemoteModel;
39
+ /**
40
+ * Converts the context to a transport model for serialization.
41
+ */
42
+ toTransport(): SDKProjectContextTransportModel;
43
+ /**
44
+ * Creates an instance from a transport model.
45
+ */
46
+ static fromTransport(model: SDKProjectContextTransportModel): SDKProjectContext;
47
+ }
@@ -1,6 +1,6 @@
1
1
  export type ProductFeature = {
2
2
  [key: string]: {
3
- enabled: boolean;
3
+ enabled?: boolean;
4
4
  max?: number;
5
5
  errorMessage: string;
6
6
  errorReason: string;