0.16.0 • Published 3 months ago

@tailor-cms/garment v0.16.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

👕 Garment

Utility for managing published Tailor content. Provides ability to:

  • ✅ list published repositories
  • ✅ load Repository instance and all nested entities (Activities, Content Containers, Content Elements)
  • ✅ snapshot repository
  • ✅ load from snapshot
  • ✅ sign ContentElement assets for delivery
  • 🚧 cache presigned Repository instance

Initialize garment by providing storage provider configuration.

const garment = new Garment({
  provider: 'aws',
  bucket: 'my-bucket',
  aws: {
    keyId: 'aws-key',
    secretKey: 'aws-secret',
    region: 'eu-central-1'
  }
});

API

Fetching resources

Retrieve the list of published repositories

garment.source().list()

Retrieve repository from source dir (published version)

garment.source().get(id)

Retrieve repository snapshot

garment.snapshot().get(id, version)
0.17.0-beta.1

3 months ago

0.16.0

6 months ago

0.16.0-beta.1

6 months ago

0.15.0

8 months ago

0.14.0

12 months ago

0.11.0

1 year ago

0.12.0

1 year ago

0.13.0

1 year ago

0.12.1

1 year ago

0.12.2

1 year ago

0.12.3

1 year ago

0.12.4

1 year ago

0.12.5

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago

0.8.4

1 year ago

0.8.1

2 years ago

0.8.3

1 year ago

0.8.2

1 year ago

0.7.3

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago