@lilaquadrat/interfaces 2.0.0 → 2.1.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 +7 -0
- package/lib/cjs/Design.d.ts +3 -0
- package/lib/cjs/DesignInput.d.ts +12 -0
- package/lib/cjs/DesignListOptions.d.ts +12 -0
- package/lib/cjs/Project.d.ts +5 -0
- package/lib/cjs/ProjectDesign.d.ts +5 -0
- package/lib/cjs/index.d.ts +3 -0
- package/lib/esm/Design.d.ts +3 -0
- package/lib/esm/DesignInput.d.ts +12 -0
- package/lib/esm/DesignInput.js +2 -0
- package/lib/esm/DesignInput.js.map +1 -0
- package/lib/esm/DesignListOptions.d.ts +12 -0
- package/lib/esm/DesignListOptions.js +2 -0
- package/lib/esm/DesignListOptions.js.map +1 -0
- package/lib/esm/Project.d.ts +5 -0
- package/lib/esm/ProjectDesign.d.ts +5 -0
- package/lib/esm/ProjectDesign.js +2 -0
- package/lib/esm/ProjectDesign.js.map +1 -0
- package/lib/esm/index.d.ts +3 -0
- package/package.json +1 -1
- package/src/Design.ts +4 -1
- package/src/DesignInput.ts +13 -0
- package/src/DesignListOptions.ts +12 -0
- package/src/Project.ts +6 -0
- package/src/ProjectDesign.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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
|
+
## [2.1.0](https://github.com/lilaquadrat/interfaces/compare/v2.0.0...v2.1.0) (2026-11-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **design:** address designs by id and name ([80c900d](https://github.com/lilaquadrat/interfaces/commit/80c900d7efec0fb24b3efc658c70545588e76423))
|
|
11
|
+
|
|
5
12
|
## [2.0.0](https://github.com/lilaquadrat/interfaces/compare/v1.57.0...v2.0.0) (2026-11-09)
|
|
6
13
|
|
|
7
14
|
|
package/lib/cjs/Design.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DesignFile } from "./DesignFile";
|
|
2
|
+
/**
|
|
3
|
+
* writes a design into the caller's project; a project's first design falls back to
|
|
4
|
+
* the `default` id and name, so both stay optional
|
|
5
|
+
*/
|
|
6
|
+
export interface DesignInput {
|
|
7
|
+
id?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
target: 'app' | 'server';
|
|
11
|
+
files: DesignFile[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* one page of the designs a project may pick from: its own plus the shared library
|
|
3
|
+
*/
|
|
4
|
+
export interface DesignListOptions {
|
|
5
|
+
company: string;
|
|
6
|
+
project: string;
|
|
7
|
+
search?: string;
|
|
8
|
+
sort?: string;
|
|
9
|
+
order?: number;
|
|
10
|
+
site: number;
|
|
11
|
+
limit: number;
|
|
12
|
+
}
|
package/lib/cjs/Project.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ProjectHead } from "./ProjectHead";
|
|
|
4
4
|
import { ProjectLogin } from "./ProjectLogin";
|
|
5
5
|
import { ProjectPayment } from "./ProjectPayment";
|
|
6
6
|
import { ProjectPwa } from "./ProjectPwa";
|
|
7
|
+
import { ProjectDesign } from "./ProjectDesign";
|
|
7
8
|
export interface Project {
|
|
8
9
|
id: string;
|
|
9
10
|
name: string;
|
|
@@ -16,6 +17,10 @@ export interface Project {
|
|
|
16
17
|
apps?: string[];
|
|
17
18
|
attributes?: string[];
|
|
18
19
|
features?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* the design the project renders with: a real design document in (company, project, id).
|
|
22
|
+
*/
|
|
23
|
+
design?: ProjectDesign;
|
|
19
24
|
auth0?: Auth0ProjectSettings;
|
|
20
25
|
/**
|
|
21
26
|
* this project behaves as an app: dynamic routes and client side navigation.
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -83,6 +83,8 @@ export * from './Design';
|
|
|
83
83
|
export * from './DesignCustomModule';
|
|
84
84
|
export * from './DesignEvent';
|
|
85
85
|
export * from './DesignFile';
|
|
86
|
+
export * from './DesignInput';
|
|
87
|
+
export * from './DesignListOptions';
|
|
86
88
|
export * from './DesignModule';
|
|
87
89
|
export * from './Domain';
|
|
88
90
|
export * from './DomainConf';
|
|
@@ -232,6 +234,7 @@ export * from './Project';
|
|
|
232
234
|
export * from './ProjectAnalytics';
|
|
233
235
|
export * from './ProjectAnalyticsGoogle';
|
|
234
236
|
export * from './ProjectAnalyticsInternal';
|
|
237
|
+
export * from './ProjectDesign';
|
|
235
238
|
export * from './ProjectDomain';
|
|
236
239
|
export * from './ProjectDomainWithSecret';
|
|
237
240
|
export * from './ProjectHead';
|
package/lib/esm/Design.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DesignFile } from "./DesignFile";
|
|
2
|
+
/**
|
|
3
|
+
* writes a design into the caller's project; a project's first design falls back to
|
|
4
|
+
* the `default` id and name, so both stay optional
|
|
5
|
+
*/
|
|
6
|
+
export interface DesignInput {
|
|
7
|
+
id?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
target: 'app' | 'server';
|
|
11
|
+
files: DesignFile[];
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesignInput.js","sourceRoot":"","sources":["../../src/DesignInput.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* one page of the designs a project may pick from: its own plus the shared library
|
|
3
|
+
*/
|
|
4
|
+
export interface DesignListOptions {
|
|
5
|
+
company: string;
|
|
6
|
+
project: string;
|
|
7
|
+
search?: string;
|
|
8
|
+
sort?: string;
|
|
9
|
+
order?: number;
|
|
10
|
+
site: number;
|
|
11
|
+
limit: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesignListOptions.js","sourceRoot":"","sources":["../../src/DesignListOptions.ts"],"names":[],"mappings":""}
|
package/lib/esm/Project.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ProjectHead } from "./ProjectHead";
|
|
|
4
4
|
import { ProjectLogin } from "./ProjectLogin";
|
|
5
5
|
import { ProjectPayment } from "./ProjectPayment";
|
|
6
6
|
import { ProjectPwa } from "./ProjectPwa";
|
|
7
|
+
import { ProjectDesign } from "./ProjectDesign";
|
|
7
8
|
export interface Project {
|
|
8
9
|
id: string;
|
|
9
10
|
name: string;
|
|
@@ -16,6 +17,10 @@ export interface Project {
|
|
|
16
17
|
apps?: string[];
|
|
17
18
|
attributes?: string[];
|
|
18
19
|
features?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* the design the project renders with: a real design document in (company, project, id).
|
|
22
|
+
*/
|
|
23
|
+
design?: ProjectDesign;
|
|
19
24
|
auth0?: Auth0ProjectSettings;
|
|
20
25
|
/**
|
|
21
26
|
* this project behaves as an app: dynamic routes and client side navigation.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectDesign.js","sourceRoot":"","sources":["../../src/ProjectDesign.ts"],"names":[],"mappings":""}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -83,6 +83,8 @@ export * from './Design';
|
|
|
83
83
|
export * from './DesignCustomModule';
|
|
84
84
|
export * from './DesignEvent';
|
|
85
85
|
export * from './DesignFile';
|
|
86
|
+
export * from './DesignInput';
|
|
87
|
+
export * from './DesignListOptions';
|
|
86
88
|
export * from './DesignModule';
|
|
87
89
|
export * from './Domain';
|
|
88
90
|
export * from './DomainConf';
|
|
@@ -232,6 +234,7 @@ export * from './Project';
|
|
|
232
234
|
export * from './ProjectAnalytics';
|
|
233
235
|
export * from './ProjectAnalyticsGoogle';
|
|
234
236
|
export * from './ProjectAnalyticsInternal';
|
|
237
|
+
export * from './ProjectDesign';
|
|
235
238
|
export * from './ProjectDomain';
|
|
236
239
|
export * from './ProjectDomainWithSecret';
|
|
237
240
|
export * from './ProjectHead';
|
package/package.json
CHANGED
package/src/Design.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DesignFile } from "./DesignFile"
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* writes a design into the caller's project; a project's first design falls back to
|
|
5
|
+
* the `default` id and name, so both stay optional
|
|
6
|
+
*/
|
|
7
|
+
export interface DesignInput {
|
|
8
|
+
id?: string
|
|
9
|
+
name?: string
|
|
10
|
+
description?: string
|
|
11
|
+
target: 'app' | 'server'
|
|
12
|
+
files: DesignFile[]
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* one page of the designs a project may pick from: its own plus the shared library
|
|
3
|
+
*/
|
|
4
|
+
export interface DesignListOptions {
|
|
5
|
+
company: string
|
|
6
|
+
project: string
|
|
7
|
+
search?: string
|
|
8
|
+
sort?: string
|
|
9
|
+
order?: number
|
|
10
|
+
site: number
|
|
11
|
+
limit: number
|
|
12
|
+
}
|
package/src/Project.ts
CHANGED
|
@@ -4,6 +4,7 @@ import {ProjectHead} from "./ProjectHead"
|
|
|
4
4
|
import {ProjectLogin} from "./ProjectLogin"
|
|
5
5
|
import {ProjectPayment} from "./ProjectPayment"
|
|
6
6
|
import {ProjectPwa} from "./ProjectPwa"
|
|
7
|
+
import {ProjectDesign} from "./ProjectDesign"
|
|
7
8
|
|
|
8
9
|
export interface Project {
|
|
9
10
|
|
|
@@ -20,6 +21,11 @@ export interface Project {
|
|
|
20
21
|
|
|
21
22
|
features?: string[]
|
|
22
23
|
|
|
24
|
+
/**
|
|
25
|
+
* the design the project renders with: a real design document in (company, project, id).
|
|
26
|
+
*/
|
|
27
|
+
design?: ProjectDesign
|
|
28
|
+
|
|
23
29
|
auth0?: Auth0ProjectSettings
|
|
24
30
|
|
|
25
31
|
/**
|