Skip to content

Commit 6ec0ac9

Browse files
authored
Merge pull request #14 from devforth/feature/AdminForth/1359/test-all-plugins-for-dark-them
fix: rebulid
2 parents fc6ff78 + 9ce9c61 commit 6ec0ac9

3 files changed

Lines changed: 73 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"p-limit": "^7.3.0"
3939
},
4040
"peerDependencies": {
41-
"adminforth": "^2.24.0"
41+
"adminforth": "^2.30.0"
4242
},
4343
"devDependencies": {
4444
"@types/node": "^22.10.7",

pnpm-lock.yaml

Lines changed: 70 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { CompletionAdapter, EmailAdapter } from 'adminforth';
22
import type { LanguageCode } from 'iso-639-1';
33
import { iso31661Alpha2ToAlpha3 } from 'iso-3166';
4-
4+
import {type PluginsCommonOptions } from "adminforth";
55

66
// BCP-47 support for types only: primary subtag is ISO 639-1, optional region
77
type Alpha2Code = keyof typeof iso31661Alpha2ToAlpha3;
88
type Bcp47LanguageTag = `${LanguageCode}-${Alpha2Code}`;
99
export type SupportedLanguage = LanguageCode | Bcp47LanguageTag;
1010

11-
export interface PluginOptions {
11+
export interface PluginOptions extends PluginsCommonOptions {
1212

1313
/* List of language codes which you want to support. Can be either short ISO 639-1 language codes or/and BCP47 tags */
1414
supportedLanguages: SupportedLanguage[];

0 commit comments

Comments
 (0)