Hyperse
  • Pricing
  • FAQs
Newsletter

Subscribe to our newsletter

Receive weekly updates with latest collections and exclusive offers, straight to your inbox.

Hyperse

Headless commerce solutions for brands, developers, and modern ecommerce teams.

Explore

  • Home
  • About Us
  • Partners
  • FAQs

Legal & resources

  • Proposal
  • Privacy Policy
  • Terms & Conditions

© 2026 Hyperse. All rights reserved.


  1. Home
  2. Vendure Plugins
  3. hps-plugin-setting
hps-plugin-setting

hps-plugin-setting

By Hyperse

hps-plugin-setting is a Setting plugin in the Hub Core group.hps-plugin-setting provides Setting plugin capabilities for Hub Core. Core platform infrastructure and extension runtime. It is especially useful for core workflows.

CoreVendure Plugins

Specifications

Technical details and package information for this product.

Package

@hyperse-hub/hps-plugin-setting

Support by

Hyperse

Support languages

TypeScript, JavaScript, HTML, CSS, Prolog, Shell

Integration type

Core

Category

Vendure Plugins

Compatible with

^3.0.0

Latest version

1.1.20

Downloads

0

Repository

ssh://git@github.com/hyperse-hub/hub-core

Last published

July 16, 2026

Description
Changelog
loading...

On this page

  • @hyperse-hub/hps-plugin-setting
    • Install
    • Usage
    • Plugin options
      • customSettings
    • GraphQL API
      • Shop API
      • Admin API
    • Development
      • Run e2e tests
      • Run unit tests
      • Local Development (please make sure to build plugin-admin first)

@hyperse-hub/hps-plugin-setting

A Vendure plugin that provides a translatable key/value settings store exposed via both Shop API (read-only, enabled-only) and Admin API (CRUD).

Install

yarn add @hyperse-hub/hps-plugin-setting

Usage

Register the plugin in your Vendure config:

import { HpsPluginSetting } from '@hyperse-hub/hps-plugin-setting'; // ... plugins: [ HpsPluginSetting.init({ customSettings: [ { key: 'currency_exchange_rates', enabled: true, translations: [ { languageCode: 'en', value: { USD: 1, EUR: 0.92 } }, { languageCode: 'zh', value: { USD: 1, EUR: 0.92 } }, ], }, ], }), ],

Plugin options

customSettings

An optional list of settings to seed/sync at application bootstrap:

  • Upserted by key (idempotent)
  • Existing records will have enabled and translations updated (translations are overwritten so code-defined defaults remain source of truth)

Type: CreateSettingInput[] (see Admin API schema).

GraphQL API

Shop API

Read-only access:

  • setting(id: ID, key: String): Setting
    • requires id or key
    • returns null when the setting is disabled
  • settings(options: SettingListOptions): SettingList!
    • always enforces enabled = true server-side

Admin API

CRUD access (requires catalog permissions):

  • settings(options: SettingListOptions): SettingList!
  • setting(id: ID!): Setting
  • createSetting(input: CreateSettingInput!): Setting!
  • updateSetting(input: UpdateSettingInput!): Setting!
  • deleteSetting(id: ID!): DeletionResponse!

Development

Run e2e tests

yarn workspace @hyperse-hub/hps-plugin-setting test-e2e

Run unit tests

yarn workspace @hyperse-hub/hps-plugin-setting test-unit

Local Development (please make sure to build plugin-admin first)

yarn serve