@tanglemedia/directus-collection-job

0.0.2 • Public • Published

@tanglemedia/directus-collection-job

Installs the Event Collection to your Directus project.

The package will install the following collections:

  • Event Collection tngl_job

It automatically sets the following:

  • Creates a new role called Website. If the Website role already exist, it will not create a new one.
  • Website role will have READ permission to tngl_job collection
  • Sets default presets when viewing a list of jobs

Requirements

  • Directus >= 10.10.1
  • Node >= 18.x.x

To enable auto-generation of the slug / url based on the title of the collection, please install the following Directus Extensions:

  • directus-extension-wpslug-interface
  • directus-extension-display-link

Install

  1. Add the following variables to your Directus env file:

    • SITE_BASE_URL (Base url of the site. Needed to properly format the full url of the page in the collection)
  2. npm i @tanglemedia/directus-collection-job

  3. npx directus bootstrap to update your database and restart directus

What's inside the package

Job Collection

  • Status (defaults to "Draft")
  • Title (required)
  • Slug / URL (required, unique)
  • Date Posted (required)
  • Date Closes
  • Type
    • Remote
    • On-Site
    • Hybrid
  • Duration
    • Permanent Full-time
    • Permanent Part-time
    • Contract Full-time
    • Contract Part-time
    • Internship / Co-op
    • Seasonal
    • Casual / On-call
  • SEO
    • Keywords
    • Description

Package Sidebar

Install

npm i @tanglemedia/directus-collection-job

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

641 kB

Total Files

9

Last publish

Collaborators

  • tanglemedia-dev