0.18.0 • Published 7 months ago

@tailor-cms/garment v0.18.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 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.18.0

8 months ago

0.18.1-beta.2

7 months ago

0.18.1-beta.1

7 months ago

0.17.0-beta.2

12 months ago

0.17.0-beta.1

1 year ago

0.16.0

2 years ago

0.16.0-beta.1

2 years ago

0.15.0

2 years ago

0.14.0

2 years ago

0.11.0

2 years ago

0.12.0

2 years ago

0.13.0

2 years ago

0.12.1

2 years ago

0.12.2

2 years ago

0.12.3

2 years ago

0.12.4

2 years ago

0.12.5

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.4

2 years ago

0.8.1

3 years ago

0.8.3

3 years ago

0.8.2

3 years ago

0.7.3

3 years ago

0.7.2

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago