@plasmicapp/cli 0.1.335 → 0.1.337

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/dist/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Socket } from "socket.io-client";
1
+ import socketio from "socket.io-client";
2
2
  import { AuthConfig, CodeConfig, CustomFunctionConfig, FontConfig, I18NConfig, ImagesConfig, StyleConfig } from "./utils/config-utils";
3
3
  import { Metadata } from "./utils/get-context";
4
4
  export declare class AppServerError extends Error {
@@ -18,6 +18,12 @@ export interface ComponentBundle {
18
18
  isPage: boolean;
19
19
  path?: string;
20
20
  plumeType?: string;
21
+ rscMetadata?: {
22
+ pageWrappers: Record<"client" | "server", {
23
+ module: string;
24
+ fileName: string;
25
+ }>;
26
+ };
21
27
  }
22
28
  export interface GlobalVariantBundle {
23
29
  id: string;
@@ -238,7 +244,7 @@ export declare class PlasmicApi {
238
244
  uploadBundle(projectId: string, bundleName: string, bundleJs: string, css: string[], metaJson: string, genModulePath: string | undefined, genCssPaths: string[], pkgVersion: string | undefined, extraPropMetaJson: string | undefined, themeProviderWrapper: string | undefined, themeModule: string | undefined): Promise<StyleTokensMap>;
239
245
  projectStyleTokens(projectId: string, branchName: string, versionRange?: string): Promise<StyleTokensMap>;
240
246
  projectIcons(projectId: string, branchName: string, versionRange?: string, iconIds?: string[]): Promise<ProjectIconsResponse>;
241
- connectSocket(): Socket;
247
+ connectSocket(): ReturnType<typeof socketio>;
242
248
  private post;
243
249
  private get;
244
250
  private makeErrorMessage;