@antcde/connect-ts 0.4.20-rc.1 → 0.4.20-rc.2

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 (86) hide show
  1. package/build/index.d.ts +34 -2
  2. package/build/index.d.ts.map +1 -1
  3. package/build/index.js +3 -8
  4. package/build/services/{AppService/types/appManifest.d.ts → AppManifest.d.ts} +1 -16
  5. package/build/services/AppManifest.d.ts.map +1 -0
  6. package/build/services/AppService.d.ts +57 -0
  7. package/build/services/AppService.d.ts.map +1 -0
  8. package/build/services/AppService.js +47 -0
  9. package/build/services/AppService.types.d.ts +173 -0
  10. package/build/services/AppService.types.d.ts.map +1 -0
  11. package/build/services/Notifications/NotificationService.d.ts +2 -23
  12. package/build/services/Notifications/NotificationService.d.ts.map +1 -1
  13. package/build/services/Notifications/NotificationService.js +0 -5
  14. package/build/services/TableService.js +7 -7
  15. package/build/services/TaskService.types.d.ts.map +1 -1
  16. package/build/services/UserService.d.ts +0 -2
  17. package/build/services/UserService.d.ts.map +1 -1
  18. package/package.json +1 -1
  19. package/build/service-runtime.d.ts +0 -5
  20. package/build/service-runtime.d.ts.map +0 -1
  21. package/build/service-runtime.js +0 -6
  22. package/build/service-types-app.d.ts +0 -2
  23. package/build/service-types-app.d.ts.map +0 -1
  24. package/build/service-types-app.js +0 -3
  25. package/build/service-types.d.ts +0 -33
  26. package/build/service-types.d.ts.map +0 -1
  27. package/build/service-types.js +0 -7
  28. package/build/services/AppService/factory/assignments.d.ts +0 -57
  29. package/build/services/AppService/factory/assignments.d.ts.map +0 -1
  30. package/build/services/AppService/factory/assignments.js +0 -30
  31. package/build/services/AppService/factory/channels.d.ts +0 -25
  32. package/build/services/AppService/factory/channels.d.ts.map +0 -1
  33. package/build/services/AppService/factory/channels.js +0 -17
  34. package/build/services/AppService/factory/formData.d.ts +0 -14
  35. package/build/services/AppService/factory/formData.d.ts.map +0 -1
  36. package/build/services/AppService/factory/formData.js +0 -50
  37. package/build/services/AppService/factory/subscriptions.d.ts +0 -73
  38. package/build/services/AppService/factory/subscriptions.d.ts.map +0 -1
  39. package/build/services/AppService/factory/subscriptions.js +0 -39
  40. package/build/services/AppService/index.d.ts +0 -66
  41. package/build/services/AppService/index.d.ts.map +0 -1
  42. package/build/services/AppService/index.js +0 -80
  43. package/build/services/AppService/types/accessRequests.d.ts +0 -93
  44. package/build/services/AppService/types/accessRequests.d.ts.map +0 -1
  45. package/build/services/AppService/types/app.d.ts +0 -243
  46. package/build/services/AppService/types/app.d.ts.map +0 -1
  47. package/build/services/AppService/types/app.js +0 -4
  48. package/build/services/AppService/types/appCategories.d.ts +0 -16
  49. package/build/services/AppService/types/appCategories.d.ts.map +0 -1
  50. package/build/services/AppService/types/appChangelog.d.ts +0 -31
  51. package/build/services/AppService/types/appChangelog.d.ts.map +0 -1
  52. package/build/services/AppService/types/appChangelog.js +0 -1
  53. package/build/services/AppService/types/appManifest.d.ts.map +0 -1
  54. package/build/services/AppService/types/appManifest.js +0 -4
  55. package/build/services/AppService/types/appMedia.d.ts +0 -101
  56. package/build/services/AppService/types/appMedia.d.ts.map +0 -1
  57. package/build/services/AppService/types/appMedia.js +0 -1
  58. package/build/services/AppService/types/appRequests.d.ts +0 -107
  59. package/build/services/AppService/types/appRequests.d.ts.map +0 -1
  60. package/build/services/AppService/types/appRequests.js +0 -1
  61. package/build/services/AppService/types/channels.d.ts +0 -45
  62. package/build/services/AppService/types/channels.d.ts.map +0 -1
  63. package/build/services/AppService/types/channels.js +0 -1
  64. package/build/services/AppService/types/pricingTiers.d.ts +0 -85
  65. package/build/services/AppService/types/pricingTiers.d.ts.map +0 -1
  66. package/build/services/AppService/types/pricingTiers.js +0 -1
  67. package/build/services/AppService/types/publisherStats.d.ts +0 -20
  68. package/build/services/AppService/types/publisherStats.d.ts.map +0 -1
  69. package/build/services/AppService/types/publisherStats.js +0 -1
  70. package/build/services/AppService/types/releaseChannels.d.ts +0 -84
  71. package/build/services/AppService/types/releaseChannels.d.ts.map +0 -1
  72. package/build/services/AppService/types/releaseChannels.js +0 -1
  73. package/build/services/AppService/types/seats.d.ts +0 -184
  74. package/build/services/AppService/types/seats.d.ts.map +0 -1
  75. package/build/services/AppService/types/seats.js +0 -4
  76. package/build/services/AppService/types/subscriptions.d.ts +0 -182
  77. package/build/services/AppService/types/subscriptions.d.ts.map +0 -1
  78. package/build/services/AppService/types/subscriptions.js +0 -1
  79. package/build/services/AppService/types.d.ts +0 -14
  80. package/build/services/AppService/types.d.ts.map +0 -1
  81. package/build/services/AppService/types.js +0 -16
  82. package/build/services/Websockets/StoreEvents.d.ts +0 -14
  83. package/build/services/Websockets/StoreEvents.d.ts.map +0 -1
  84. package/build/services/Websockets/StoreEvents.js +0 -5
  85. /package/build/services/{AppService/types/accessRequests.js → AppManifest.js} +0 -0
  86. /package/build/services/{AppService/types/appCategories.js → AppService.types.js} +0 -0
@@ -1,93 +0,0 @@
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
@@ -1 +0,0 @@
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,EA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E5F,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,eAAe,CAAA;IACvB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAA;AAElD,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,CAAA;QACf,SAAS,EAAE,MAAM,CAAA;QACjB,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;IACD,OAAO,EAAE,oBAAoB,EAAE,CAAA;CAChC;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;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"}
@@ -1,243 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,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M,GAAG,cAAc,CAAA;IACtC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAA;IACrC,cAAc,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IAClC,0DAA0D;IAC1D,UAAU,CAAC,EAAE,WAAW,EAAE,CAAA;IAC1B,iFAAiF;IACjF,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAClC;;;;OAIG;IACH,YAAY,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IACpC,yFAAyF;IACzF,mBAAmB,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;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"}
@@ -1,4 +0,0 @@
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.
@@ -1,16 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,31 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
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"}
@@ -1,4 +0,0 @@
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 {};
@@ -1,101 +0,0 @@
1
- export interface AppVersionAuthor {
2
- id: string;
3
- name: string;
4
- avatar?: string | null;
5
- }
6
- export interface AppVersion {
7
- id: string;
8
- app_id: string;
9
- version: string;
10
- created_at?: string;
11
- updated_at?: string;
12
- path: string;
13
- external_path: string;
14
- /** License-scope: is this the version installed at the license. */
15
- on_license: {
16
- installed: boolean;
17
- };
18
- /**
19
- * Project-scope: is this the version activated in the current project.
20
- * Null when there is no project context (or the app is not project_required).
21
- */
22
- in_project: {
23
- activated: boolean;
24
- } | null;
25
- release_notes?: string | null;
26
- /** Uploaded zip size in bytes — null for external_path versions. */
27
- build_size_bytes?: number | null;
28
- /** Uploading user — only present when the `createdBy` relation is loaded. */
29
- created_by?: AppVersionAuthor | null;
30
- /** Licenses/installs currently pinned to this version. BE-populated; absent until then. */
31
- install_count?: number | null;
32
- /**
33
- * Release channels this version is the active/published version of. Use to
34
- * group installed versions by channel and badge the production version
35
- * (`is_default`). A version can be active on more than one channel. Only
36
- * present when the BE preloads it (single-app detail, version index).
37
- */
38
- channels?: Array<{
39
- id: string;
40
- name: string;
41
- color?: string | null;
42
- is_default: boolean;
43
- }>;
44
- }
45
- export interface AppMedia {
46
- id: string;
47
- app_id: string;
48
- source: 'file' | 'link';
49
- type: 'image' | 'video';
50
- sort_order: number;
51
- caption?: string;
52
- is_featured: boolean;
53
- url: string;
54
- created_at?: string;
55
- updated_at?: string;
56
- mime_type?: string;
57
- file_size?: number;
58
- formatted_file_size?: string;
59
- width?: number;
60
- height?: number;
61
- provider?: 'youtube' | 'vimeo';
62
- provider_id?: string;
63
- thumbnail_url?: string;
64
- embed_url?: string;
65
- }
66
- export interface AttachVersionToAppFormData {
67
- app_id: string;
68
- app_version_id: string;
69
- }
70
- export interface AppVersionFormData {
71
- /** Build .zip — sent as multipart when present. */
72
- build?: File;
73
- external_path?: string;
74
- release_notes?: string | null;
75
- }
76
- interface AppMediaCommonFormData {
77
- caption?: string;
78
- is_featured?: boolean;
79
- sort_order?: number;
80
- }
81
- interface AppMediaFileFormData extends AppMediaCommonFormData {
82
- source: 'file';
83
- /** Required for a file upload — sent as multipart. */
84
- file: File;
85
- }
86
- interface AppMediaLinkFormData extends AppMediaCommonFormData {
87
- source: 'link';
88
- /** Required for a link — YouTube/Vimeo URL. */
89
- url: string;
90
- }
91
- export type AppMediaFormData = AppMediaFileFormData | AppMediaLinkFormData;
92
- export interface UpdateAppMediaFormData {
93
- caption?: string;
94
- is_featured?: boolean;
95
- sort_order?: number;
96
- }
97
- export interface ReorderMediaFormData {
98
- media_ids: string[];
99
- }
100
- export {};
101
- //# sourceMappingURL=appMedia.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"appMedia.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/appMedia.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,mEAAmE;IACnE,UAAU,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAA;IAClC;;;OAGG;IACH,UAAU,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAA;IACzC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,6EAA6E;IAC7E,UAAU,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;IACpC,2FAA2F;IAC3F,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;QACf,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QACrB,UAAU,EAAE,OAAO,CAAA;KACpB,CAAC,CAAA;C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,oBAAqB,SAAQ,sBAAsB;IAC3D,MAAM,EAAE,MAAM,CAAA;IACd,+CAA+C;IAC/C,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG,oBAAoB,CAAA;AAE1E,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,107 +0,0 @@
1
- import type { LabelFilterParams } from '../../LabelService';
2
- import type { AppAvailability, AppTrustLevel } from './app';
3
- export interface AppImpactAnalysis {
4
- license_install_count: number;
5
- project_install_count: number;
6
- total_install_count: number;
7
- pending_access_request_count: number;
8
- propagation_template_count: number;
9
- /** Licenses that currently have the app installed (accessibility-filtered). */
10
- licenses: AppImpactLicense[];
11
- /** Projects that currently have the app activated (accessibility-filtered). */
12
- projects: AppImpactProject[];
13
- }
14
- /** A license that currently has the app installed, shown in the force-delete impact list. */
15
- export interface AppImpactLicense {
16
- id: string;
17
- /** License display name; null when the license has no name set. */
18
- name: string | null;
19
- }
20
- /** A project that currently has the app activated, shown in the force-delete impact list. */
21
- export interface AppImpactProject {
22
- id: string;
23
- /** Project display name; null when the project has no name set. */
24
- name: string | null;
25
- /** Project number; null when the project has none. */
26
- number: string | null;
27
- /** Name of the owning license; null when the project has no license or it is unnamed. */
28
- license_name: string | null;
29
- }
30
- export interface AppTemplate {
31
- title?: string;
32
- readonly tagline?: string;
33
- description?: string;
34
- color?: string;
35
- icon?: string;
36
- /** Upload a new icon (File → multipart); a string is the persisted URL; null clears it. */
37
- image?: File | string | null;
38
- external_path?: string;
39
- project_required?: boolean;
40
- access_level?: 'community' | 'enterprise';
41
- availability?: AppAvailability;
42
- access_model?: 'free' | 'subscription';
43
- readonly license_id?: string;
44
- /**
45
- * Required on create and update. 1 or 2 category UUIDs from the
46
- * operator-curated catalog (`GET /store/app-categories`). Legacy apps
47
- * without categories must supply this on the next edit or the BE
48
- * returns 422.
49
- */
50
- category_ids: string[];
51
- }
52
- export interface AppFormData {
53
- title?: string;
54
- description?: string;
55
- color?: string;
56
- icon?: string;
57
- external_path?: string;
58
- image?: File | null;
59
- availability?: AppAvailability;
60
- project_required: boolean;
61
- license_id: string | null;
62
- category_ids: string[];
63
- }
64
- export type AppSortOption = 'updated_at' | 'title_asc' | 'title_desc' | 'trust' | 'newest' | 'popular';
65
- export interface FetchAppsParams extends LabelFilterParams {
66
- search?: string | null;
67
- category_id?: string[];
68
- /**
69
- * - `browse` — public storefront
70
- * - `installed` — apps installed in the current license/project context
71
- * - `owned` — PUBLISHER view: apps published by the current license
72
- * - `my_access` — BUYER "My Access": every app the current LICENSE has an
73
- * entitlement to (installed, a live subscription, or an approved access
74
- * grant), including accessible-but-not-yet-installed. License-scoped — the
75
- * client must still filter per-user using `has_access` /
76
- * `subscription.can_manage` (a seat-based app with no seat and no manage
77
- * rights should be hidden).
78
- */
79
- store_mode?: 'browse' | 'installed' | 'owned' | 'my_access';
80
- /**
81
- * With `my_access`: also include always-available/system apps the user can
82
- * open on the license (e.g. Tables, ANT Store) even when the license never
83
- * explicitly acquired them — makes `my_access` the single source of truth
84
- * for "apps available to this user in this context" (AAD-713).
85
- */
86
- include_available?: boolean;
87
- availability?: AppAvailability;
88
- trust_level?: AppTrustLevel;
89
- include_deprecated?: boolean;
90
- sort?: AppSortOption;
91
- publisher?: string;
92
- featured?: boolean;
93
- level?: 'project' | 'license';
94
- /** Drop a specific app from the result. Used by App Detail carousels. */
95
- exclude_id?: string | null;
96
- /** Cap the result count (1-50). Used by App Detail carousels. */
97
- limit?: number;
98
- }
99
- export interface UninstallConflict {
100
- message: string;
101
- projects: {
102
- id: string;
103
- name: string;
104
- }[];
105
- requires_force: boolean;
106
- }
107
- //# sourceMappingURL=appRequests.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"appRequests.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/appRequests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAO3D,MAAM,WAAW,iBAAiB;IAChC,qBAAqB,EAAE,MAAM,CAAA;IAC7B,qBAAqB,EAAE,MAAM,CAAA;IAC7B,mBAAmB,EAAE,MAAM,CAAA;IAC3B,4BAA4B,EAAE,MAAM,CAAA;IACpC,0BAA0B,EAAE,MAAM,CAAA;IAClC,+EAA+E;IAC/E,QAAQ,EAAE,gBAAgB,EAAE,CAAA;IAC5B,+EAA+E;IAC/E,QAAQ,EAAE,gBAAgB,EAAE,CAAA;CAC7B;AAED,6FAA6F;AAC7F,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,mEAAmE;IACnE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,6FAA6F;AAC7F,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,mEAAmE;IACnE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,sDAAsD;IACtD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,yFAAyF;IACzF,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,2FAA2F;IAC3F,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;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