@mittwald/api-models 4.242.3 → 4.244.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/dist/esm/app/AppInstallation/AppInstallation.js +89 -0
- package/dist/esm/app/AppInstallation/behaviors/api.js +24 -0
- package/dist/esm/app/AppInstallation/behaviors/index.js +2 -0
- package/dist/esm/app/AppInstallation/behaviors/types.js +1 -0
- package/dist/esm/app/AppInstallation/index.js +2 -0
- package/dist/esm/app/AppInstallation/types.js +1 -0
- package/dist/esm/app/index.js +1 -0
- package/dist/esm/article/Article/Article.js +79 -0
- package/dist/esm/article/Article/behaviors/api.js +22 -0
- package/dist/esm/article/Article/behaviors/index.js +2 -0
- package/dist/esm/article/Article/behaviors/types.js +1 -0
- package/dist/esm/article/Article/index.js +2 -0
- package/dist/esm/article/Article/types.js +1 -0
- package/dist/esm/article/index.js +1 -0
- package/dist/esm/base/DataModel.js +7 -0
- package/dist/esm/base/ListDataModel.js +8 -0
- package/dist/esm/base/ListQueryModel.js +11 -0
- package/dist/esm/base/Money.js +5 -0
- package/dist/esm/base/ReferenceModel.js +9 -0
- package/dist/esm/base/assertObjectFound.js +9 -0
- package/dist/esm/base/index.js +6 -0
- package/dist/esm/base/types.js +1 -0
- package/dist/esm/config/behaviors/api.js +49 -0
- package/dist/esm/config/behaviors/index.js +1 -0
- package/dist/esm/config/config.js +13 -0
- package/dist/esm/config/index.js +1 -0
- package/dist/esm/contract/Contract/Contract.js +78 -0
- package/dist/esm/contract/Contract/behaviors/api.js +20 -0
- package/dist/esm/contract/Contract/behaviors/index.js +2 -0
- package/dist/esm/contract/Contract/behaviors/types.js +1 -0
- package/dist/esm/contract/Contract/index.js +2 -0
- package/dist/esm/contract/Contract/types.js +1 -0
- package/dist/esm/contract/ContractItem/ContractItem.js +31 -0
- package/dist/esm/contract/ContractItem/behaviors/api.js +13 -0
- package/dist/esm/contract/ContractItem/behaviors/index.js +2 -0
- package/dist/esm/contract/ContractItem/behaviors/types.js +1 -0
- package/dist/esm/contract/ContractItem/index.js +2 -0
- package/dist/esm/contract/ContractItem/types.js +1 -0
- package/dist/esm/contract/index.js +2 -0
- package/dist/esm/customer/Customer/Customer.js +96 -0
- package/dist/esm/customer/Customer/behaviors/api.js +30 -0
- package/dist/esm/customer/Customer/behaviors/index.js +2 -0
- package/dist/esm/customer/Customer/behaviors/types.js +1 -0
- package/dist/esm/customer/Customer/index.js +2 -0
- package/dist/esm/customer/Customer/types.js +1 -0
- package/dist/esm/customer/index.js +1 -0
- package/dist/esm/domain/Ingress/Ingress.js +106 -0
- package/dist/esm/domain/Ingress/behaviors/api.js +25 -0
- package/dist/esm/domain/Ingress/behaviors/index.js +2 -0
- package/dist/esm/domain/Ingress/behaviors/types.js +1 -0
- package/dist/esm/domain/Ingress/index.js +2 -0
- package/dist/esm/domain/Ingress/types.js +1 -0
- package/dist/esm/domain/IngressPath/IngressPath.js +15 -0
- package/dist/esm/domain/IngressPath/IngressPath.test.js +16 -0
- package/dist/esm/domain/IngressPath/index.js +2 -0
- package/dist/esm/domain/IngressPath/types.js +1 -0
- package/dist/esm/domain/IngressTarget/IngressTarget.js +40 -0
- package/dist/esm/domain/IngressTarget/IngressTarget.test-types.js +10 -0
- package/dist/esm/domain/IngressTarget/index.js +2 -0
- package/dist/esm/domain/IngressTarget/types.js +1 -0
- package/dist/esm/domain/index.js +1 -0
- package/dist/esm/errors/ObjectNotFoundError.js +7 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/lib/deepFreeze.js +4 -0
- package/dist/esm/lib/joinedId.js +1 -0
- package/dist/esm/lib/types.js +1 -0
- package/dist/esm/project/Project/Project.js +121 -0
- package/dist/esm/project/Project/behaviors/api.js +58 -0
- package/dist/esm/project/Project/behaviors/inMem.js +27 -0
- package/dist/esm/project/Project/behaviors/index.js +3 -0
- package/dist/esm/project/Project/behaviors/types.js +1 -0
- package/dist/esm/project/Project/index.js +2 -0
- package/dist/esm/project/Project/types.js +1 -0
- package/dist/esm/project/index.js +1 -0
- package/dist/esm/react/MittwaldApiModelProvider.js +12 -0
- package/dist/esm/react/asyncResourceInvalidation.js +29 -0
- package/dist/esm/react/index.js +4 -0
- package/dist/esm/react/provideReact.js +27 -0
- package/dist/esm/react/provideReact.test-types.js +21 -0
- package/dist/esm/react/reactProvisionContext.js +2 -0
- package/dist/esm/react/reactUsePromise.js +17 -0
- package/dist/esm/react.js +1 -0
- package/dist/esm/server/Server/Server.js +102 -0
- package/dist/esm/server/Server/behaviors/api.js +22 -0
- package/dist/esm/server/Server/behaviors/index.js +2 -0
- package/dist/esm/server/Server/behaviors/types.js +1 -0
- package/dist/esm/server/Server/index.js +1 -0
- package/dist/esm/server/Server/types.js +1 -0
- package/dist/esm/server/index.js +1 -0
- package/dist/types/app/AppInstallation/AppInstallation.d.ts +138 -0
- package/dist/types/app/AppInstallation/behaviors/api.d.ts +3 -0
- package/dist/types/app/AppInstallation/behaviors/index.d.ts +2 -0
- package/dist/types/app/AppInstallation/behaviors/types.d.ts +6 -0
- package/dist/types/app/AppInstallation/index.d.ts +2 -0
- package/dist/types/app/AppInstallation/types.d.ts +4 -0
- package/dist/types/app/index.d.ts +1 -0
- package/dist/types/article/Article/Article.d.ts +133 -0
- package/dist/types/article/Article/behaviors/api.d.ts +3 -0
- package/dist/types/article/Article/behaviors/index.d.ts +2 -0
- package/dist/types/article/Article/behaviors/types.d.ts +6 -0
- package/dist/types/article/Article/index.d.ts +2 -0
- package/dist/types/article/Article/types.d.ts +5 -0
- package/dist/types/article/index.d.ts +1 -0
- package/dist/types/base/DataModel.d.ts +5 -0
- package/dist/types/base/ListDataModel.d.ts +5 -0
- package/dist/types/base/ListQueryModel.d.ts +9 -0
- package/dist/types/base/Money.d.ts +3 -0
- package/dist/types/base/ReferenceModel.d.ts +5 -0
- package/dist/types/base/assertObjectFound.d.ts +3 -0
- package/dist/types/base/index.d.ts +6 -0
- package/dist/types/base/types.d.ts +6 -0
- package/dist/types/config/behaviors/api.d.ts +12 -0
- package/dist/types/config/behaviors/index.d.ts +1 -0
- package/dist/types/config/config.d.ts +23 -0
- package/dist/types/config/index.d.ts +1 -0
- package/dist/types/contract/Contract/Contract.d.ts +68 -0
- package/dist/types/contract/Contract/behaviors/api.d.ts +3 -0
- package/dist/types/contract/Contract/behaviors/index.d.ts +2 -0
- package/dist/types/contract/Contract/behaviors/types.d.ts +9 -0
- package/dist/types/contract/Contract/index.d.ts +2 -0
- package/dist/types/contract/Contract/types.d.ts +8 -0
- package/dist/types/contract/ContractItem/ContractItem.d.ts +64 -0
- package/dist/types/contract/ContractItem/behaviors/api.d.ts +3 -0
- package/dist/types/contract/ContractItem/behaviors/index.d.ts +2 -0
- package/dist/types/contract/ContractItem/behaviors/types.d.ts +4 -0
- package/dist/types/contract/ContractItem/index.d.ts +2 -0
- package/dist/types/contract/ContractItem/types.d.ts +2 -0
- package/dist/types/contract/index.d.ts +2 -0
- package/dist/types/customer/Customer/Customer.d.ts +138 -0
- package/dist/types/customer/Customer/behaviors/api.d.ts +3 -0
- package/dist/types/customer/Customer/behaviors/index.d.ts +2 -0
- package/dist/types/customer/Customer/behaviors/types.d.ts +7 -0
- package/dist/types/customer/Customer/index.d.ts +2 -0
- package/dist/types/customer/Customer/types.d.ts +5 -0
- package/dist/types/customer/index.d.ts +1 -0
- package/dist/types/domain/Ingress/Ingress.d.ts +109 -0
- package/dist/types/domain/Ingress/behaviors/api.d.ts +3 -0
- package/dist/types/domain/Ingress/behaviors/index.d.ts +2 -0
- package/dist/types/domain/Ingress/behaviors/types.d.ts +6 -0
- package/dist/types/domain/Ingress/index.d.ts +2 -0
- package/dist/types/domain/Ingress/types.d.ts +8 -0
- package/dist/types/domain/IngressPath/IngressPath.d.ts +11 -0
- package/dist/types/domain/IngressPath/IngressPath.test.d.ts +1 -0
- package/dist/types/domain/IngressPath/index.d.ts +2 -0
- package/dist/types/domain/IngressPath/types.d.ts +2 -0
- package/dist/types/domain/IngressTarget/IngressTarget.d.ts +24 -0
- package/dist/types/domain/IngressTarget/IngressTarget.test-types.d.ts +1 -0
- package/dist/types/domain/IngressTarget/index.d.ts +2 -0
- package/dist/types/domain/IngressTarget/types.d.ts +6 -0
- package/dist/types/domain/index.d.ts +1 -0
- package/dist/types/errors/ObjectNotFoundError.d.ts +3 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/lib/deepFreeze.d.ts +5 -0
- package/dist/types/lib/joinedId.d.ts +1 -0
- package/dist/types/lib/types.d.ts +2 -0
- package/dist/types/project/Project/Project.d.ts +292 -0
- package/dist/types/project/Project/behaviors/api.d.ts +3 -0
- package/dist/types/project/Project/behaviors/inMem.d.ts +3 -0
- package/dist/types/project/Project/behaviors/index.d.ts +3 -0
- package/dist/types/project/Project/behaviors/types.d.ts +12 -0
- package/dist/types/project/Project/index.d.ts +2 -0
- package/dist/types/project/Project/types.d.ts +10 -0
- package/dist/types/project/index.d.ts +1 -0
- package/dist/types/react/MittwaldApiModelProvider.d.ts +6 -0
- package/dist/types/react/asyncResourceInvalidation.d.ts +4 -0
- package/dist/types/react/index.d.ts +5 -0
- package/dist/types/react/provideReact.d.ts +12 -0
- package/dist/types/react/provideReact.test-types.d.ts +1 -0
- package/dist/types/react/reactProvisionContext.d.ts +3 -0
- package/dist/types/react/reactUsePromise.d.ts +2 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/server/Server/Server.d.ts +115 -0
- package/dist/types/server/Server/behaviors/api.d.ts +3 -0
- package/dist/types/server/Server/behaviors/index.d.ts +2 -0
- package/dist/types/server/Server/behaviors/types.d.ts +6 -0
- package/dist/types/server/Server/index.d.ts +1 -0
- package/dist/types/server/Server/types.d.ts +8 -0
- package/dist/types/server/index.d.ts +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { reactProvisionContext } from "./reactProvisionContext.js";
|
|
2
|
+
import { refresh } from "@mittwald/react-use-promise";
|
|
3
|
+
import { Store } from "@mittwald/react-use-promise/store";
|
|
4
|
+
const cacheTagStore = new Store();
|
|
5
|
+
export const refreshProvideReactCache = (tag) => {
|
|
6
|
+
cacheTagStore.getAll(tag).forEach((ids) => {
|
|
7
|
+
ids.forEach((id) => {
|
|
8
|
+
refresh({
|
|
9
|
+
tag: String(id),
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
export const addTagToProvideReactCache = (tag) => {
|
|
15
|
+
const context = reactProvisionContext.use();
|
|
16
|
+
if (context) {
|
|
17
|
+
const ids = cacheTagStore.get(tag) ?? new Set();
|
|
18
|
+
ids.add(context.id);
|
|
19
|
+
cacheTagStore.set(tag, () => ids, {
|
|
20
|
+
tags: [tag],
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
export const addUrlTagToProvideReactCache = (request) => {
|
|
25
|
+
const url = request.requestConfig.url;
|
|
26
|
+
if (request.requestConfig.method === "GET" && url) {
|
|
27
|
+
addTagToProvideReactCache(url);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { reactUsePromise } from "./reactUsePromise.js";
|
|
2
|
+
import { hash } from "object-code";
|
|
3
|
+
import { reactProvisionContext } from "./reactProvisionContext.js";
|
|
4
|
+
import { joinedId } from "../lib/joinedId.js";
|
|
5
|
+
export const provideReact = (loader, dependencies = []) => {
|
|
6
|
+
const loaderHash = hash(loader);
|
|
7
|
+
let cachedProvisionId;
|
|
8
|
+
const getAsyncResource = (params) => {
|
|
9
|
+
const provisionId = cachedProvisionId ??
|
|
10
|
+
joinedId(loaderHash, ...dependencies
|
|
11
|
+
.map((d) => (typeof d === "function" ? d() : d))
|
|
12
|
+
.map((d) => hash(d)));
|
|
13
|
+
cachedProvisionId = provisionId;
|
|
14
|
+
const contextId = joinedId(provisionId, hash(params));
|
|
15
|
+
const loaderWithContext = reactProvisionContext.bind({
|
|
16
|
+
id: contextId,
|
|
17
|
+
}, loader);
|
|
18
|
+
return reactUsePromise.getAsyncResource(loaderWithContext, params, {
|
|
19
|
+
loaderId: provisionId,
|
|
20
|
+
tags: [contextId],
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
return Object.assign(loader, {
|
|
24
|
+
asResource: (...params) => getAsyncResource(params),
|
|
25
|
+
use: (...params) => getAsyncResource(params).use(),
|
|
26
|
+
});
|
|
27
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { provideReact } from "./provideReact.js";
|
|
2
|
+
import { expectType } from "tsd";
|
|
3
|
+
const reactProvided = provideReact(async (ignoredP1, ignoredP2) => Promise.resolve("foo"));
|
|
4
|
+
function ignoredTestReturnTypesOfProvideReact() {
|
|
5
|
+
const usedValue = reactProvided.use("foo");
|
|
6
|
+
const asAsyncResource = reactProvided.asResource("foo");
|
|
7
|
+
expectType(usedValue);
|
|
8
|
+
expectType(asAsyncResource.use());
|
|
9
|
+
}
|
|
10
|
+
function ignoredTestParameterTypesOfProvideReact() {
|
|
11
|
+
reactProvided.use("foo", true);
|
|
12
|
+
reactProvided.asResource("foo", true);
|
|
13
|
+
reactProvided.use("foo");
|
|
14
|
+
reactProvided.asResource("foo");
|
|
15
|
+
// @ts-expect-error Not assignable
|
|
16
|
+
reactProvided.asResource(42);
|
|
17
|
+
// @ts-expect-error Not assignable
|
|
18
|
+
reactProvided.asResource("foo", 42);
|
|
19
|
+
// @ts-expect-error Not assignable
|
|
20
|
+
reactProvided.asResource("foo", true, 42);
|
|
21
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
let module = undefined;
|
|
2
|
+
/** @internal */
|
|
3
|
+
export const reactUsePromise = new Proxy({}, {
|
|
4
|
+
get: (_, prop) => {
|
|
5
|
+
if (module === undefined) {
|
|
6
|
+
// @todo Provide better error message
|
|
7
|
+
throw new Error("ModelProvider not found");
|
|
8
|
+
}
|
|
9
|
+
if (prop in module) {
|
|
10
|
+
return module[prop];
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const setModule = (theModule) => {
|
|
16
|
+
module = theModule;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./react/index.js";
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { ReferenceModel } from "../../base/ReferenceModel.js";
|
|
2
|
+
import { config } from "../../config/config.js";
|
|
3
|
+
import { classes } from "polytype";
|
|
4
|
+
import { DataModel } from "../../base/DataModel.js";
|
|
5
|
+
import assertObjectFound from "../../base/assertObjectFound.js";
|
|
6
|
+
import { Project, ProjectListQuery } from "../../project/index.js";
|
|
7
|
+
import { provideReact, } from "../../react/provideReact.js";
|
|
8
|
+
import { ListQueryModel } from "../../base/ListQueryModel.js";
|
|
9
|
+
import { ListDataModel } from "../../base/ListDataModel.js";
|
|
10
|
+
export class Server extends ReferenceModel {
|
|
11
|
+
projects;
|
|
12
|
+
constructor(id) {
|
|
13
|
+
super(id);
|
|
14
|
+
this.projects = new ProjectListQuery({
|
|
15
|
+
server: this,
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
static ofId(id) {
|
|
19
|
+
return new Server(id);
|
|
20
|
+
}
|
|
21
|
+
static find = provideReact(async (id) => {
|
|
22
|
+
const data = await config.behaviors.server.find(id);
|
|
23
|
+
if (data !== undefined) {
|
|
24
|
+
return new ServerDetailed(data);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
static get = provideReact(async (id) => {
|
|
28
|
+
const server = await this.find(id);
|
|
29
|
+
assertObjectFound(server, this, id);
|
|
30
|
+
return server;
|
|
31
|
+
});
|
|
32
|
+
static query(query = {}) {
|
|
33
|
+
return new ServerListQuery(query);
|
|
34
|
+
}
|
|
35
|
+
/** @deprecated: use query() or customer.servers */
|
|
36
|
+
static list = provideReact(async (query = {}) => {
|
|
37
|
+
return new ServerListQuery(query).execute().then((r) => r.items);
|
|
38
|
+
});
|
|
39
|
+
async createProject(...parameters) {
|
|
40
|
+
return Project.create(this.id, ...parameters);
|
|
41
|
+
}
|
|
42
|
+
/** @deprecated Use Server.projects property */
|
|
43
|
+
listProjects = provideReact(async (query = {}) => {
|
|
44
|
+
return Project.list({
|
|
45
|
+
...query,
|
|
46
|
+
serverId: this.id,
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
getDetailed = provideReact(() => Server.get(this.id), [this.id]);
|
|
50
|
+
findDetailed = provideReact(() => Server.find(this.id), [this.id]);
|
|
51
|
+
}
|
|
52
|
+
// Common class for future extension
|
|
53
|
+
class ServerCommon extends classes((DataModel), Server) {
|
|
54
|
+
constructor(data) {
|
|
55
|
+
super([data], [data.id]);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ServerDetailed extends classes(ServerCommon, (DataModel)) {
|
|
59
|
+
constructor(data) {
|
|
60
|
+
super([data], [data]);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export class ServerListItem extends classes(ServerCommon, (DataModel)) {
|
|
64
|
+
constructor(data) {
|
|
65
|
+
super([data], [data]);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
export class ServerListQuery extends ListQueryModel {
|
|
69
|
+
constructor(query = {}) {
|
|
70
|
+
super(query);
|
|
71
|
+
}
|
|
72
|
+
refine(query) {
|
|
73
|
+
return new ServerListQuery({
|
|
74
|
+
...this.query,
|
|
75
|
+
...query,
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
execute = provideReact(async () => {
|
|
79
|
+
const { customer, ...query } = this.query;
|
|
80
|
+
const { items, totalCount } = await config.behaviors.server.list({
|
|
81
|
+
limit: config.defaultPaginationLimit,
|
|
82
|
+
customerId: customer?.id,
|
|
83
|
+
...query,
|
|
84
|
+
});
|
|
85
|
+
return new ServerList(this.query, items.map((d) => new ServerListItem(d)), totalCount);
|
|
86
|
+
}, [this.queryId]);
|
|
87
|
+
getTotalCount = provideReact(async () => {
|
|
88
|
+
const { totalCount } = await this.refine({ limit: 1 }).execute();
|
|
89
|
+
return totalCount;
|
|
90
|
+
}, [this.queryId]);
|
|
91
|
+
findOneAndOnly = provideReact(async () => {
|
|
92
|
+
const { items, totalCount } = await this.refine({ limit: 2 }).execute();
|
|
93
|
+
if (totalCount === 1) {
|
|
94
|
+
return items[0];
|
|
95
|
+
}
|
|
96
|
+
}, [this.queryId]);
|
|
97
|
+
}
|
|
98
|
+
export class ServerList extends classes(ServerListQuery, (ListDataModel)) {
|
|
99
|
+
constructor(query, servers, totalCount) {
|
|
100
|
+
super([query], [servers, totalCount]);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { assertStatus, assertOneOfStatus, extractTotalCountHeader, } from "@mittwald/api-client";
|
|
2
|
+
export const apiServerBehaviors = (client) => ({
|
|
3
|
+
find: async (id) => {
|
|
4
|
+
const response = await client.project.getServer({
|
|
5
|
+
serverId: id,
|
|
6
|
+
});
|
|
7
|
+
if (response.status === 200) {
|
|
8
|
+
return response.data;
|
|
9
|
+
}
|
|
10
|
+
assertOneOfStatus(response, [403, 404]);
|
|
11
|
+
},
|
|
12
|
+
list: async (query) => {
|
|
13
|
+
const response = await client.project.listServers({
|
|
14
|
+
queryParameters: query,
|
|
15
|
+
});
|
|
16
|
+
assertStatus(response, 200);
|
|
17
|
+
return {
|
|
18
|
+
items: response.data,
|
|
19
|
+
totalCount: extractTotalCountHeader(response),
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Server.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Server/index.js";
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { DataModel } from "../../base/DataModel.js";
|
|
2
|
+
import { ReferenceModel } from "../../base/ReferenceModel.js";
|
|
3
|
+
import { AsyncResourceVariant } from "../../react/provideReact.js";
|
|
4
|
+
import { AppInstallationData, AppInstallationListItemData, AppInstallationListQueryData } from "./types.js";
|
|
5
|
+
import { ListQueryModel } from "../../base/ListQueryModel.js";
|
|
6
|
+
import { ListDataModel } from "../../base/ListDataModel.js";
|
|
7
|
+
import { Project } from "../../project/index.js";
|
|
8
|
+
export declare class AppInstallation extends ReferenceModel {
|
|
9
|
+
static find: AsyncResourceVariant<(id: string) => Promise<AppInstallationDetailed | undefined>>;
|
|
10
|
+
static get: AsyncResourceVariant<(id: string) => Promise<AppInstallationDetailed>>;
|
|
11
|
+
static ofId(id: string): AppInstallation;
|
|
12
|
+
query(project: Project, query?: AppInstallationListQueryData): AppInstallationListQuery;
|
|
13
|
+
/** @deprecated: use query() or project.appInstallations */
|
|
14
|
+
static list: AsyncResourceVariant<(projectId: string, query?: AppInstallationListQueryData) => Promise<Readonly<Array<AppInstallationListItem>>>>;
|
|
15
|
+
getDetailed: AsyncResourceVariant<() => Promise<AppInstallationDetailed>>;
|
|
16
|
+
findDetailed: AsyncResourceVariant<() => Promise<AppInstallationDetailed | undefined>>;
|
|
17
|
+
}
|
|
18
|
+
declare const AppInstallationCommon_base: import("polytype").Polytype.ClusteredConstructor<[{
|
|
19
|
+
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppInstallation | {
|
|
20
|
+
appId: string;
|
|
21
|
+
appVersion: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
22
|
+
createdAt: string;
|
|
23
|
+
customDocumentRoot?: string | undefined;
|
|
24
|
+
deletionRequested?: boolean | undefined;
|
|
25
|
+
description: string;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
id: string;
|
|
28
|
+
installationPath: string;
|
|
29
|
+
linkedDatabases: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
30
|
+
lockedBy?: {
|
|
31
|
+
[k: string]: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
32
|
+
} | undefined;
|
|
33
|
+
phase: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
34
|
+
projectId: string;
|
|
35
|
+
screenshotId?: string | undefined;
|
|
36
|
+
screenshotRef?: string | undefined;
|
|
37
|
+
shortId: string;
|
|
38
|
+
systemSoftware: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
|
|
39
|
+
updatePolicy: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
|
|
40
|
+
userInputs: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
|
|
41
|
+
}): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppInstallation | {
|
|
42
|
+
appId: string;
|
|
43
|
+
appVersion: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
customDocumentRoot?: string | undefined;
|
|
46
|
+
deletionRequested?: boolean | undefined;
|
|
47
|
+
description: string;
|
|
48
|
+
disabled: boolean;
|
|
49
|
+
id: string;
|
|
50
|
+
installationPath: string;
|
|
51
|
+
linkedDatabases: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
52
|
+
lockedBy?: {
|
|
53
|
+
[k: string]: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
54
|
+
} | undefined;
|
|
55
|
+
phase: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
56
|
+
projectId: string;
|
|
57
|
+
screenshotId?: string | undefined;
|
|
58
|
+
screenshotRef?: string | undefined;
|
|
59
|
+
shortId: string;
|
|
60
|
+
systemSoftware: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
|
|
61
|
+
updatePolicy: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
|
|
62
|
+
userInputs: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
|
|
63
|
+
}>;
|
|
64
|
+
}, typeof AppInstallation]>;
|
|
65
|
+
declare class AppInstallationCommon extends AppInstallationCommon_base {
|
|
66
|
+
constructor(data: AppInstallationListItemData | AppInstallationData);
|
|
67
|
+
}
|
|
68
|
+
declare const AppInstallationDetailed_base: import("polytype").Polytype.ClusteredConstructor<[typeof AppInstallationCommon, {
|
|
69
|
+
new (data: {
|
|
70
|
+
appId: string;
|
|
71
|
+
appVersion: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
customDocumentRoot?: string | undefined;
|
|
74
|
+
deletionRequested?: boolean | undefined;
|
|
75
|
+
description: string;
|
|
76
|
+
disabled: boolean;
|
|
77
|
+
id: string;
|
|
78
|
+
installationPath: string;
|
|
79
|
+
linkedDatabases: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
80
|
+
lockedBy?: {
|
|
81
|
+
[k: string]: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
82
|
+
} | undefined;
|
|
83
|
+
phase: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
84
|
+
projectId: string;
|
|
85
|
+
screenshotId?: string | undefined;
|
|
86
|
+
screenshotRef?: string | undefined;
|
|
87
|
+
shortId: string;
|
|
88
|
+
systemSoftware: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
|
|
89
|
+
updatePolicy: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
|
|
90
|
+
userInputs: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
|
|
91
|
+
}): DataModel<{
|
|
92
|
+
appId: string;
|
|
93
|
+
appVersion: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
94
|
+
createdAt: string;
|
|
95
|
+
customDocumentRoot?: string | undefined;
|
|
96
|
+
deletionRequested?: boolean | undefined;
|
|
97
|
+
description: string;
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
id: string;
|
|
100
|
+
installationPath: string;
|
|
101
|
+
linkedDatabases: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
102
|
+
lockedBy?: {
|
|
103
|
+
[k: string]: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
104
|
+
} | undefined;
|
|
105
|
+
phase: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
106
|
+
projectId: string;
|
|
107
|
+
screenshotId?: string | undefined;
|
|
108
|
+
screenshotRef?: string | undefined;
|
|
109
|
+
shortId: string;
|
|
110
|
+
systemSoftware: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
|
|
111
|
+
updatePolicy: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
|
|
112
|
+
userInputs: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
|
|
113
|
+
}>;
|
|
114
|
+
}]>;
|
|
115
|
+
export declare class AppInstallationDetailed extends AppInstallationDetailed_base {
|
|
116
|
+
constructor(data: AppInstallationData);
|
|
117
|
+
}
|
|
118
|
+
declare const AppInstallationListItem_base: import("polytype").Polytype.ClusteredConstructor<[typeof AppInstallationCommon, {
|
|
119
|
+
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppInstallation): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppInstallation>;
|
|
120
|
+
}]>;
|
|
121
|
+
export declare class AppInstallationListItem extends AppInstallationListItem_base {
|
|
122
|
+
constructor(data: AppInstallationListItemData);
|
|
123
|
+
}
|
|
124
|
+
export declare class AppInstallationListQuery extends ListQueryModel<AppInstallationListQueryData> {
|
|
125
|
+
readonly project: Project;
|
|
126
|
+
constructor(project: Project, query?: AppInstallationListQueryData);
|
|
127
|
+
refine(query: AppInstallationListQueryData): AppInstallationListQuery;
|
|
128
|
+
execute: AsyncResourceVariant<() => Promise<AppInstallationList>>;
|
|
129
|
+
getTotalCount: AsyncResourceVariant<() => Promise<number>>;
|
|
130
|
+
findOneAndOnly: AsyncResourceVariant<() => Promise<AppInstallationListItem | undefined>>;
|
|
131
|
+
}
|
|
132
|
+
declare const AppInstallationList_base: import("polytype").Polytype.ClusteredConstructor<[typeof AppInstallationListQuery, {
|
|
133
|
+
new (items: AppInstallationListItem[], totalCount: number): ListDataModel<AppInstallationListItem>;
|
|
134
|
+
}]>;
|
|
135
|
+
export declare class AppInstallationList extends AppInstallationList_base {
|
|
136
|
+
constructor(project: Project, query: AppInstallationListQueryData, appInstallations: AppInstallationListItem[], totalCount: number);
|
|
137
|
+
}
|
|
138
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AppInstallationData, AppInstallationListItemData, AppInstallationListQueryData } from "../types.js";
|
|
2
|
+
import { QueryResponseData } from "../../../base/index.js";
|
|
3
|
+
export interface AppInstallationBehaviors {
|
|
4
|
+
find: (id: string) => Promise<AppInstallationData | undefined>;
|
|
5
|
+
list: (projectId: string, query?: AppInstallationListQueryData) => Promise<QueryResponseData<AppInstallationListItemData>>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
+
export type AppInstallationListQueryData = MittwaldAPIV2.Paths.V2ProjectsProjectIdAppInstallations.Get.Parameters.Query;
|
|
3
|
+
export type AppInstallationData = MittwaldAPIV2.Operations.AppGetAppinstallation.ResponseData;
|
|
4
|
+
export type AppInstallationListItemData = MittwaldAPIV2.Operations.AppListAppinstallations.ResponseData[number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./AppInstallation/index.js";
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { ReferenceModel } from "../../base/ReferenceModel.js";
|
|
2
|
+
import { ArticleData, ArticleListItemData, ArticleListQueryData, ArticleListQueryModelData } from "./types.js";
|
|
3
|
+
import { DataModel } from "../../base/DataModel.js";
|
|
4
|
+
import { ListQueryModel } from "../../base/ListQueryModel.js";
|
|
5
|
+
import { ListDataModel } from "../../base/ListDataModel.js";
|
|
6
|
+
import { Money } from "../../base/Money.js";
|
|
7
|
+
export declare class Article extends ReferenceModel {
|
|
8
|
+
static ofId(id: string): Article;
|
|
9
|
+
static find: import("../../react/provideReact.js").AsyncResourceVariant<(id: string) => Promise<ArticleDetailed | undefined>>;
|
|
10
|
+
static get: import("../../react/provideReact.js").AsyncResourceVariant<(id: string) => Promise<ArticleDetailed>>;
|
|
11
|
+
static query(query?: ArticleListQueryModelData): ArticleListQuery;
|
|
12
|
+
}
|
|
13
|
+
declare const ArticleCommon_base: import("polytype").Polytype.ClusteredConstructor<[{
|
|
14
|
+
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle | {
|
|
15
|
+
addons?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
|
|
16
|
+
articleId: string;
|
|
17
|
+
attributes?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
|
|
18
|
+
balanceAddonKey?: string | undefined;
|
|
19
|
+
contractDurationInMonth: number;
|
|
20
|
+
description?: string | undefined;
|
|
21
|
+
forcedInvoicingPeriodInMonth?: number | undefined;
|
|
22
|
+
hasIndependentContractPeriod?: boolean | undefined;
|
|
23
|
+
hideOnInvoice?: boolean | undefined;
|
|
24
|
+
machineType?: {
|
|
25
|
+
cpu: string;
|
|
26
|
+
memory: string;
|
|
27
|
+
name: string;
|
|
28
|
+
} | undefined;
|
|
29
|
+
modifierArticles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
30
|
+
name: string;
|
|
31
|
+
orderable: "forbidden" | "internal" | "beta_testing" | "full" | "deprecated";
|
|
32
|
+
possibleArticleChanges?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
33
|
+
price?: number | undefined;
|
|
34
|
+
tags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
35
|
+
template: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
|
|
36
|
+
}): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle | {
|
|
37
|
+
addons?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
|
|
38
|
+
articleId: string;
|
|
39
|
+
attributes?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
|
|
40
|
+
balanceAddonKey?: string | undefined;
|
|
41
|
+
contractDurationInMonth: number;
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
forcedInvoicingPeriodInMonth?: number | undefined;
|
|
44
|
+
hasIndependentContractPeriod?: boolean | undefined;
|
|
45
|
+
hideOnInvoice?: boolean | undefined;
|
|
46
|
+
machineType?: {
|
|
47
|
+
cpu: string;
|
|
48
|
+
memory: string;
|
|
49
|
+
name: string;
|
|
50
|
+
} | undefined;
|
|
51
|
+
modifierArticles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
52
|
+
name: string;
|
|
53
|
+
orderable: "forbidden" | "internal" | "beta_testing" | "full" | "deprecated";
|
|
54
|
+
possibleArticleChanges?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
55
|
+
price?: number | undefined;
|
|
56
|
+
tags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
57
|
+
template: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
|
|
58
|
+
}>;
|
|
59
|
+
}, typeof Article]>;
|
|
60
|
+
declare class ArticleCommon extends ArticleCommon_base {
|
|
61
|
+
readonly price: Money;
|
|
62
|
+
constructor(data: ArticleListItemData | ArticleData);
|
|
63
|
+
}
|
|
64
|
+
declare const ArticleDetailed_base: import("polytype").Polytype.ClusteredConstructor<[typeof ArticleCommon, {
|
|
65
|
+
new (data: {
|
|
66
|
+
addons?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
|
|
67
|
+
articleId: string;
|
|
68
|
+
attributes?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
|
|
69
|
+
balanceAddonKey?: string | undefined;
|
|
70
|
+
contractDurationInMonth: number;
|
|
71
|
+
description?: string | undefined;
|
|
72
|
+
forcedInvoicingPeriodInMonth?: number | undefined;
|
|
73
|
+
hasIndependentContractPeriod?: boolean | undefined;
|
|
74
|
+
hideOnInvoice?: boolean | undefined;
|
|
75
|
+
machineType?: {
|
|
76
|
+
cpu: string;
|
|
77
|
+
memory: string;
|
|
78
|
+
name: string;
|
|
79
|
+
} | undefined;
|
|
80
|
+
modifierArticles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
81
|
+
name: string;
|
|
82
|
+
orderable: "forbidden" | "internal" | "beta_testing" | "full" | "deprecated";
|
|
83
|
+
possibleArticleChanges?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
84
|
+
price?: number | undefined;
|
|
85
|
+
tags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
86
|
+
template: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
|
|
87
|
+
}): DataModel<{
|
|
88
|
+
addons?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
|
|
89
|
+
articleId: string;
|
|
90
|
+
attributes?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
|
|
91
|
+
balanceAddonKey?: string | undefined;
|
|
92
|
+
contractDurationInMonth: number;
|
|
93
|
+
description?: string | undefined;
|
|
94
|
+
forcedInvoicingPeriodInMonth?: number | undefined;
|
|
95
|
+
hasIndependentContractPeriod?: boolean | undefined;
|
|
96
|
+
hideOnInvoice?: boolean | undefined;
|
|
97
|
+
machineType?: {
|
|
98
|
+
cpu: string;
|
|
99
|
+
memory: string;
|
|
100
|
+
name: string;
|
|
101
|
+
} | undefined;
|
|
102
|
+
modifierArticles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
103
|
+
name: string;
|
|
104
|
+
orderable: "forbidden" | "internal" | "beta_testing" | "full" | "deprecated";
|
|
105
|
+
possibleArticleChanges?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
106
|
+
price?: number | undefined;
|
|
107
|
+
tags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
108
|
+
template: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
|
|
109
|
+
}>;
|
|
110
|
+
}]>;
|
|
111
|
+
export declare class ArticleDetailed extends ArticleDetailed_base {
|
|
112
|
+
constructor(data: ArticleData);
|
|
113
|
+
}
|
|
114
|
+
declare const ArticleListItem_base: import("polytype").Polytype.ClusteredConstructor<[typeof ArticleCommon, {
|
|
115
|
+
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle>;
|
|
116
|
+
}]>;
|
|
117
|
+
export declare class ArticleListItem extends ArticleListItem_base {
|
|
118
|
+
constructor(data: ArticleListItemData);
|
|
119
|
+
}
|
|
120
|
+
export declare class ArticleListQuery extends ListQueryModel<ArticleListQueryModelData> {
|
|
121
|
+
constructor(query?: ArticleListQueryModelData);
|
|
122
|
+
refine(query: ArticleListQueryModelData): ArticleListQuery;
|
|
123
|
+
execute: import("../../react/provideReact.js").AsyncResourceVariant<() => Promise<ArticleList>>;
|
|
124
|
+
getTotalCount: import("../../react/provideReact.js").AsyncResourceVariant<() => Promise<number>>;
|
|
125
|
+
findOneAndOnly: import("../../react/provideReact.js").AsyncResourceVariant<() => Promise<ArticleListItem | undefined>>;
|
|
126
|
+
}
|
|
127
|
+
declare const ArticleList_base: import("polytype").Polytype.ClusteredConstructor<[typeof ArticleListQuery, {
|
|
128
|
+
new (items: ArticleListItem[], totalCount: number): ListDataModel<ArticleListItem>;
|
|
129
|
+
}]>;
|
|
130
|
+
export declare class ArticleList extends ArticleList_base {
|
|
131
|
+
constructor(query: ArticleListQueryData, articles: ArticleListItem[], totalCount: number);
|
|
132
|
+
}
|
|
133
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ArticleData, ArticleListItemData, ArticleListQueryData } from "../types.js";
|
|
2
|
+
import { QueryResponseData } from "../../../base/index.js";
|
|
3
|
+
export interface ArticleBehaviors {
|
|
4
|
+
find: (id: string) => Promise<ArticleData | undefined>;
|
|
5
|
+
list: (query?: ArticleListQueryData) => Promise<QueryResponseData<ArticleListItemData>>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
+
export type ArticleListQueryData = MittwaldAPIV2.Paths.V2Articles.Get.Parameters.Query;
|
|
3
|
+
export type ArticleData = MittwaldAPIV2.Operations.ArticleGetArticle.ResponseData;
|
|
4
|
+
export type ArticleListItemData = MittwaldAPIV2.Operations.ArticleListArticles.ResponseData[number];
|
|
5
|
+
export type ArticleListQueryModelData = ArticleListQueryData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Article/index.js";
|