@antcde/connect-ts 0.4.19-rc.ff2cb6c → 0.4.20-rc.1

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.
Files changed (96) hide show
  1. package/build/index.d.ts +2 -34
  2. package/build/index.d.ts.map +1 -1
  3. package/build/index.js +8 -3
  4. package/build/service-runtime.d.ts +5 -0
  5. package/build/service-runtime.d.ts.map +1 -0
  6. package/build/service-runtime.js +6 -0
  7. package/build/service-types-app.d.ts +2 -0
  8. package/build/service-types-app.d.ts.map +1 -0
  9. package/build/service-types-app.js +3 -0
  10. package/build/service-types.d.ts +33 -0
  11. package/build/service-types.d.ts.map +1 -0
  12. package/build/service-types.js +7 -0
  13. package/build/services/AppService/factory/assignments.d.ts +57 -0
  14. package/build/services/AppService/factory/assignments.d.ts.map +1 -0
  15. package/build/services/AppService/factory/assignments.js +30 -0
  16. package/build/services/AppService/factory/channels.d.ts +25 -0
  17. package/build/services/AppService/factory/channels.d.ts.map +1 -0
  18. package/build/services/AppService/factory/channels.js +17 -0
  19. package/build/services/AppService/factory/formData.d.ts +14 -0
  20. package/build/services/AppService/factory/formData.d.ts.map +1 -0
  21. package/build/services/AppService/factory/formData.js +50 -0
  22. package/build/services/AppService/factory/subscriptions.d.ts +73 -0
  23. package/build/services/AppService/factory/subscriptions.d.ts.map +1 -0
  24. package/build/services/AppService/factory/subscriptions.js +39 -0
  25. package/build/services/AppService/index.d.ts +66 -0
  26. package/build/services/AppService/index.d.ts.map +1 -0
  27. package/build/services/AppService/index.js +80 -0
  28. package/build/services/AppService/types/accessRequests.d.ts +93 -0
  29. package/build/services/AppService/types/accessRequests.d.ts.map +1 -0
  30. package/build/services/AppService/types/app.d.ts +243 -0
  31. package/build/services/AppService/types/app.d.ts.map +1 -0
  32. package/build/services/AppService/types/app.js +4 -0
  33. package/build/services/AppService/types/appCategories.d.ts +16 -0
  34. package/build/services/AppService/types/appCategories.d.ts.map +1 -0
  35. package/build/services/AppService/types/appChangelog.d.ts +31 -0
  36. package/build/services/AppService/types/appChangelog.d.ts.map +1 -0
  37. package/build/services/AppService/types/appChangelog.js +1 -0
  38. package/build/services/{AppManifest.d.ts → AppService/types/appManifest.d.ts} +16 -1
  39. package/build/services/AppService/types/appManifest.d.ts.map +1 -0
  40. package/build/services/AppService/types/appManifest.js +4 -0
  41. package/build/services/AppService/types/appMedia.d.ts +101 -0
  42. package/build/services/AppService/types/appMedia.d.ts.map +1 -0
  43. package/build/services/AppService/types/appMedia.js +1 -0
  44. package/build/services/AppService/types/appRequests.d.ts +107 -0
  45. package/build/services/AppService/types/appRequests.d.ts.map +1 -0
  46. package/build/services/AppService/types/appRequests.js +1 -0
  47. package/build/services/AppService/types/channels.d.ts +45 -0
  48. package/build/services/AppService/types/channels.d.ts.map +1 -0
  49. package/build/services/AppService/types/channels.js +1 -0
  50. package/build/services/AppService/types/pricingTiers.d.ts +85 -0
  51. package/build/services/AppService/types/pricingTiers.d.ts.map +1 -0
  52. package/build/services/AppService/types/pricingTiers.js +1 -0
  53. package/build/services/AppService/types/publisherStats.d.ts +20 -0
  54. package/build/services/AppService/types/publisherStats.d.ts.map +1 -0
  55. package/build/services/AppService/types/publisherStats.js +1 -0
  56. package/build/services/AppService/types/releaseChannels.d.ts +84 -0
  57. package/build/services/AppService/types/releaseChannels.d.ts.map +1 -0
  58. package/build/services/AppService/types/releaseChannels.js +1 -0
  59. package/build/services/AppService/types/seats.d.ts +184 -0
  60. package/build/services/AppService/types/seats.d.ts.map +1 -0
  61. package/build/services/AppService/types/seats.js +4 -0
  62. package/build/services/AppService/types/subscriptions.d.ts +182 -0
  63. package/build/services/AppService/types/subscriptions.d.ts.map +1 -0
  64. package/build/services/AppService/types/subscriptions.js +1 -0
  65. package/build/services/AppService/types.d.ts +14 -0
  66. package/build/services/AppService/types.d.ts.map +1 -0
  67. package/build/services/AppService/types.js +16 -0
  68. package/build/services/DmsService.d.ts +14 -2
  69. package/build/services/DmsService.d.ts.map +1 -1
  70. package/build/services/DmsService.js +1 -108
  71. package/build/services/DmsServiceImpl.d.ts +4 -0
  72. package/build/services/DmsServiceImpl.d.ts.map +1 -0
  73. package/build/services/DmsServiceImpl.js +92 -0
  74. package/build/services/DmsServiceUtil.d.ts +2 -0
  75. package/build/services/DmsServiceUtil.d.ts.map +1 -0
  76. package/build/services/DmsServiceUtil.js +19 -0
  77. package/build/services/Notifications/NotificationService.d.ts +23 -2
  78. package/build/services/Notifications/NotificationService.d.ts.map +1 -1
  79. package/build/services/Notifications/NotificationService.js +5 -0
  80. package/build/services/TableService.js +7 -7
  81. package/build/services/TaskService.types.d.ts +1 -0
  82. package/build/services/TaskService.types.d.ts.map +1 -1
  83. package/build/services/UserService.d.ts +2 -0
  84. package/build/services/UserService.d.ts.map +1 -1
  85. package/build/services/Websockets/StoreEvents.d.ts +14 -0
  86. package/build/services/Websockets/StoreEvents.d.ts.map +1 -0
  87. package/build/services/Websockets/StoreEvents.js +5 -0
  88. package/package.json +1 -1
  89. package/build/services/AppManifest.d.ts.map +0 -1
  90. package/build/services/AppService.d.ts +0 -57
  91. package/build/services/AppService.d.ts.map +0 -1
  92. package/build/services/AppService.js +0 -47
  93. package/build/services/AppService.types.d.ts +0 -173
  94. package/build/services/AppService.types.d.ts.map +0 -1
  95. /package/build/services/{AppManifest.js → AppService/types/accessRequests.js} +0 -0
  96. /package/build/services/{AppService.types.js → AppService/types/appCategories.js} +0 -0
@@ -0,0 +1,66 @@
1
+ import type { Project } from '../ProjectService';
2
+ import type { AppAssignmentFactory } from './factory/assignments';
3
+ import type { ReleaseChannelFactory } from './factory/channels';
4
+ import type { SubscriptionFactory } from './factory/subscriptions';
5
+ import type { AccessRequest, App, AppCategory, AppChangelogEntry, AppImpactAnalysis, AppMedia, AppMediaFormData, AppTemplate, AppUpdateResult, AppVersionFormData, AvailableUpdatesResponse, BatchUpdateAppsParams, BatchUpdateAppsResponse, CategoryRelationData, CreateAccessRequestData, FetchAccessRequestsParams, FetchAppChangelogParams, FetchAppsParams, ListApp, PublisherStatsApp, ReorderMediaFormData, RespondAccessRequestData, UpdateAppMediaFormData } from './types';
6
+ import type { MessageResponse } from "../../AntConnect";
7
+ import type { AntHttpClient } from "../../AntHttpClient";
8
+ import type { DataWrapper } from "../../types";
9
+ export * from './types';
10
+ export interface AppService extends SubscriptionFactory, ReleaseChannelFactory, AppAssignmentFactory {
11
+ createApp: (appData: AppTemplate) => Promise<DataWrapper<App>>;
12
+ updateApp: (id: string, appData: Partial<AppTemplate>) => Promise<DataWrapper<App>>;
13
+ deleteApp: (id: string) => Promise<MessageResponse>;
14
+ /**
15
+ * Force-delete a deprecated app, cascading the uninstall/deactivation across
16
+ * every license and project. Only valid for deprecated apps (409 otherwise).
17
+ */
18
+ forceDeleteApp: (id: string) => Promise<MessageResponse>;
19
+ deleteAppImage: (id: string) => Promise<MessageResponse>;
20
+ createVersion: (appId: string, versionData: AppVersionFormData) => Promise<DataWrapper<App>>;
21
+ deleteVersion: (appId: string, versionId: string) => Promise<MessageResponse>;
22
+ fetchImpactAnalysis: (appId: string) => Promise<DataWrapper<AppImpactAnalysis>>;
23
+ fetchAppContent: (appId: string, versionId: string, path: string) => Promise<any>;
24
+ fetchVersionReadme: (appId: string, versionId: string) => Promise<any>;
25
+ fetchVersionConfig: (appId: string, versionId: string) => Promise<any>;
26
+ fetchVersionChangelog: (appId: string, versionId: string) => Promise<any>;
27
+ fetchApps: (params: FetchAppsParams, requestConfig?: Record<string, any>) => Promise<DataWrapper<ListApp[]>>;
28
+ fetchApp: (appId: string, requestConfig?: Record<string, any>) => Promise<App>;
29
+ fetchAppProjects: (appId: string) => Promise<DataWrapper<Project[]>>;
30
+ fetchPublisherStats: () => Promise<DataWrapper<PublisherStatsApp[]>>;
31
+ requestAccess: (appId: string, data?: CreateAccessRequestData) => Promise<DataWrapper<AccessRequest>>;
32
+ cancelAccessRequest: (requestId: string) => Promise<MessageResponse>;
33
+ fetchMyAccessRequests: (params?: FetchAccessRequestsParams) => Promise<DataWrapper<AccessRequest[]>>;
34
+ fetchAppAccessRequests: (appId: string, params?: FetchAccessRequestsParams, requestConfig?: Record<string, any>) => Promise<DataWrapper<AccessRequest[]>>;
35
+ respondToAccessRequest: (requestId: string, data: RespondAccessRequestData) => Promise<DataWrapper<AccessRequest>>;
36
+ revokeAccessRequest: (requestId: string) => Promise<DataWrapper<AccessRequest>>;
37
+ installApp: (licenseId: string, versionId: string, channelId?: string) => Promise<DataWrapper<App>>;
38
+ uninstallApp: (licenseId: string, versionId: string, force?: boolean) => Promise<DataWrapper<App>>;
39
+ activateApp: (projectId: string, versionId: string, channelId?: string) => Promise<DataWrapper<App>>;
40
+ deactivateApp: (projectId: string, versionId: string) => Promise<DataWrapper<App>>;
41
+ setLicenseAppAutoUpdate: (licenseId: string, appId: string, enabled: boolean) => Promise<DataWrapper<App>>;
42
+ setProjectAppAutoUpdate: (projectId: string, appId: string, enabled: boolean) => Promise<DataWrapper<App>>;
43
+ setLicenseAppChannel: (licenseId: string, appId: string, channelId: string) => Promise<DataWrapper<App>>;
44
+ setProjectAppChannel: (projectId: string, appId: string, channelId: string) => Promise<DataWrapper<App>>;
45
+ linkApp: (taskId: string, appId: string) => Promise<DataWrapper<App>>;
46
+ unlinkApp: (taskId: string, appId: string) => Promise<DataWrapper<App>>;
47
+ /** Save (or clear) the app's restorable view state on a task↔app link. */
48
+ saveAppState: (taskId: string, appId: string, state: Record<string, string> | null) => Promise<DataWrapper<App>>;
49
+ deprecateApp: (appId: string, message?: string) => Promise<DataWrapper<App>>;
50
+ undeprecateApp: (appId: string) => Promise<DataWrapper<App>>;
51
+ updateInstalledApp: (appId: string) => Promise<DataWrapper<AppUpdateResult>>;
52
+ batchUpdateApps: (params?: BatchUpdateAppsParams) => Promise<DataWrapper<BatchUpdateAppsResponse>>;
53
+ fetchAvailableUpdates: () => Promise<DataWrapper<AvailableUpdatesResponse>>;
54
+ fetchCategories: (params?: any) => Promise<DataWrapper<AppCategory[]>>;
55
+ fetchCategory: (categoryId: string) => Promise<AppCategory>;
56
+ updateAppCategories: (appId: string, data: CategoryRelationData) => Promise<DataWrapper<App>>;
57
+ fetchAppMedia: (appId: string) => Promise<DataWrapper<AppMedia[]>>;
58
+ uploadAppMedia: (appId: string, mediaData: AppMediaFormData) => Promise<DataWrapper<AppMedia>>;
59
+ updateAppMedia: (appId: string, mediaId: string, mediaData: UpdateAppMediaFormData) => Promise<DataWrapper<AppMedia>>;
60
+ deleteAppMedia: (appId: string, mediaId: string) => Promise<MessageResponse>;
61
+ reorderAppMedia: (appId: string, data: ReorderMediaFormData) => Promise<MessageResponse>;
62
+ fetchAppChangelog: (appId: string, params?: FetchAppChangelogParams) => Promise<DataWrapper<AppChangelogEntry[]>>;
63
+ }
64
+ export declare function newAppService(client: AntHttpClient): AppService;
65
+ export default AppService;
66
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/AppService/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AACjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,KAAK,EACV,aAAa,EACb,GAAG,EACH,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,eAAe,EACf,OAAO,EACP,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,EACvB,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,eAAe,EAAE,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AAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,CAAC,CAAA;IAC3D,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAA;IAG7F,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;IAClE,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,KAAK,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC9F,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,KAAK,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAA;IACrH,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,eAAe,CAAC,CAAA;IAC5E,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAA;IAGxF,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,uBAAuB,KAAK,OAAO,CAAC,WAAW,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAA;CAClH;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAgH/D;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,80 @@
1
+ import qs from 'qs';
2
+ import { newAppAssignmentFactory } from './factory/assignments';
3
+ import { newReleaseChannelFactory } from './factory/channels';
4
+ import { maybeFormData, toFormData } from './factory/formData';
5
+ import { newSubscriptionFactory } from './factory/subscriptions';
6
+ export * from './types';
7
+ export function newAppService(client) {
8
+ return {
9
+ ...newSubscriptionFactory(client),
10
+ ...newReleaseChannelFactory(client),
11
+ ...newAppAssignmentFactory(client),
12
+ // An icon File is sent as multipart; a scalar-only edit stays JSON. updateApp
13
+ // is a PUT, but PHP doesn't parse multipart PUT bodies, so spoof it with POST
14
+ // + `_method=PUT` when a file rides along.
15
+ createApp: appData => client.post('/store/apps', maybeFormData(appData)),
16
+ updateApp: (id, appData) => appData.image instanceof Blob
17
+ ? client.post(`/store/apps/${id}`, toFormData({ ...appData, _method: 'PUT' }))
18
+ : client.put(`/store/apps/${id}`, appData),
19
+ deleteApp: id => client.delete(`/store/apps/${id}`),
20
+ forceDeleteApp: id => client.delete(`/store/apps/${id}/force`),
21
+ deleteAppImage: id => client.delete(`/store/apps/${id}/deleteAppImage`),
22
+ createVersion: (appId, versionData) => client.post(`/store/apps/${appId}/versions`, maybeFormData(versionData)),
23
+ deleteVersion: (appId, versionId) => client.delete(`/store/apps/${appId}/versions/${versionId}`),
24
+ fetchImpactAnalysis: appId => client.get(`/store/apps/${appId}/impact-analysis`),
25
+ fetchAppContent: (appId, versionId, path) => client.get(`/store/apps/${appId}/versions/${versionId}/contents/${path}`),
26
+ fetchVersionReadme: (appId, versionId) => client.get(`/store/apps/${appId}/versions/${versionId}/readme`),
27
+ fetchVersionConfig: (appId, versionId) => client.get(`/store/apps/${appId}/versions/${versionId}/config`),
28
+ fetchVersionChangelog: (appId, versionId) => client.get(`/store/apps/${appId}/versions/${versionId}/changelog`),
29
+ fetchApps: (params = {}, requestConfig) => {
30
+ const queryString = qs.stringify(params, { skipNulls: true, arrayFormat: 'brackets' });
31
+ return client.get(`/store/apps${queryString ? `?${queryString}` : ''}`, requestConfig);
32
+ },
33
+ fetchApp: (appId, requestConfig) => client.get(`/store/apps/${appId}`, requestConfig),
34
+ fetchAppProjects: appId => client.get(`/store/apps/${appId}/projects`),
35
+ fetchPublisherStats: () => client.get('/store/publisher/stats'),
36
+ requestAccess: (appId, data = {}) => client.post(`/store/apps/${appId}/access-requests`, data),
37
+ cancelAccessRequest: requestId => client.delete(`/store/access-requests/${requestId}/cancel`),
38
+ fetchMyAccessRequests: (params = {}) => {
39
+ const queryString = qs.stringify(params, { skipNulls: true });
40
+ return client.get(`/store/access-requests/my${queryString ? `?${queryString}` : ''}`);
41
+ },
42
+ fetchAppAccessRequests: (appId, params = {}, requestConfig) => {
43
+ const queryString = qs.stringify(params, { skipNulls: true });
44
+ return client.get(`/store/apps/${appId}/access-requests${queryString ? `?${queryString}` : ''}`, requestConfig);
45
+ },
46
+ respondToAccessRequest: (requestId, data) => client.post(`/store/access-requests/${requestId}/respond`, data),
47
+ revokeAccessRequest: requestId => client.post(`/store/access-requests/${requestId}/revoke`),
48
+ installApp: (licenseId, versionId, channelId) => client.post(`/store/resources/apps-versions/${versionId}/licenses/${licenseId}`, channelId ? { channel_id: channelId } : undefined),
49
+ uninstallApp: (licenseId, versionId, force) => client.delete(`/store/resources/apps-versions/${versionId}/licenses/${licenseId}${force ? '?force=true' : ''}`),
50
+ activateApp: (projectId, versionId, channelId) => client.post(`/store/resources/apps-versions/${versionId}/projects/${projectId}`, channelId ? { channel_id: channelId } : undefined),
51
+ deactivateApp: (projectId, versionId) => client.delete(`/store/resources/apps-versions/${versionId}/projects/${projectId}`),
52
+ setLicenseAppAutoUpdate: (licenseId, appId, enabled) => client.post(`/store/resources/apps/${appId}/licenses/${licenseId}/auto-update`, { enabled }),
53
+ setProjectAppAutoUpdate: (projectId, appId, enabled) => client.post(`/store/resources/apps/${appId}/projects/${projectId}/auto-update`, { enabled }),
54
+ setLicenseAppChannel: (licenseId, appId, channelId) => client.post(`/store/resources/apps/${appId}/licenses/${licenseId}/channel`, { channel_id: channelId }),
55
+ setProjectAppChannel: (projectId, appId, channelId) => client.post(`/store/resources/apps/${appId}/projects/${projectId}/channel`, { channel_id: channelId }),
56
+ linkApp: (taskId, appId) => client.post(`/store/resources/apps/${appId}/tasks/${taskId}`),
57
+ unlinkApp: (taskId, appId) => client.delete(`/store/resources/apps/${appId}/tasks/${taskId}`),
58
+ saveAppState: (taskId, appId, state) => client.patch(`/store/resources/apps/${appId}/tasks/${taskId}`, { app_state: state }),
59
+ deprecateApp: (appId, message) => client.post(`/store/apps/${appId}/deprecate`, { message }),
60
+ undeprecateApp: appId => client.post(`/store/apps/${appId}/undeprecate`),
61
+ updateInstalledApp: appId => client.post(`/store/apps/${appId}/update`),
62
+ batchUpdateApps: (params = {}) => client.post('/store/resources/apps/batch-update', params),
63
+ fetchAvailableUpdates: () => client.get('/store/resources/apps/updates-available'),
64
+ fetchCategories: (params = {}) => {
65
+ const queryString = qs.stringify(params, { skipNulls: true, arrayFormat: 'brackets' });
66
+ return client.get(`/store/app-categories${queryString ? `?${queryString}` : ''}`);
67
+ },
68
+ fetchCategory: categoryId => client.get(`/store/app-categories/${categoryId}`),
69
+ updateAppCategories: (appId, data) => client.post(`/store/apps/${appId}/categories`, data),
70
+ fetchAppMedia: appId => client.get(`/store/apps/${appId}/media`),
71
+ uploadAppMedia: (appId, mediaData) => client.post(`/store/apps/${appId}/media`, maybeFormData(mediaData)),
72
+ updateAppMedia: (appId, mediaId, mediaData) => client.put(`/store/apps/${appId}/media/${mediaId}`, mediaData),
73
+ deleteAppMedia: (appId, mediaId) => client.delete(`/store/apps/${appId}/media/${mediaId}`),
74
+ reorderAppMedia: (appId, data) => client.post(`/store/apps/${appId}/media/reorder`, data),
75
+ fetchAppChangelog: (appId, params = {}) => {
76
+ const queryString = qs.stringify(params, { skipNulls: true });
77
+ return client.get(`/store/apps/${appId}/changelog${queryString ? `?${queryString}` : ''}`);
78
+ },
79
+ };
80
+ }
@@ -0,0 +1,93 @@
1
+ import type { AppTrustLevel } from './app';
2
+ export type AccessRequestStatus = 'pending' | 'approved' | 'denied' | 'revoked' | 'expired';
3
+ /**
4
+ * Scope an approval grants the requester.
5
+ *
6
+ * NOTE: the backend currently does not consume `access_scope` on approval — the
7
+ * `app_access_requests.access_scope` column was dropped and approval always
8
+ * grants license-level access. This type exists so the store-v3 inbox UI type-
9
+ * checks; wire real backend support before relying on `license_and_projects`.
10
+ */
11
+ export type AccessScope = 'license_only' | 'license_and_projects';
12
+ export interface AccessRequest {
13
+ id: string;
14
+ app_id: string;
15
+ app: {
16
+ id: string;
17
+ title: string;
18
+ icon: string;
19
+ trust_level: AppTrustLevel;
20
+ license: {
21
+ id: string;
22
+ name: string;
23
+ };
24
+ };
25
+ requester_user: {
26
+ id: string;
27
+ name: string;
28
+ email: string;
29
+ };
30
+ requester_license: {
31
+ id: string;
32
+ name: string;
33
+ };
34
+ status: AccessRequestStatus;
35
+ message: string | null;
36
+ response_message: string | null;
37
+ responded_by: {
38
+ id: string;
39
+ name: string;
40
+ } | null;
41
+ responded_at: string | null;
42
+ expires_at: string | null;
43
+ created_at: string;
44
+ updated_at: string;
45
+ }
46
+ export interface CreateAccessRequestData {
47
+ message?: string;
48
+ }
49
+ export interface RespondAccessRequestData {
50
+ action: 'approve' | 'deny';
51
+ response_message?: string;
52
+ expires_at?: string;
53
+ /** See {@link AccessScope} — currently ignored by the backend on approval. */
54
+ access_scope?: AccessScope;
55
+ }
56
+ export interface FetchAccessRequestsParams {
57
+ status?: AccessRequestStatus;
58
+ }
59
+ export type AppUpdateStatus = 'updated' | 'no_update' | 'forbidden' | 'not_found' | 'failed';
60
+ export interface AppUpdateResult {
61
+ app_id: string;
62
+ status: AppUpdateStatus;
63
+ app_version_id: string | null;
64
+ message?: string;
65
+ dry_run?: boolean;
66
+ }
67
+ export type BatchUpdateAppResult = AppUpdateResult;
68
+ export interface BatchUpdateAppsResponse {
69
+ summary: {
70
+ total: number;
71
+ updated: number;
72
+ no_update: number;
73
+ failed: number;
74
+ dry_run: boolean;
75
+ };
76
+ results: BatchUpdateAppResult[];
77
+ }
78
+ export interface BatchUpdateAppsParams {
79
+ app_ids?: string[];
80
+ dry_run?: boolean;
81
+ }
82
+ export interface AvailableUpdate {
83
+ app_id: string;
84
+ name: string;
85
+ current_version_ids: string[];
86
+ target_version_id: string;
87
+ target_version: string;
88
+ }
89
+ export interface AvailableUpdatesResponse {
90
+ count: number;
91
+ results: AvailableUpdate[];
92
+ }
93
+ //# sourceMappingURL=accessRequests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessRequests.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/accessRequests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAA;AAE3F;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG,sBAAsB,CAAA;AAEjE,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,aAAa,CAAC;QAAC,OAAO,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;IACnH,cAAc,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3D,iBAAiB,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/C,MAAM,EAAE,mBAAmB,CAAA;IAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,YAAY,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IACjD,YAAY,EAAE,MAAM,GAAG,IAAI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AA;IACZ,mBAAmB,EAAE,MAAM,EAAE,CAAA;IAC7B,iBAAiB,EAAE,MAAM,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,eAAe,EAAE,CAAA;CAC3B"}
@@ -0,0 +1,243 @@
1
+ import type { ResourceLabel } from '../../LabelService';
2
+ import type { AccessRequest } from './accessRequests';
3
+ import type { AppCategory } from './appCategories';
4
+ import type { AppMedia, AppVersion } from './appMedia';
5
+ import type { AccessibleChannel, AppChannel } from './channels';
6
+ import type { PricingTier } from './pricingTiers';
7
+ import type { AccessBlock } from './seats';
8
+ import type { AppSubscriptionSummary } from './subscriptions';
9
+ export type AccessLevel = 'community' | 'enterprise';
10
+ export type AppAvailability = 'always_available' | 'request_access' | 'private';
11
+ export type AppTrustLevel = 'standard' | 'verified' | 'certified';
12
+ /**
13
+ * Why a NEW access request is blocked, or null when one can be submitted (or
14
+ * the app does not use the request-access model, in which case it is not
15
+ * applicable). Consistent on both `App` and `ListApp`. Use this to render a
16
+ * meaningful state instead of a dead "Unavailable":
17
+ * - `already_installed` — the license already has the app installed
18
+ * - `already_requested` — a request is pending the publisher's response
19
+ * - `access_granted` — a prior request was approved (access is live)
20
+ */
21
+ export type RequestBlockedReason = 'already_installed' | 'already_requested' | 'access_granted' | null;
22
+ /**
23
+ * Compact free/paid tier summary on a browse card (subscription-model apps
24
+ * only; null otherwise). Lets the card render "Free", "Free + paid",
25
+ * "From €X", or "Paid" without the full tier list. Complements `cheapest_tier`.
26
+ */
27
+ export interface AppTierSummary {
28
+ has_free: boolean;
29
+ has_paid: boolean;
30
+ /** Lowest paid tier amount, for "from €X". Null when there are no paid tiers. */
31
+ min_paid_amount: number | null;
32
+ /** Highest paid tier amount, for a range. Null when there are no paid tiers. */
33
+ max_amount: number | null;
34
+ /** ISO-4217 currency code (e.g. "EUR"), or null. */
35
+ currency: string | null;
36
+ }
37
+ export interface AppLicense {
38
+ id: string;
39
+ name: string;
40
+ theme: string;
41
+ }
42
+ /**
43
+ * License-scope install state. `can_install` is release-gated and detail-only
44
+ * (`App`); the list omits it (N+1).
45
+ *
46
+ * ⚠️ `installed` semantics differ per surface — do NOT cross-read:
47
+ * - `my_access` (+`include_available`) rows: implicit-install — always-available
48
+ * system apps read `installed: true` with `resource_app_id: null` (null link
49
+ * = implicit; `installed_at` null, `can_uninstall` false).
50
+ * - browse rows and the app-DETAIL payload: PHYSICAL install only — they drive
51
+ * the Install CTA off it. Use `can_open` there for "usable".
52
+ */
53
+ export interface AppOnLicense {
54
+ /** Installed at the license (see surface semantics above). */
55
+ installed: boolean;
56
+ /** Can install at the license — the store action (paid apps route to buy-request). Detail only. */
57
+ can_install?: boolean;
58
+ /** Can remove the app from the license. */
59
+ can_uninstall: boolean;
60
+ /** The license-level ResourceApp link id; null when not installed — or implicitly installed (`my_access`). */
61
+ resource_app_id: string | null;
62
+ /** Per-install auto-update flag for the license link. */
63
+ auto_update: boolean;
64
+ /** When the license installed the app (ISO 8601), or null. */
65
+ installed_at: string | null;
66
+ }
67
+ /** Project-scope activation state; non-null only for project_required apps with a project selected. */
68
+ export interface AppInProject {
69
+ /** A version is activated in the current project. */
70
+ activated: boolean;
71
+ /**
72
+ * Per-user right to activate a version in the current project (project admin
73
+ * — license admins cascade — AND configurable at the license's access level
74
+ * AND not yet activated AND a reachable released version). On detail AND list
75
+ * payloads (`my_access`).
76
+ */
77
+ can_activate?: boolean;
78
+ /** Can remove the activated version from the current project. */
79
+ can_deactivate: boolean;
80
+ /** The project-level ResourceApp link id, or null when not activated. */
81
+ resource_app_id: string | null;
82
+ /** Per-install auto-update flag for the project link. */
83
+ auto_update: boolean;
84
+ }
85
+ export interface App {
86
+ id: string;
87
+ title: string;
88
+ tagline: string;
89
+ description: string;
90
+ color: string;
91
+ icon: string;
92
+ image: any;
93
+ project_required: boolean;
94
+ access_level: AccessLevel;
95
+ availability: AppAvailability;
96
+ trust_level: AppTrustLevel;
97
+ is_deprecated: boolean;
98
+ deprecation_message: string | null;
99
+ can_configure_by_license: boolean;
100
+ can_request_access: boolean;
101
+ /** Why `can_request_access` is false (request-access apps only). See type doc. */
102
+ request_blocked_reason: RequestBlockedReason;
103
+ /**
104
+ * Canonical entitlement flag: the license currently has the right to
105
+ * install/use this app — installed, a live subscription (active/trial/grace,
106
+ * and for seat-based tiers the viewer holds a seat), an approved access
107
+ * grant, or a free always-available app. Consistent with `ListApp.has_access`.
108
+ */
109
+ has_access: boolean;
110
+ /** Set when the viewer is blocked from a seat-based app (over the cap); null otherwise. */
111
+ access_block?: AccessBlock | null;
112
+ my_access_request?: AccessRequest | null;
113
+ license_id?: string;
114
+ created_by?: string;
115
+ created_at?: string;
116
+ updated_at?: string;
117
+ path: string;
118
+ license: AppLicense;
119
+ is_owned_app: boolean;
120
+ /**
121
+ * Derived: can the current user open/use this app right now?
122
+ * Non-project app → `on_license.installed`; project app → `in_project.activated`
123
+ * (false without a project context). This is the launcher/OS-shell flag.
124
+ */
125
+ can_open: boolean;
126
+ /** License-scope install state + capabilities (always present). */
127
+ on_license: AppOnLicense;
128
+ /** Project-scope activation state; null unless project_required + project context. */
129
+ in_project: AppInProject | null;
130
+ activated_elsewhere?: boolean;
131
+ can_update: boolean;
132
+ update_available: boolean;
133
+ update_available_version_id: string | null;
134
+ is_featured: boolean;
135
+ versions: AppVersion[];
136
+ categories: AppCategory[];
137
+ media?: AppMedia[];
138
+ labels: ResourceLabel[];
139
+ active_channel?: {
140
+ id: string;
141
+ name: string;
142
+ color?: string | null;
143
+ } | null;
144
+ /** Release channels the current viewer can install from (single-app detail). */
145
+ channels?: AppChannel[];
146
+ /** The user's remembered channel for this app (the switcher default). */
147
+ preferred_channel_id?: string | null;
148
+ install_count?: number;
149
+ access_model?: 'free' | 'subscription';
150
+ subscription?: AppSubscriptionSummary | null;
151
+ latest_changelog?: string | null;
152
+ }
153
+ export interface ListApp {
154
+ id: string;
155
+ title: string;
156
+ tagline: null | string;
157
+ image: string;
158
+ icon: string;
159
+ color: string;
160
+ project_required: boolean;
161
+ access_level: AccessLevel;
162
+ availability: AppAvailability;
163
+ trust_level: AppTrustLevel;
164
+ is_deprecated: boolean;
165
+ deprecation_message: string | null;
166
+ can_configure_by_license: boolean;
167
+ can_request_access: boolean;
168
+ /**
169
+ * Why `can_request_access` is false (request-access apps only). Now honored on
170
+ * the list so the browse card matches the detail — render the reason instead
171
+ * of a generic "Request access" / dead state. See type doc.
172
+ */
173
+ request_blocked_reason: RequestBlockedReason;
174
+ /** Canonical entitlement flag, consistent with `App.has_access`. */
175
+ has_access: boolean;
176
+ my_access_request?: AccessRequest | null;
177
+ /**
178
+ * Derived: can the current user open/use this app right now?
179
+ * Non-project app → `on_license.installed`; project app → `in_project.activated`.
180
+ * The launcher/OS-shell filter (`apps.filter(a => a.can_open)`).
181
+ */
182
+ can_open: boolean;
183
+ /**
184
+ * License-scope install state (always present). The LIST omits the
185
+ * release-gated `can_install` — use the single-app detail (`App`) for it.
186
+ */
187
+ on_license: AppOnLicense;
188
+ /** Project-scope activation state; null unless project_required + project context. */
189
+ in_project: AppInProject | null;
190
+ /**
191
+ * `my_access` project context only (BE ask pending): activated in ≥1 OTHER
192
+ * project where the viewer is a member and can open it — drives the
193
+ * dashboard's "available in other projects" quick-switch row.
194
+ */
195
+ activated_elsewhere?: boolean;
196
+ /**
197
+ * Channels the current user can open, scoped to `has_access` (inaccessible
198
+ * channels omitted). Populated on dashboard / My Apps lists (store_mode
199
+ * `installed` / `my_access`); `[]` elsewhere or when the user has no openable
200
+ * channel. `length > 1` ⇒ render the channel/version switcher; the default is
201
+ * the `is_preferred` entry, else `is_primary`.
202
+ */
203
+ accessible_channels: AccessibleChannel[];
204
+ update_available: boolean;
205
+ update_available_version_id: string | null;
206
+ is_featured: boolean;
207
+ path: string;
208
+ active_channel?: {
209
+ id: string;
210
+ name: string;
211
+ color?: string | null;
212
+ } | null;
213
+ license?: AppLicense;
214
+ access_model?: 'free' | 'subscription';
215
+ install_count?: number;
216
+ pending_access_request_count?: number;
217
+ latest_version?: AppVersion | null;
218
+ /** Visible categories — used by storefront card chips. */
219
+ categories?: AppCategory[];
220
+ /** Lowest-priced active tier — used to render "From €X/seat" on browse cards. */
221
+ cheapest_tier?: PricingTier | null;
222
+ /**
223
+ * Free/paid spread across the app's active tiers (subscription apps only;
224
+ * null otherwise). Lets the card say "Free + paid plans available" — which
225
+ * `cheapest_tier` alone cannot express.
226
+ */
227
+ tier_summary?: AppTierSummary | null;
228
+ /** Currently installed version — pair with `update_to_version` for the update banner. */
229
+ update_from_version?: AppVersion | null;
230
+ /** Newest version available to install. */
231
+ update_to_version?: AppVersion | null;
232
+ /**
233
+ * Lightweight subscription summary — present only for subscription-mode apps
234
+ * where the current license has an existing subscription. Use `trial_ends_at`
235
+ * / `grace_period_ends_at` to drive "in trial" / "in grace period" badges.
236
+ */
237
+ subscription?: AppSubscriptionSummary | null;
238
+ /** Total seats on the active subscription (seat-based tier only). */
239
+ seats_total?: number | null;
240
+ /** Currently-assigned seats on the active subscription. */
241
+ seats_used?: number | null;
242
+ }
243
+ //# sourceMappingURL=app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,C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AA;IACvC,2CAA2C;IAC3C,iBAAiB,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IACrC;;;;OAIG;IACH,YAAY,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAA;IAC5C,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B"}
@@ -0,0 +1,4 @@
1
+ export {};
2
+ // Publisher form / store-query request shapes (AppImpactAnalysis, AppTemplate,
3
+ // AppFormData, AppSortOption, FetchAppsParams, UninstallConflict) live in
4
+ // `./appRequests.ts` and are re-exported from the `./types` barrel.
@@ -0,0 +1,16 @@
1
+ export interface AppCategory {
2
+ id: string;
3
+ name: string;
4
+ /**
5
+ * Number of apps in this category visible to the requesting license.
6
+ * Returned by `AppCategoryResource` when the BE has the count loaded
7
+ * (browse endpoint with categories included). Optional because legacy
8
+ * call sites (e.g. category management screens) may not request it.
9
+ */
10
+ app_count?: number;
11
+ updated_at: string;
12
+ }
13
+ export interface CategoryRelationData {
14
+ categories: string[];
15
+ }
16
+ //# sourceMappingURL=appCategories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appCategories.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/appCategories.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Audit-log entry for an app — captures structural events like channel
3
+ * publishes, version uploads, etc. The Manage page's "Recent publishes"
4
+ * panel reads this via GET /store/apps/{appId}/changelog.
5
+ */
6
+ export type AppChangelogActionType = 'channel_published' | (string & {});
7
+ export interface ChannelPublishedChanges {
8
+ channel_id: string;
9
+ channel_name: string;
10
+ previous_version_id: string | null;
11
+ new_version_id: string;
12
+ }
13
+ export interface AppChangelogEntry {
14
+ id: string;
15
+ app_id: string;
16
+ app_version_id: string | null;
17
+ user_id: string | null;
18
+ action_type: AppChangelogActionType;
19
+ changes: ChannelPublishedChanges | Record<string, unknown>;
20
+ created_at: string;
21
+ updated_at: string;
22
+ }
23
+ export interface FetchAppChangelogParams {
24
+ action_type?: AppChangelogActionType;
25
+ version_id?: string;
26
+ /** Filter to publishes on a single channel — for `channel_published`. */
27
+ channel_id?: string;
28
+ page?: number;
29
+ per_page?: number;
30
+ }
31
+ //# sourceMappingURL=appChangelog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appChangelog.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/appChangelog.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAC5B,mBAAmB,GACnB,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AAEnB,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,WAAW,EAAE,sBAAsB,CAAA;IACnC,OAAO,EAAE,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC1D,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,sBAAsB,CAAA;IACpC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,18 +1,33 @@
1
1
  /**
2
2
  * JSON Schema document describing a topic payload shape.
3
+ * Kept as a loose record to avoid pulling in @types/json-schema — apps consume
4
+ * this as a schema document (e.g. via ajv), not as a typed value.
3
5
  */
4
6
  export type JsonSchema = Record<string, unknown>;
7
+ /** Echo channel scope for a manifest-declared topic. */
5
8
  export type AppManifestTopicScope = 'project' | 'license';
6
9
  export type AppManifestTopicDirection = 'send' | 'receive';
7
10
  export interface AppManifestTopic {
11
+ /** Echo channel scope. Defaults to 'project'. */
8
12
  scope?: AppManifestTopicScope;
13
+ /** Human-readable description, surfaced in the App Store. */
9
14
  description?: string;
15
+ /**
16
+ * Directions the app participates in. At least one required.
17
+ * Omit or leave empty to default to `['receive']`.
18
+ */
10
19
  direction?: AppManifestTopicDirection[];
20
+ /** JSON Schema describing the topic payload shape. */
11
21
  schema?: JsonSchema;
12
22
  }
13
23
  export interface AppManifestSignals {
24
+ /**
25
+ * Generic topic pub/sub capabilities, keyed by topic name.
26
+ * Topic names must match `[A-Za-z0-9_-]` to align with Echo channel naming.
27
+ */
14
28
  topics?: Record<string, AppManifestTopic>;
15
29
  }
30
+ /** Column type allowed in an app-config table definition. */
16
31
  export type AppManifestColumnType = 'integer' | 'text' | 'text-field' | 'boolean' | 'date' | 'link' | 'email' | 'dropdown' | 'document' | 'float' | 'sbscode' | 'table';
17
32
  export interface AppManifestColumn {
18
33
  name: string;
@@ -36,4 +51,4 @@ export interface AppManifest {
36
51
  tables?: AppManifestTable[];
37
52
  signals?: AppManifestSignals;
38
53
  }
39
- //# sourceMappingURL=AppManifest.d.ts.map
54
+ //# sourceMappingURL=appManifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appManifest.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/appManifest.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEhD,wDAAwD;AACxD,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,SAAS,CAAA;AAEzD,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,SAAS,CAAA;AAE1D,MAAM,WAAW,gBAAgB;IAC/B,iDAAiD;IACjD,KAAK,CAAC,EAAE,qBAAqB,CAAA;IAC7B,6DAA6D;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,yBAAyB,EAAE,CAAA;IACvC,sDAAsD;IACtD,MAAM,CAAC,EAAE,UAAU,CAAA;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAA;CAC1C;AAED,6DAA6D;AAC7D,MAAM,MAAM,qBAAqB,GAC3B,SAAS,GACT,MAAM,GACN,YAAY,GACZ,SAAS,GACT,MAAM,GACN,MAAM,GACN,OAAO,GACP,UAAU,GACV,UAAU,GACV,OAAO,GACP,SAAS,GACT,OAAO,CAAA;AAEb,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,qBAAqB,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,EAAE,iBAAiB,EAAE,CAAA;CAC7B;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC3B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B"}
@@ -0,0 +1,4 @@
1
+ // Types for `app-config.json` shipped inside an app's distribution.
2
+ // Read by ant-os and the App Store to know what an app declares about itself —
3
+ // its tagline, the tables it ships with, and the signals it sends/receives.
4
+ export {};