@lilaquadrat/interfaces 1.42.0 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/cjs/CompatibleModule.d.ts +2 -1
- package/lib/cjs/FilesModule.d.ts +8 -0
- package/lib/cjs/LimiterPluginOptions.d.ts +2 -0
- package/lib/cjs/index.d.ts +1 -0
- package/lib/esm/CompatibleModule.d.ts +2 -1
- package/lib/esm/FilesModule.d.ts +8 -0
- package/lib/esm/FilesModule.js +2 -0
- package/lib/esm/FilesModule.js.map +1 -0
- package/lib/esm/LimiterPluginOptions.d.ts +2 -0
- package/lib/esm/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/CompatibleModule.ts +2 -0
- package/src/FilesModule.ts +9 -0
- package/src/LimiterPluginOptions.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.44.0](https://github.com/lilaquadrat/interfaces/compare/v1.43.0...v1.44.0) (2026-06-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **limiterplugin:** added whitelist ([c8bda16](https://github.com/lilaquadrat/interfaces/commit/c8bda166841b0fbece56c6c724ca6578ba925de8))
|
|
11
|
+
|
|
12
|
+
## [1.43.0](https://github.com/lilaquadrat/interfaces/compare/v1.42.0...v1.43.0) (2026-05-28)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **files module:** added files module ([348cc88](https://github.com/lilaquadrat/interfaces/commit/348cc886b6d490d8c146d59d3070be231590b1c6))
|
|
18
|
+
|
|
5
19
|
## [1.42.0](https://github.com/lilaquadrat/interfaces/compare/v1.41.0...v1.42.0) (2026-05-21)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -8,6 +8,7 @@ import { EventModule } from "./EventModule";
|
|
|
8
8
|
import { EventsListModule } from "./EventsListModule";
|
|
9
9
|
import { FactsModule } from "./FactsModule";
|
|
10
10
|
import { FaqModule } from "./FaqModule";
|
|
11
|
+
import { FilesModule } from "./FilesModule";
|
|
11
12
|
import { FooterModule } from "./FooterModule";
|
|
12
13
|
import { GalleryModule } from "./GalleryModule";
|
|
13
14
|
import { IndexModule } from "./IndexModule";
|
|
@@ -30,4 +31,4 @@ import { VideoModule } from "./VideoModule";
|
|
|
30
31
|
/**
|
|
31
32
|
* Union type that combines all module interfaces for compatibility
|
|
32
33
|
*/
|
|
33
|
-
export type CompatibleModule = BlogIntroModule | CallToActionModule | CompareModule | ContactModule | CookiesModule | EmotionModule | EventModule | EventsListModule | FactsModule | FaqModule | FooterModule | GalleryModule | IndexModule | LocationModule | MenuModule | NavigationModule | PartialModule | PictureAndTextModule | PictureModule | PicturegroupModule | PlaceholderModule | PricesModule | QuellcodeModule | QuoteModule | ShoppingCartModule | StoryModule | TextModule | TrainingModule | VideoModule;
|
|
34
|
+
export type CompatibleModule = BlogIntroModule | CallToActionModule | CompareModule | ContactModule | CookiesModule | EmotionModule | EventModule | EventsListModule | FactsModule | FaqModule | FilesModule | FooterModule | GalleryModule | IndexModule | LocationModule | MenuModule | NavigationModule | PartialModule | PictureAndTextModule | PictureModule | PicturegroupModule | PlaceholderModule | PricesModule | QuellcodeModule | QuoteModule | ShoppingCartModule | StoryModule | TextModule | TrainingModule | VideoModule;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GenericData } from "./GenericData";
|
|
2
|
+
import { Module } from "./Module";
|
|
3
|
+
import { Textblock } from "./Textblock";
|
|
4
|
+
export interface FilesModule extends Module {
|
|
5
|
+
type: "files-module" | `${string}-files-module`;
|
|
6
|
+
textblock?: Textblock;
|
|
7
|
+
genericData?: GenericData;
|
|
8
|
+
}
|
|
@@ -30,6 +30,8 @@ export interface LimiterPluginOptions {
|
|
|
30
30
|
overrides?: LimiterPrefixOverride[];
|
|
31
31
|
/** Routes to skip entirely. Default: ['/health', '/']. */
|
|
32
32
|
ignoreRoutes?: string[];
|
|
33
|
+
/** URL prefixes that skip rate limiting entirely. Longest match wins. */
|
|
34
|
+
whitelist?: string[];
|
|
33
35
|
/** Fail-open if Mongo errors. Default: true. */
|
|
34
36
|
skipOnError?: boolean;
|
|
35
37
|
}
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export * from './ExportData';
|
|
|
85
85
|
export * from './FactsElement';
|
|
86
86
|
export * from './FactsModule';
|
|
87
87
|
export * from './FaqModule';
|
|
88
|
+
export * from './FilesModule';
|
|
88
89
|
export * from './FooterContact';
|
|
89
90
|
export * from './FooterModule';
|
|
90
91
|
export * from './FooterSitemap';
|
|
@@ -8,6 +8,7 @@ import { EventModule } from "./EventModule";
|
|
|
8
8
|
import { EventsListModule } from "./EventsListModule";
|
|
9
9
|
import { FactsModule } from "./FactsModule";
|
|
10
10
|
import { FaqModule } from "./FaqModule";
|
|
11
|
+
import { FilesModule } from "./FilesModule";
|
|
11
12
|
import { FooterModule } from "./FooterModule";
|
|
12
13
|
import { GalleryModule } from "./GalleryModule";
|
|
13
14
|
import { IndexModule } from "./IndexModule";
|
|
@@ -30,4 +31,4 @@ import { VideoModule } from "./VideoModule";
|
|
|
30
31
|
/**
|
|
31
32
|
* Union type that combines all module interfaces for compatibility
|
|
32
33
|
*/
|
|
33
|
-
export type CompatibleModule = BlogIntroModule | CallToActionModule | CompareModule | ContactModule | CookiesModule | EmotionModule | EventModule | EventsListModule | FactsModule | FaqModule | FooterModule | GalleryModule | IndexModule | LocationModule | MenuModule | NavigationModule | PartialModule | PictureAndTextModule | PictureModule | PicturegroupModule | PlaceholderModule | PricesModule | QuellcodeModule | QuoteModule | ShoppingCartModule | StoryModule | TextModule | TrainingModule | VideoModule;
|
|
34
|
+
export type CompatibleModule = BlogIntroModule | CallToActionModule | CompareModule | ContactModule | CookiesModule | EmotionModule | EventModule | EventsListModule | FactsModule | FaqModule | FilesModule | FooterModule | GalleryModule | IndexModule | LocationModule | MenuModule | NavigationModule | PartialModule | PictureAndTextModule | PictureModule | PicturegroupModule | PlaceholderModule | PricesModule | QuellcodeModule | QuoteModule | ShoppingCartModule | StoryModule | TextModule | TrainingModule | VideoModule;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GenericData } from "./GenericData";
|
|
2
|
+
import { Module } from "./Module";
|
|
3
|
+
import { Textblock } from "./Textblock";
|
|
4
|
+
export interface FilesModule extends Module {
|
|
5
|
+
type: "files-module" | `${string}-files-module`;
|
|
6
|
+
textblock?: Textblock;
|
|
7
|
+
genericData?: GenericData;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilesModule.js","sourceRoot":"","sources":["../../src/FilesModule.ts"],"names":[],"mappings":""}
|
|
@@ -30,6 +30,8 @@ export interface LimiterPluginOptions {
|
|
|
30
30
|
overrides?: LimiterPrefixOverride[];
|
|
31
31
|
/** Routes to skip entirely. Default: ['/health', '/']. */
|
|
32
32
|
ignoreRoutes?: string[];
|
|
33
|
+
/** URL prefixes that skip rate limiting entirely. Longest match wins. */
|
|
34
|
+
whitelist?: string[];
|
|
33
35
|
/** Fail-open if Mongo errors. Default: true. */
|
|
34
36
|
skipOnError?: boolean;
|
|
35
37
|
}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export * from './ExportData';
|
|
|
85
85
|
export * from './FactsElement';
|
|
86
86
|
export * from './FactsModule';
|
|
87
87
|
export * from './FaqModule';
|
|
88
|
+
export * from './FilesModule';
|
|
88
89
|
export * from './FooterContact';
|
|
89
90
|
export * from './FooterModule';
|
|
90
91
|
export * from './FooterSitemap';
|
package/package.json
CHANGED
package/src/CompatibleModule.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { EventModule } from "./EventModule";
|
|
|
8
8
|
import { EventsListModule } from "./EventsListModule";
|
|
9
9
|
import { FactsModule } from "./FactsModule";
|
|
10
10
|
import { FaqModule } from "./FaqModule";
|
|
11
|
+
import { FilesModule } from "./FilesModule";
|
|
11
12
|
import { FooterModule } from "./FooterModule";
|
|
12
13
|
import { GalleryModule } from "./GalleryModule";
|
|
13
14
|
import { IndexModule } from "./IndexModule";
|
|
@@ -42,6 +43,7 @@ export type CompatibleModule =
|
|
|
42
43
|
| EventsListModule
|
|
43
44
|
| FactsModule
|
|
44
45
|
| FaqModule
|
|
46
|
+
| FilesModule
|
|
45
47
|
| FooterModule
|
|
46
48
|
| GalleryModule
|
|
47
49
|
| IndexModule
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GenericData } from "./GenericData"
|
|
2
|
+
import { Module } from "./Module"
|
|
3
|
+
import { Textblock } from "./Textblock"
|
|
4
|
+
|
|
5
|
+
export interface FilesModule extends Module {
|
|
6
|
+
type: "files-module" | `${string}-files-module`
|
|
7
|
+
textblock?: Textblock
|
|
8
|
+
genericData?: GenericData
|
|
9
|
+
}
|
|
@@ -32,6 +32,8 @@ export interface LimiterPluginOptions {
|
|
|
32
32
|
overrides?: LimiterPrefixOverride[];
|
|
33
33
|
/** Routes to skip entirely. Default: ['/health', '/']. */
|
|
34
34
|
ignoreRoutes?: string[];
|
|
35
|
+
/** URL prefixes that skip rate limiting entirely. Longest match wins. */
|
|
36
|
+
whitelist?: string[];
|
|
35
37
|
/** Fail-open if Mongo errors. Default: true. */
|
|
36
38
|
skipOnError?: boolean;
|
|
37
39
|
}
|