Membrane SDK - v0.29.2
    Preparing search index...

    Class ScreensAccessor

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • Optionalquery: { limit?: number; cursor?: string; type?: Integration; key?: string }

      Returns Promise<
          PaginationResponse<
              {
                  type: Integration;
                  key?: string;
                  blocks: ({ type: ScreenBlockType } & Record<string, any>)[];
                  id: string;
                  name: string;
              },
          >,
      >

    • Parameters

      • Optionalquery: Omit<
            { limit?: number; cursor?: string; type?: Integration; key?: string },
            "limit",
        >

      Returns Promise<
          {
              type: Integration;
              key?: string;
              blocks: ({ type: ScreenBlockType } & Record<string, any>)[];
              id: string;
              name: string;
          }[],
      >

    • Parameters

      • data: {
            name?: string;
            meta?: Record<string, any>;
            blocks?: ({ type: ScreenBlockType } & Record<string, any>)[];
            key?: string;
            type: Integration;
        }

      Returns Promise<
          {
              type: Integration;
              key?: string;
              blocks: ({ type: ScreenBlockType } & Record<string, any>)[];
              id: string;
              name: string;
          },
      >