@lilaquadrat/interfaces 1.15.0 → 1.17.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.17.0](https://github.com/lilaquadrat/interfaces/compare/v1.16.0...v1.17.0) (2025-01-14)
6
+
7
+
8
+ ### Features
9
+
10
+ * **nginx command:** added support for nginx command, remove docker commands ([1eba7b5](https://github.com/lilaquadrat/interfaces/commit/1eba7b566b95f0b3f4cb2faf00ff971fc6d70a2f))
11
+
12
+ ## [1.16.0](https://github.com/lilaquadrat/interfaces/compare/v1.15.0...v1.16.0) (2025-01-05)
13
+
14
+
15
+ ### Features
16
+
17
+ * **paymentprovider:** added paymentProviders interfaced and updated mongodb ([0437ae9](https://github.com/lilaquadrat/interfaces/commit/0437ae97d4a0c737564219868d495e23fbfe5d1b))
18
+
5
19
  ## [1.15.0](https://github.com/lilaquadrat/interfaces/compare/v1.14.1...v1.15.0) (2025-01-03)
6
20
 
7
21
 
@@ -0,0 +1 @@
1
+ export type CommandNginx = 'restart' | 'reload' | 'start' | 'stop';
@@ -1,7 +1,6 @@
1
- import { Command } from "./Command";
1
+ import { CommandNginx } from "./CommandNginx";
2
2
  export interface HostingCommand {
3
- target: 'nginx' | 'docker';
4
- command: Command<HostingCommand['target']>;
3
+ command: CommandNginx;
5
4
  date: Date;
6
5
  state: 'new' | 'inProgress' | 'success' | 'error';
7
6
  data: {
@@ -11,7 +10,6 @@ export interface HostingCommand {
11
10
  company?: string;
12
11
  project?: string;
13
12
  after?: {
14
- target: 'nginx' | 'docker';
15
- command: Command<HostingCommand['target']>;
13
+ command: CommandNginx;
16
14
  };
17
15
  }
@@ -0,0 +1,5 @@
1
+ export interface PaymentProvider {
2
+ type: 'shopify';
3
+ active: boolean;
4
+ label: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { PaymentProvider } from "./PaymentProvider";
2
+ export interface PaymentProviderShopify extends PaymentProvider {
3
+ type: 'shopify';
4
+ validationKey: string;
5
+ }
@@ -23,6 +23,7 @@ export * from './CertificateAction';
23
23
  export * from './CertificateActionResult';
24
24
  export * from './ChildData';
25
25
  export * from './Command';
26
+ export * from './CommandNginx';
26
27
  export * from './Company';
27
28
  export * from './CompanyAttribute';
28
29
  export * from './CompanyProject';
@@ -100,6 +101,8 @@ export * from './ObjectIdString';
100
101
  export * from './Options';
101
102
  export * from './Partner';
102
103
  export * from './Payment';
104
+ export * from './PaymentProvider';
105
+ export * from './PaymentProviderShopify ';
103
106
  export * from './PaymentWithCustomer';
104
107
  export * from './Permissions';
105
108
  export * from './PermissionsWithScope';
@@ -0,0 +1 @@
1
+ export type CommandNginx = 'restart' | 'reload' | 'start' | 'stop';
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CommandNginx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandNginx.js","sourceRoot":"","sources":["../../src/CommandNginx.ts"],"names":[],"mappings":""}
@@ -1,7 +1,6 @@
1
- import { Command } from "./Command";
1
+ import { CommandNginx } from "./CommandNginx";
2
2
  export interface HostingCommand {
3
- target: 'nginx' | 'docker';
4
- command: Command<HostingCommand['target']>;
3
+ command: CommandNginx;
5
4
  date: Date;
6
5
  state: 'new' | 'inProgress' | 'success' | 'error';
7
6
  data: {
@@ -11,7 +10,6 @@ export interface HostingCommand {
11
10
  company?: string;
12
11
  project?: string;
13
12
  after?: {
14
- target: 'nginx' | 'docker';
15
- command: Command<HostingCommand['target']>;
13
+ command: CommandNginx;
16
14
  };
17
15
  }
@@ -0,0 +1,5 @@
1
+ export interface PaymentProvider {
2
+ type: 'shopify';
3
+ active: boolean;
4
+ label: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PaymentProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentProvider.js","sourceRoot":"","sources":["../../src/PaymentProvider.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { PaymentProvider } from "./PaymentProvider";
2
+ export interface PaymentProviderShopify extends PaymentProvider {
3
+ type: 'shopify';
4
+ validationKey: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PaymentProviderShopify%20.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentProviderShopify .js","sourceRoot":"","sources":["../../src/PaymentProviderShopify .ts"],"names":[],"mappings":""}
@@ -23,6 +23,7 @@ export * from './CertificateAction';
23
23
  export * from './CertificateActionResult';
24
24
  export * from './ChildData';
25
25
  export * from './Command';
26
+ export * from './CommandNginx';
26
27
  export * from './Company';
27
28
  export * from './CompanyAttribute';
28
29
  export * from './CompanyProject';
@@ -100,6 +101,8 @@ export * from './ObjectIdString';
100
101
  export * from './Options';
101
102
  export * from './Partner';
102
103
  export * from './Payment';
104
+ export * from './PaymentProvider';
105
+ export * from './PaymentProviderShopify ';
103
106
  export * from './PaymentWithCustomer';
104
107
  export * from './Permissions';
105
108
  export * from './PermissionsWithScope';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.15.0",
3
+ "version": "1.17.0",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
@@ -31,12 +31,13 @@
31
31
  "@types/node": "^20.11.9",
32
32
  "ajv": "^8.12.0",
33
33
  "cz-conventional-changelog": "^3.3.0",
34
- "mongodb": "^5.9.2",
34
+ "mongodb": "^6.12.0",
35
35
  "standard-version": "^9.5.0"
36
36
  },
37
37
  "config": {
38
38
  "commitizen": {
39
39
  "path": "./node_modules/cz-conventional-changelog"
40
40
  }
41
- }
41
+ },
42
+ "packageManager": "yarn@1.22.22"
42
43
  }
@@ -0,0 +1 @@
1
+ export type CommandNginx = 'restart' | 'reload' | 'start' | 'stop'
@@ -1,8 +1,7 @@
1
- import { Command } from "./Command";
1
+ import { CommandNginx } from "./CommandNginx";
2
2
 
3
3
  export interface HostingCommand {
4
- target: 'nginx' | 'docker';
5
- command: Command<HostingCommand['target']>;
4
+ command: CommandNginx;
6
5
  date: Date;
7
6
  state: 'new' | 'inProgress' | 'success' | 'error';
8
7
  data: { [key: string]: any };
@@ -10,7 +9,6 @@ export interface HostingCommand {
10
9
  company?: string;
11
10
  project?: string;
12
11
  after?: {
13
- target: 'nginx' | 'docker';
14
- command: Command<HostingCommand['target']>;
12
+ command: CommandNginx;
15
13
  };
16
14
  }
@@ -0,0 +1,10 @@
1
+
2
+ export interface PaymentProvider {
3
+
4
+ type: 'shopify'
5
+
6
+ active: boolean
7
+
8
+ label: string
9
+
10
+ }
@@ -0,0 +1,9 @@
1
+ import { PaymentProvider } from "./PaymentProvider";
2
+
3
+ export interface PaymentProviderShopify extends PaymentProvider {
4
+
5
+ type: 'shopify'
6
+
7
+ validationKey: string
8
+
9
+ }