penpot-penpot

Namespace

penpot-penpot

Description:
  • Revolutionize your design workflow with Penpot, the open-source tool where design meets code. Create stunning designs, prototypes, and integrate seamlessly with developers. Collaborate effortlessly!

Author:

Methods

(async, static) createPenpotPenpotInstance(context, body) → {PenpotPenpot}

Description:
  • Create a new Penpot instance

Example
import { Context } from '@osaas/client-core';
import { createPenpotPenpotInstance } from '@osaas/client-services';

const ctx = new Context();
const body: PenpotPenpotConfig = { name: 'myinstance', ... };
const instance = await createPenpotPenpotInstance(ctx, body);
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

body PenpotPenpotConfig

Service instance configuration

Returns:
  • Service instance
Type
PenpotPenpot

(async, static) getPenpotPenpotInstance(context, name) → {PenpotPenpot}

Description:
  • Get a Penpot instance

Example
import { Context } from '@osaas/client-core';
import { getPenpotPenpotInstance } from '@osaas/client-services';

const ctx = new Context();
const instance = await getPenpotPenpotInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the penpot to be retrieved

Returns:
  • Service instance
Type
PenpotPenpot

(async, static) removePenpotPenpotInstance(context, name)

Description:
  • Remove a Penpot instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the penpot to be removed