@lilaquadrat/interfaces 1.33.1 → 1.34.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 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.34.0](https://github.com/lilaquadrat/interfaces/compare/v1.33.2...v1.34.0) (2026-01-03)
6
+
7
+
8
+ ### Features
9
+
10
+ * **ProjectDomain:** add ProjectDomain interface with company, project, and secret properties ([33af056](https://github.com/lilaquadrat/interfaces/commit/33af056a8f39d25af8e1202455cc789f65f9738f))
11
+
12
+ ### [1.33.2](https://github.com/lilaquadrat/interfaces/compare/v1.33.1...v1.33.2) (2025-12-31)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **upload:** make 'filename', 'app', and 'mimetype' properties required in Upload interface ([c361c03](https://github.com/lilaquadrat/interfaces/commit/c361c03ec6bf3060db73daaf3549c58181912d26))
18
+
5
19
  ### [1.33.1](https://github.com/lilaquadrat/interfaces/compare/v1.33.0...v1.33.1) (2025-12-31)
6
20
 
7
21
 
@@ -0,0 +1,7 @@
1
+ import { Domain } from "./Domain";
2
+ import { Secret } from "./Secret";
3
+ export interface ProjectDomain extends Omit<Domain, 'secret'> {
4
+ company: string;
5
+ project: string;
6
+ secret: Secret;
7
+ }
@@ -2,15 +2,15 @@ import { ObjectId } from 'mongodb';
2
2
  import { ObjectIdString } from './ObjectIdString';
3
3
  export interface Upload {
4
4
  _id?: ObjectId;
5
- filename?: string;
5
+ filename: string;
6
6
  prefix?: string;
7
7
  company?: string;
8
8
  project?: string;
9
9
  customer?: ObjectIdString | ObjectId;
10
10
  list?: ObjectIdString | ObjectId;
11
11
  user?: string;
12
- app?: string;
13
- mimetype?: string;
12
+ app: string;
13
+ mimetype: string;
14
14
  size?: number;
15
15
  chunks: number;
16
16
  paths?: {
@@ -169,6 +169,7 @@ export * from './PricesElement';
169
169
  export * from './PricesModule';
170
170
  export * from './Project';
171
171
  export * from './ProjectDomain';
172
+ export * from './ProjectDomainWithSecret';
172
173
  export * from './ProjectWithCompany';
173
174
  export * from './Publish';
174
175
  export * from './PublishContentGroup';
@@ -0,0 +1,7 @@
1
+ import { Domain } from "./Domain";
2
+ import { Secret } from "./Secret";
3
+ export interface ProjectDomain extends Omit<Domain, 'secret'> {
4
+ company: string;
5
+ project: string;
6
+ secret: Secret;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ProjectDomainWithSecret.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectDomainWithSecret.js","sourceRoot":"","sources":["../../src/ProjectDomainWithSecret.ts"],"names":[],"mappings":""}
@@ -2,15 +2,15 @@ import { ObjectId } from 'mongodb';
2
2
  import { ObjectIdString } from './ObjectIdString';
3
3
  export interface Upload {
4
4
  _id?: ObjectId;
5
- filename?: string;
5
+ filename: string;
6
6
  prefix?: string;
7
7
  company?: string;
8
8
  project?: string;
9
9
  customer?: ObjectIdString | ObjectId;
10
10
  list?: ObjectIdString | ObjectId;
11
11
  user?: string;
12
- app?: string;
13
- mimetype?: string;
12
+ app: string;
13
+ mimetype: string;
14
14
  size?: number;
15
15
  chunks: number;
16
16
  paths?: {
@@ -169,6 +169,7 @@ export * from './PricesElement';
169
169
  export * from './PricesModule';
170
170
  export * from './Project';
171
171
  export * from './ProjectDomain';
172
+ export * from './ProjectDomainWithSecret';
172
173
  export * from './ProjectWithCompany';
173
174
  export * from './Publish';
174
175
  export * from './PublishContentGroup';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.33.1",
3
+ "version": "1.34.0",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
@@ -0,0 +1,8 @@
1
+ import { Domain } from "./Domain";
2
+ import { Secret } from "./Secret";
3
+
4
+ export interface ProjectDomain extends Omit<Domain, 'secret'> {
5
+ company: string
6
+ project: string
7
+ secret: Secret
8
+ }
package/src/Upload.ts CHANGED
@@ -3,15 +3,15 @@ import { ObjectIdString } from './ObjectIdString';
3
3
 
4
4
  export interface Upload {
5
5
  _id?: ObjectId;
6
- filename?: string;
6
+ filename: string;
7
7
  prefix?: string;
8
8
  company?: string;
9
9
  project?: string;
10
10
  customer?: ObjectIdString | ObjectId;
11
11
  list?: ObjectIdString | ObjectId;
12
12
  user?: string;
13
- app?: string;
14
- mimetype?: string;
13
+ app: string;
14
+ mimetype: string;
15
15
  size?: number;
16
16
  chunks: number;
17
17
  paths?: { path: string, index: number }[];