@antcde/connect-ts 0.4.27-rc.2 → 0.4.27-rc.4
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/build/comms/client.d.ts.map +1 -1
- package/build/comms/client.js +39 -41
- package/build/comms/connection.d.ts +32 -0
- package/build/comms/connection.d.ts.map +1 -0
- package/build/comms/connection.js +159 -0
- package/build/comms/handshake.d.ts +16 -0
- package/build/comms/handshake.d.ts.map +1 -0
- package/build/comms/handshake.js +73 -0
- package/build/comms/host.d.ts.map +1 -1
- package/build/comms/host.js +22 -26
- package/build/comms/hostSlot.d.ts +23 -0
- package/build/comms/hostSlot.d.ts.map +1 -0
- package/build/comms/hostSlot.js +55 -0
- package/build/comms/transport.d.ts +18 -2
- package/build/comms/transport.d.ts.map +1 -1
- package/build/comms/transport.js +25 -10
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/service-runtime.d.ts +2 -2
- package/build/service-runtime.d.ts.map +1 -1
- package/build/service-runtime.js +2 -2
- package/build/service-types-app.d.ts +1 -1
- package/build/service-types-app.d.ts.map +1 -1
- package/build/services/AppService/factory/categories.d.ts +30 -0
- package/build/services/AppService/factory/categories.d.ts.map +1 -0
- package/build/services/AppService/factory/categories.js +11 -0
- package/build/services/AppService/factory/resourceAccess.d.ts +1 -1
- package/build/services/AppService/factory/resourceAccess.d.ts.map +1 -1
- package/build/services/AppService/factory/resourceAccess.js +12 -0
- package/build/services/AppService/factory/resourceAssignments.d.ts +66 -0
- package/build/services/AppService/factory/resourceAssignments.d.ts.map +1 -0
- package/build/services/AppService/factory/resourceAssignments.js +12 -0
- package/build/services/AppService/factory/resourceChannels.d.ts +89 -0
- package/build/services/AppService/factory/resourceChannels.d.ts.map +1 -0
- package/build/services/AppService/factory/resourceChannels.js +19 -0
- package/build/services/AppService/factory/resourceSnapshot.d.ts +13 -0
- package/build/services/AppService/factory/resourceSnapshot.d.ts.map +1 -1
- package/build/services/AppService/factory/resourceSnapshot.js +21 -0
- package/build/services/AppService/factory/resourceUploads.d.ts +37 -0
- package/build/services/AppService/factory/resourceUploads.d.ts.map +1 -0
- package/build/services/AppService/factory/resourceUploads.js +8 -0
- package/build/services/AppService/factory/resources.d.ts +43 -29
- package/build/services/AppService/factory/resources.d.ts.map +1 -1
- package/build/services/AppService/factory/resources.js +8 -7
- package/build/services/AppService/factory/taxonomy.d.ts +25 -0
- package/build/services/AppService/factory/taxonomy.d.ts.map +1 -0
- package/build/services/AppService/factory/taxonomy.js +5 -0
- package/build/services/AppService/index.d.ts +4 -5
- package/build/services/AppService/index.d.ts.map +1 -1
- package/build/services/AppService/index.js +4 -6
- package/build/services/AppService/types/appCategories.d.ts +28 -0
- package/build/services/AppService/types/appCategories.d.ts.map +1 -1
- package/build/services/AppService/types/resourceAssignments.d.ts +38 -0
- package/build/services/AppService/types/resourceAssignments.d.ts.map +1 -0
- package/build/services/AppService/types/resourceAssignments.js +10 -0
- package/build/services/AppService/types/resourceEntitlements.d.ts +18 -1
- package/build/services/AppService/types/resourceEntitlements.d.ts.map +1 -1
- package/build/services/AppService/types/resourceReleases.d.ts +93 -6
- package/build/services/AppService/types/resourceReleases.d.ts.map +1 -1
- package/build/services/AppService/types/resourceRequests.d.ts +10 -0
- package/build/services/AppService/types/resourceRequests.d.ts.map +1 -1
- package/build/services/AppService/types/sellableResources.d.ts +43 -1
- package/build/services/AppService/types/sellableResources.d.ts.map +1 -1
- package/build/services/AppService/types/snapshotFileSource.d.ts +110 -0
- package/build/services/AppService/types/snapshotFileSource.d.ts.map +1 -0
- package/build/services/AppService/types/snapshotFileSource.js +8 -0
- package/build/services/AppService/types/snapshotPayload.d.ts +30 -10
- package/build/services/AppService/types/snapshotPayload.d.ts.map +1 -1
- package/build/services/AppService/types/snapshotPayload.js +5 -2
- package/build/services/AppService/types/snapshotSources.d.ts +19 -1
- package/build/services/AppService/types/snapshotSources.d.ts.map +1 -1
- package/build/services/AppService/types/snapshotUploads.d.ts +109 -0
- package/build/services/AppService/types/snapshotUploads.d.ts.map +1 -0
- package/build/services/AppService/types/snapshotUploads.js +20 -0
- package/build/services/AppService/types/taxonomy.d.ts +76 -0
- package/build/services/AppService/types/taxonomy.d.ts.map +1 -0
- package/build/services/AppService/types/taxonomy.js +1 -0
- package/build/services/AppService/types.d.ts +4 -0
- package/build/services/AppService/types.d.ts.map +1 -1
- package/build/services/AppService/types.js +4 -0
- package/build/services/Webhook/TriggerService.d.ts +44 -0
- package/build/services/Webhook/TriggerService.d.ts.map +1 -1
- package/build/services/Webhook/TriggerService.js +15 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceRequests.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/resourceRequests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAE9D;;;;;;GAMG;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,OAAO,GAAG,WAAW,CAAA;AAEhE,mFAAmF;AACnF,MAAM,MAAM,kBAAkB,GACxB,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,SAAS,CAAA;AAEf,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,gBAAgB,CAAA;IAC3B,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,aAAa,CAAA;IAC3B,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qB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CACxE;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"resourceRequests.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/resourceRequests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAClG,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAE9D;;;;;;GAMG;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,OAAO,GAAG,WAAW,CAAA;AAEhE,mFAAmF;AACnF,MAAM,MAAM,kBAAkB,GACxB,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,SAAS,CAAA;AAEf,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,gBAAgB,CAAA;IAC3B,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,aAAa,CAAA;IAC3B,IAAI,CAAC,EAAE,kBAAkB,CAAA;IACzB;;;;;OAKG;IACH,KAAK,C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A;CACxE;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,oEAAoE;IACpE,WAAW,CAAC,EAAE,yBAAyB,CAAA;IACvC,8EAA8E;IAC9E,eAAe,CAAC,EAAE,6BAA6B,CAAA;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { AppLicense } from './app';
|
|
2
2
|
import type { AppTierSummary } from './appList';
|
|
3
3
|
import type { PricingTier } from './pricingTiers';
|
|
4
|
-
import type { ResourceEntitlementSummary } from './resourceEntitlements';
|
|
4
|
+
import type { ResourceAccessReason, ResourceEntitlementSummary } from './resourceEntitlements';
|
|
5
5
|
import type { ResourceChannel, ResourceVersion } from './resourceReleases';
|
|
6
|
+
import type { SnapshotUploadFormat } from './snapshotUploads';
|
|
6
7
|
import type { Subscription } from './subscriptions';
|
|
7
8
|
/**
|
|
8
9
|
* Sellable resources — the Store's second sellable thing alongside apps
|
|
@@ -77,6 +78,21 @@ export interface StoreCapabilities {
|
|
|
77
78
|
* armed behind a disabled surface is still worth surfacing.
|
|
78
79
|
*/
|
|
79
80
|
resources_data_publishing_gate_bypassed: boolean;
|
|
81
|
+
/** Which file formats a dataset may be uploaded in (AAD-948). Served so a client picker cannot drift. */
|
|
82
|
+
resources_snapshot_upload_formats: SnapshotUploadFormat[];
|
|
83
|
+
/**
|
|
84
|
+
* The EFFECTIVE upload ceiling in bytes — the configured one capped by what PHP will
|
|
85
|
+
* accept (AAD-948).
|
|
86
|
+
*
|
|
87
|
+
* Check a file against THIS before uploading. Publishing the configured value
|
|
88
|
+
* instead would have a client accept a file the server then rejects with a bare 413
|
|
89
|
+
* that names nothing.
|
|
90
|
+
*
|
|
91
|
+
* **Null means the deployment cannot currently accept uploads** because a ceiling is
|
|
92
|
+
* misconfigured. That is an operator fault, not a publisher one — say so rather than
|
|
93
|
+
* telling them their file is too big.
|
|
94
|
+
*/
|
|
95
|
+
resources_snapshot_max_upload_bytes: number | null;
|
|
80
96
|
}
|
|
81
97
|
/**
|
|
82
98
|
* A storefront row.
|
|
@@ -176,6 +192,32 @@ export interface ResourceAccessEntry extends ResourceEntitlementSummary {
|
|
|
176
192
|
/** Whether this license's channel serves a version newer than the pin. */
|
|
177
193
|
update_available: boolean;
|
|
178
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* An entry in the LICENSE-scoped access list (AAD-940), used to pick a resource
|
|
197
|
+
* for a trigger to consume.
|
|
198
|
+
*
|
|
199
|
+
* Not the same list as `fetchMyResourceAccess()`, and the differences matter:
|
|
200
|
+
*
|
|
201
|
+
* - It is **user-blind**. A trigger runs with no person behind it, so the
|
|
202
|
+
* per-user grant that filters "My Access" does not apply. A row here may well
|
|
203
|
+
* be one the signed-in user personally cannot read.
|
|
204
|
+
* - It **hides nothing**. Revoked, lapsed, withdrawn and not-ready entitlements
|
|
205
|
+
* are all present, each carrying why. Do not filter them out client-side —
|
|
206
|
+
* showing "you have no resources" when the licence owns three, all lapsed, is
|
|
207
|
+
* precisely the failure this endpoint exists to prevent. Render the reason.
|
|
208
|
+
*
|
|
209
|
+
* Render every row; use `consumable` to decide whether it is selectable and
|
|
210
|
+
* `access_reason` to say why it is not.
|
|
211
|
+
*/
|
|
212
|
+
export interface LicenseResourceAccessEntry extends ResourceAccessEntry {
|
|
213
|
+
/**
|
|
214
|
+
* Why this resource cannot be consumed right now, or null when it can.
|
|
215
|
+
* Same vocabulary the dispatch refusal uses, so one mapping serves both.
|
|
216
|
+
*/
|
|
217
|
+
access_reason: ResourceAccessReason | null;
|
|
218
|
+
/** Convenience for `access_reason === null`. */
|
|
219
|
+
consumable: boolean;
|
|
220
|
+
}
|
|
179
221
|
/** A row of the publisher's consumption view. Lifetime totals, not a time series. */
|
|
180
222
|
export interface ResourceConsumer {
|
|
181
223
|
license_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sellableResources.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/sellableResources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"sellableResources.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/sellableResources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA;AAC9F,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,UAAU,CAAA;AAEzD,wEAAwE;AACxE,MAAM,MAAM,gBAAgB,GAAG,MAAM,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
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File-sourced snapshot shapes (AAD-948).
|
|
3
|
+
*
|
|
4
|
+
* Split out of `snapshotPayload.ts` to keep that file under the 250-line limit. These
|
|
5
|
+
* are the halves of the source and column unions that describe an UPLOADED file; the
|
|
6
|
+
* table halves and the unions themselves stay next to the rest of the payload types.
|
|
7
|
+
*/
|
|
8
|
+
import type { SnapshotFieldType } from './snapshotPayload';
|
|
9
|
+
import type { SnapshotUploadFormat } from './snapshotUploads';
|
|
10
|
+
/**
|
|
11
|
+
* Which uploaded file a snapshot reads from (AAD-948).
|
|
12
|
+
*
|
|
13
|
+
* Only `type` and `upload_id` are sent. The provenance fields are stamped by the
|
|
14
|
+
* server from the upload row and echoed back on the stored config — a publisher who
|
|
15
|
+
* could state their own digest would be authoring the record that exists precisely
|
|
16
|
+
* because nobody can verify their claims about a file.
|
|
17
|
+
*/
|
|
18
|
+
export interface SnapshotFileSourceSelection {
|
|
19
|
+
type: 'file';
|
|
20
|
+
upload_id: string;
|
|
21
|
+
/** Server-stamped. Present on a stored config, never sent. */
|
|
22
|
+
original_filename?: string;
|
|
23
|
+
format?: SnapshotUploadFormat;
|
|
24
|
+
byte_size?: number;
|
|
25
|
+
sha256?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* One published column from an uploaded FILE (AAD-948).
|
|
29
|
+
*
|
|
30
|
+
* Selection is by header NAME, because a file has no column ids to point at — which
|
|
31
|
+
* is the whole reason `source_column_id` has to be minted rather than read.
|
|
32
|
+
*/
|
|
33
|
+
export interface SnapshotFileColumnSelection {
|
|
34
|
+
/** The header exactly as it appears in the uploaded file. */
|
|
35
|
+
source_key: string;
|
|
36
|
+
/** The buyer-facing key. Required for a file source; there is no name to fall back to. */
|
|
37
|
+
key: string;
|
|
38
|
+
/** Display only. Renaming it breaks nothing and is not a schema change. */
|
|
39
|
+
label?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* The publisher's DECLARATION of the column's type.
|
|
42
|
+
*
|
|
43
|
+
* Required, and there is no default. A file states no types, so a missing answer
|
|
44
|
+
* is a question nobody asked rather than a value the server may assume. Take the
|
|
45
|
+
* server's `proposed_type` from the upload response as the starting point — it is
|
|
46
|
+
* a proposal, and overriding it is the point.
|
|
47
|
+
*
|
|
48
|
+
* Materialisation validates every value against this and REFUSES on mismatch
|
|
49
|
+
* rather than coercing: a silent cast turns "N/A" into 0 and ships wrong totals.
|
|
50
|
+
*/
|
|
51
|
+
type: SnapshotFieldType;
|
|
52
|
+
required?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Carried forward from a previous version's schema, or omitted to have one minted.
|
|
55
|
+
*
|
|
56
|
+
* ⚠️ An IDENTITY TOKEN, never a foreign key. For a table source it happens to be a
|
|
57
|
+
* `columns.id`; for a file it points at nothing; and a listing that switched from a
|
|
58
|
+
* table keeps the old table's id on any column that kept its key. Its only contract
|
|
59
|
+
* is "the same value means the same column".
|
|
60
|
+
*/
|
|
61
|
+
column_id?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Declares a RENAME: this column was published under that key last version.
|
|
64
|
+
*
|
|
65
|
+
* Without it a rename is indistinguishable from a removal plus an addition, and
|
|
66
|
+
* AAD-942 must classify that as breaking. Offer it whenever a publisher changes a
|
|
67
|
+
* key on a re-publish.
|
|
68
|
+
*/
|
|
69
|
+
previous_key?: string | null;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Provenance for a version built from an uploaded file (AAD-948).
|
|
73
|
+
*
|
|
74
|
+
* It OUTLIVES THE BYTES: a successful version releases its staged upload, so this is
|
|
75
|
+
* the only remaining answer to "what exactly did we publish?".
|
|
76
|
+
*
|
|
77
|
+
* `verified` is always false and is stated rather than implied. A table source is a
|
|
78
|
+
* live source inside the publisher's own license that the platform can inspect; an
|
|
79
|
+
* uploaded file is opaque bytes from an origin nobody can check. AAD-943's
|
|
80
|
+
* attestation work needs those told apart.
|
|
81
|
+
*/
|
|
82
|
+
export interface SnapshotFileSchemaSource {
|
|
83
|
+
type: 'file';
|
|
84
|
+
upload_id: string;
|
|
85
|
+
original_filename: string;
|
|
86
|
+
format: SnapshotUploadFormat;
|
|
87
|
+
byte_size: number;
|
|
88
|
+
sha256: string;
|
|
89
|
+
uploaded_at: string | null;
|
|
90
|
+
uploaded_by: string | null;
|
|
91
|
+
verified: false;
|
|
92
|
+
}
|
|
93
|
+
/** Where a version's rows came from. Absent `type` means a linked table. */
|
|
94
|
+
export type ResourceVersionSource = ResourceVersionTableSource | ResourceVersionFileSource;
|
|
95
|
+
export interface ResourceVersionTableSource {
|
|
96
|
+
type?: 'table';
|
|
97
|
+
table_id: string;
|
|
98
|
+
table_name: string | null;
|
|
99
|
+
}
|
|
100
|
+
export interface ResourceVersionFileSource {
|
|
101
|
+
type: 'file';
|
|
102
|
+
upload_id: string;
|
|
103
|
+
original_filename: string | null;
|
|
104
|
+
format: string | null;
|
|
105
|
+
byte_size: number | null;
|
|
106
|
+
sha256: string | null;
|
|
107
|
+
/** Always false. An uploaded file's origin is not something this platform can check. */
|
|
108
|
+
verified: false;
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=snapshotFileSource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshotFileSource.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/snapshotFileSource.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAE7D;;;;;;;GAOG;AACH,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,8DAA8D;IAC9D,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,SAAS,CAAC,EAAE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B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,wFAAwF;IACxF,QAAQ,EAAE,KAAK,CAAA;CAChB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File-sourced snapshot shapes (AAD-948).
|
|
3
|
+
*
|
|
4
|
+
* Split out of `snapshotPayload.ts` to keep that file under the 250-line limit. These
|
|
5
|
+
* are the halves of the source and column unions that describe an UPLOADED file; the
|
|
6
|
+
* table halves and the unions themselves stay next to the rest of the payload types.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* Snapshot payload shapes (AAD-939) — the first payload type a sellable resource
|
|
3
3
|
* can have.
|
|
4
4
|
*
|
|
5
|
-
* A snapshot publishes
|
|
6
|
-
*
|
|
5
|
+
* A snapshot publishes an EXPLICIT column selection from one of two sources: a
|
|
6
|
+
* linked dynamic table (AAD-939) or an uploaded CSV/JSON file (AAD-948). Both are
|
|
7
|
+
* the same payload type and produce the same schema, the same JSON and CSV, and the
|
|
8
|
+
* same access-layer behaviour — a buyer cannot tell them apart except by reading the
|
|
9
|
+
* provenance on the version.
|
|
7
10
|
*
|
|
8
11
|
* Two things about this file are load-bearing:
|
|
9
12
|
*
|
|
@@ -13,14 +16,23 @@
|
|
|
13
16
|
* to `ready` or `failed`, so nothing here is servable the moment
|
|
14
17
|
* `createResourceVersion` returns.
|
|
15
18
|
*/
|
|
19
|
+
import type { SnapshotFileColumnSelection, SnapshotFileSchemaSource, SnapshotFileSourceSelection } from './snapshotFileSource';
|
|
16
20
|
/** A column type a dataset may publish. */
|
|
17
21
|
export type SnapshotFieldType = 'boolean' | 'integer' | 'float' | 'text' | 'text-field' | 'link' | 'email' | 'dropdown' | 'sbscode' | 'date';
|
|
18
|
-
/**
|
|
19
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Which table a snapshot reads from. Must belong to the publisher's own license.
|
|
24
|
+
*
|
|
25
|
+
* `type` is optional and ABSENT MEANS `'table'`. The discriminator was added inside
|
|
26
|
+
* the existing object rather than replacing it, so every config written against
|
|
27
|
+
* AAD-939 keeps working untouched — read it as `source.type ?? 'table'`.
|
|
28
|
+
*/
|
|
29
|
+
export interface SnapshotTableSourceSelection {
|
|
30
|
+
type?: 'table';
|
|
20
31
|
table_id: string;
|
|
21
32
|
}
|
|
22
|
-
|
|
23
|
-
|
|
33
|
+
export type SnapshotSourceSelection = SnapshotTableSourceSelection | SnapshotFileSourceSelection;
|
|
34
|
+
/** One published column from a linked TABLE. */
|
|
35
|
+
export interface SnapshotTableColumnSelection {
|
|
24
36
|
/** The logical `columns.id`. Selection is by ID, never by name. */
|
|
25
37
|
column_id: string;
|
|
26
38
|
/**
|
|
@@ -32,6 +44,7 @@ export interface SnapshotColumnSelection {
|
|
|
32
44
|
*/
|
|
33
45
|
key?: string | null;
|
|
34
46
|
}
|
|
47
|
+
export type SnapshotColumnSelection = SnapshotTableColumnSelection | SnapshotFileColumnSelection;
|
|
35
48
|
/**
|
|
36
49
|
* A row filter.
|
|
37
50
|
*
|
|
@@ -103,16 +116,23 @@ export interface SnapshotPayloadSchema {
|
|
|
103
116
|
/**
|
|
104
117
|
* 1 = nullability derived from the column flag (never shipped).
|
|
105
118
|
* 2 = nullability observed from the artifact, with `null_count`.
|
|
119
|
+
*
|
|
120
|
+
* NOT bumped by AAD-948: the per-field shape is identical for both sources, which
|
|
121
|
+
* is exactly why the schema diff needed no change. Only `source` varies.
|
|
106
122
|
*/
|
|
107
123
|
schema_version: number;
|
|
108
124
|
fields: SnapshotFieldSchema[];
|
|
109
125
|
row_count: number;
|
|
110
126
|
byte_size: number;
|
|
111
127
|
materialised_at: string;
|
|
112
|
-
source:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
128
|
+
source: SnapshotSchemaSource;
|
|
129
|
+
}
|
|
130
|
+
/** Where a materialised version's rows came from. Discriminated on `type`, absent meaning a table. */
|
|
131
|
+
export type SnapshotSchemaSource = SnapshotTableSchemaSource | SnapshotFileSchemaSource;
|
|
132
|
+
export interface SnapshotTableSchemaSource {
|
|
133
|
+
type?: 'table';
|
|
134
|
+
table_id: string;
|
|
135
|
+
table_name: string | null;
|
|
116
136
|
}
|
|
117
137
|
/**
|
|
118
138
|
* A dry run of a selection, before creating a version from it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshotPayload.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/snapshotPayload.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"snapshotPayload.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/snapshotPayload.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,sBAAsB,CAAA;AAE7B,2CAA2C;AAC3C,MAAM,MAAM,iBAAiB,GACvB,SAAS,GACT,SAAS,GACT,OAAO,GACP,MAAM,GACN,YAAY,GACZ,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,MAAM,CAAA;AAEZ;;;;;;GAMG;AACH,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,uBAAuB,GAAG,4BAA4B,GAAG,2BAA2B,CAAA;AAEhG,gDAAgD;AAChD,MAAM,WAAW,4BAA4B;IAC3C,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAA;IACjB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,4BAA4B,GAAG,2BAA2B,CAAA;AAEhG;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAA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AC7B;AAED,sGAAsG;AACtG,MAAM,MAAM,oBAAoB,GAAG,yBAAyB,GAAG,wBAAwB,CAAA;AAEvF,MAAM,WAAW,yBAAyB;IACxC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,2EAA2E;IAC3E,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO,CAAA;QACb,KAAK,EAAE,OAAO,CAAA;KACf,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;QAChB,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;IACD,gFAAgF;IAChF,MAAM,EAAE,mBAAmB,EAAE,CAAA;IAC7B,qEAAqE;IACrE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IACtC,8GAA8G;IAC9G,SAAS,EAAE,OAAO,CAAA;IAClB,uDAAuD;IACvD,qBAAqB,EAAE,OAAO,CAAA;CAC/B"}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* Snapshot payload shapes (AAD-939) — the first payload type a sellable resource
|
|
3
3
|
* can have.
|
|
4
4
|
*
|
|
5
|
-
* A snapshot publishes
|
|
6
|
-
*
|
|
5
|
+
* A snapshot publishes an EXPLICIT column selection from one of two sources: a
|
|
6
|
+
* linked dynamic table (AAD-939) or an uploaded CSV/JSON file (AAD-948). Both are
|
|
7
|
+
* the same payload type and produce the same schema, the same JSON and CSV, and the
|
|
8
|
+
* same access-layer behaviour — a buyer cannot tell them apart except by reading the
|
|
9
|
+
* provenance on the version.
|
|
7
10
|
*
|
|
8
11
|
* Two things about this file are load-bearing:
|
|
9
12
|
*
|
|
@@ -23,7 +23,17 @@
|
|
|
23
23
|
* | `snapshot_limits_misconfigured` | `config_key`, `env_var`, `resolved` | the DEPLOYMENT's size ceiling is unset or zero |
|
|
24
24
|
* | `internal_error` | — | a backend fault; the publisher cannot act on it |
|
|
25
25
|
*/
|
|
26
|
-
export type SnapshotErrorCode = 'row_limit_exceeded' | 'byte_limit_exceeded' | 'row_filters_unsupported' | 'source_table_missing' | 'unpublishable_column_type' | 'invalid_payload_config' | 'snapshot_limits_misconfigured'
|
|
26
|
+
export type SnapshotErrorCode = 'row_limit_exceeded' | 'byte_limit_exceeded' | 'row_filters_unsupported' | 'source_table_missing' | 'unpublishable_column_type' | 'invalid_payload_config' | 'snapshot_limits_misconfigured'
|
|
27
|
+
/** AAD-948. The uploaded file could not be read — truncated, or not the format it claims. */
|
|
28
|
+
| 'malformed_upload'
|
|
29
|
+
/** AAD-948. A row's field count disagrees with the header's. Context: row_number, expected_columns, actual_columns. */
|
|
30
|
+
| 'row_shape_mismatch'
|
|
31
|
+
/** AAD-948. A value is not the type the publisher declared. Context: column_key, row_number, expected_type, value_excerpt. */
|
|
32
|
+
| 'value_type_mismatch'
|
|
33
|
+
/** AAD-948. The uploaded bytes backing this version are gone. The fix is to re-upload. */
|
|
34
|
+
| 'upload_source_missing'
|
|
35
|
+
/** AAD-948. The stored upload names a format this deployment can no longer read. */
|
|
36
|
+
| 'unsupported_upload_format' | 'internal_error';
|
|
27
37
|
/**
|
|
28
38
|
* The numbers behind a failure, so a client can build its own sentence.
|
|
29
39
|
*
|
|
@@ -33,6 +43,14 @@ export type SnapshotErrorCode = 'row_limit_exceeded' | 'byte_limit_exceeded' | '
|
|
|
33
43
|
*/
|
|
34
44
|
export interface SnapshotErrorContext {
|
|
35
45
|
actual_rows?: number;
|
|
46
|
+
/** AAD-948. 1-based position in the UPLOADED FILE, so the publisher can go and open it. */
|
|
47
|
+
row_number?: number;
|
|
48
|
+
expected_columns?: number;
|
|
49
|
+
actual_columns?: number;
|
|
50
|
+
column_key?: string;
|
|
51
|
+
expected_type?: string;
|
|
52
|
+
/** Truncated to 32 characters — enough to recognise the cell, not a copy of it. */
|
|
53
|
+
value_excerpt?: string;
|
|
36
54
|
max_rows?: number;
|
|
37
55
|
max_bytes?: number;
|
|
38
56
|
column_name?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshotSources.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/snapshotSources.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,iBAAiB,GACvB,oBAAoB,GACpB,qBAAqB,GACrB,yBAAyB,GACzB,sBAAsB,GACtB,2BAA2B,GAC3B,wBAAwB,GACxB,+BAA+B,
|
|
1
|
+
{"version":3,"file":"snapshotSources.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/snapshotSources.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,iBAAiB,GACvB,oBAAoB,GACpB,qBAAqB,GACrB,yBAAyB,GACzB,sBAAsB,GACtB,2BAA2B,GAC3B,wBAAwB,GACxB,+BAA+B;AACjC,6FAA6F;GAC3F,kBAAkB;AACpB,uHAAuH;GACrH,oBAAoB;AACtB,8HAA8H;GAC5H,qBAAqB;AACvB,0FAA0F;GACxF,uBAAuB;AACzB,oFAAoF;GAClF,2BAA2B,GAC3B,gBAAgB,CAAA;AAEtB;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2FAA2F;IAC3F,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,mFAAmF;IACnF,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4GAA4G;IAC5G,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sFAAsF;IACtF,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED,oCAAoC;AACpC,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;IACvC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAA;IACjB,uFAAuF;IACvF,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,yCAAyC;AACzC,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,GAAG,wBAAwB,CAAA;AAE1F;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,mBAAmB,CAAA;IAC1B;;;;;;;OAOG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,YAAY,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,wBAAwB,EAAE,MAAM,CAAA;IAChC;;;;;OAKG;IACH,cAAc,EAAE,OAAO,CAAA;IACvB;;;;;;;;OAQG;IACH,kBAAkB,EAAE,+BAA+B,GAAG,IAAI,CAAA;CAC3D"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Staging a dataset FILE for a snapshot version (AAD-948).
|
|
3
|
+
*
|
|
4
|
+
* The file-source counterpart of `snapshotSources.ts`, and it answers the same
|
|
5
|
+
* question that one does — what can I publish, and is it within the limits? — for a
|
|
6
|
+
* source the platform has never seen before.
|
|
7
|
+
*
|
|
8
|
+
* Two things about this step are load-bearing:
|
|
9
|
+
*
|
|
10
|
+
* 1. **It is synchronous, and materialisation still is not.** The upload call returns
|
|
11
|
+
* the analysis immediately because the publisher is waiting on it to make their
|
|
12
|
+
* next decision. Creating a version from it is still queued, and `payload_state`
|
|
13
|
+
* still has to be polled. Do not treat a 201 here as publication.
|
|
14
|
+
* 2. **A file that cannot be READ never becomes a version.** It is analysed before
|
|
15
|
+
* anything is stored, so a malformed file is a 422 on `errors.file` with nothing
|
|
16
|
+
* created. That is a different event from a version whose build failed, and the
|
|
17
|
+
* two must not share copy — one is fixed by picking another file, the other by
|
|
18
|
+
* correcting a declaration and retrying.
|
|
19
|
+
*/
|
|
20
|
+
/** A dataset file format the store can read. `.jsonl` is accepted and reported as `ndjson`. */
|
|
21
|
+
export type SnapshotUploadFormat = 'csv' | 'json' | 'ndjson';
|
|
22
|
+
/**
|
|
23
|
+
* What the server made of one column of the uploaded file.
|
|
24
|
+
*
|
|
25
|
+
* `proposed_type` is a PROPOSAL, not a schema. The publisher confirms or overrides it
|
|
26
|
+
* per column and their answer is what the version stores — which is what keeps "the
|
|
27
|
+
* schema is declared, not inferred" true for a file source.
|
|
28
|
+
*
|
|
29
|
+
* Every ambiguity resolves to `text` on purpose. A column proposed as text that could
|
|
30
|
+
* have been an integer costs one click; a column proposed as an INTEGER that should
|
|
31
|
+
* have been text turns `01223` into `1223` and silently corrupts a postcode in a
|
|
32
|
+
* dataset somebody paid for.
|
|
33
|
+
*/
|
|
34
|
+
export interface SnapshotUploadColumnProposal {
|
|
35
|
+
/** The header exactly as it appears in the file. */
|
|
36
|
+
source_key: string;
|
|
37
|
+
/** A suggested buyer-facing key, derived from the header. The publisher may change it. */
|
|
38
|
+
key: string;
|
|
39
|
+
label: string;
|
|
40
|
+
proposed_type: string;
|
|
41
|
+
/** How many rows were empty here — so the publisher can see WHY a column fell back to text. */
|
|
42
|
+
null_count: number;
|
|
43
|
+
/** Advisory. The authoritative nullability is measured from the finished artifact. */
|
|
44
|
+
nullable: boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A staged file, and everything measured about it.
|
|
48
|
+
*
|
|
49
|
+
* Everything here is measured SERVER-SIDE and none of it is accepted from the client.
|
|
50
|
+
*/
|
|
51
|
+
export interface SnapshotUpload {
|
|
52
|
+
id: string;
|
|
53
|
+
resource_id: string;
|
|
54
|
+
original_filename: string;
|
|
55
|
+
format: SnapshotUploadFormat;
|
|
56
|
+
byte_size: number;
|
|
57
|
+
/**
|
|
58
|
+
* The digest of exactly what was uploaded.
|
|
59
|
+
*
|
|
60
|
+
* A file source has no origin anyone can check, so this is the one fact about it
|
|
61
|
+
* that cannot be disputed later. It is also how a publisher who uploaded the wrong
|
|
62
|
+
* export twice tells the two apart when nothing else on the row differs.
|
|
63
|
+
*/
|
|
64
|
+
sha256: string;
|
|
65
|
+
row_count: number;
|
|
66
|
+
column_count: number;
|
|
67
|
+
columns: SnapshotUploadColumnProposal[];
|
|
68
|
+
/**
|
|
69
|
+
* Show this BEFORE letting the publisher continue.
|
|
70
|
+
*
|
|
71
|
+
* Above a ceiling the backend refuses the version rather than truncating it, so a
|
|
72
|
+
* publisher who is not warned here hits a wall at the last step of a flow they have
|
|
73
|
+
* already invested in.
|
|
74
|
+
*/
|
|
75
|
+
exceeds_limits: {
|
|
76
|
+
rows: boolean;
|
|
77
|
+
bytes: boolean;
|
|
78
|
+
};
|
|
79
|
+
limits: {
|
|
80
|
+
max_rows: number;
|
|
81
|
+
max_bytes: number;
|
|
82
|
+
max_upload_bytes: number;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* When an unused upload is swept.
|
|
86
|
+
*
|
|
87
|
+
* An upload nobody turns into a version is pruned, so a publisher who leaves the tab
|
|
88
|
+
* open over a weekend should be told why their file is gone rather than discovering
|
|
89
|
+
* it.
|
|
90
|
+
*/
|
|
91
|
+
expires_at: string | null;
|
|
92
|
+
created_at: string | null;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* The multipart body for staging a file.
|
|
96
|
+
*
|
|
97
|
+
* Send it through `maybeFormData`, which the SDK already does — it detects the Blob
|
|
98
|
+
* and switches to FormData, and deliberately does not set Content-Type so axios picks
|
|
99
|
+
* the boundary.
|
|
100
|
+
*
|
|
101
|
+
* ⚠️ Check the file's size against `StoreCapabilities.resources_snapshot_max_upload_bytes`
|
|
102
|
+
* first. That is the EFFECTIVE ceiling — the configured one capped by what PHP will
|
|
103
|
+
* accept — and going over it produces a bare 413 that names nothing. A null there
|
|
104
|
+
* means the deployment cannot currently accept uploads at all.
|
|
105
|
+
*/
|
|
106
|
+
export interface UploadSnapshotFileData {
|
|
107
|
+
file: File;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=snapshotUploads.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshotUploads.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/snapshotUploads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,+FAA+F;AAC/F,MAAM,MAAM,oBAAoB,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAA;AAE5D;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,4BAA4B;IAC3C,oDAAoD;IACpD,UAAU,EAAE,MAAM,CAAA;IAClB,0FAA0F;IAC1F,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,MAAM,CAAA;IACrB,+FAA+F;IAC/F,UAAU,EAAE,MAAM,CAAA;IAClB,sFAAsF;IACtF,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,oBAAoB,CAAA;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,4BAA4B,EAAE,CAAA;IACvC;;;;;;OAMG;IACH,cAAc,EAAE;QACd,IAAI,EAAE,OAAO,CAAA;QACb,KAAK,EAAE,OAAO,CAAA;KACf,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;QAChB,SAAS,EAAE,MAAM,CAAA;QACjB,gBAAgB,EAAE,MAAM,CAAA;KACzB,CAAA;IACD;;;;;;OAMG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,IAAI,CAAA;CACX"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Staging a dataset FILE for a snapshot version (AAD-948).
|
|
3
|
+
*
|
|
4
|
+
* The file-source counterpart of `snapshotSources.ts`, and it answers the same
|
|
5
|
+
* question that one does — what can I publish, and is it within the limits? — for a
|
|
6
|
+
* source the platform has never seen before.
|
|
7
|
+
*
|
|
8
|
+
* Two things about this step are load-bearing:
|
|
9
|
+
*
|
|
10
|
+
* 1. **It is synchronous, and materialisation still is not.** The upload call returns
|
|
11
|
+
* the analysis immediately because the publisher is waiting on it to make their
|
|
12
|
+
* next decision. Creating a version from it is still queued, and `payload_state`
|
|
13
|
+
* still has to be polled. Do not treat a 201 here as publication.
|
|
14
|
+
* 2. **A file that cannot be READ never becomes a version.** It is analysed before
|
|
15
|
+
* anything is stored, so a malformed file is a 422 on `errors.file` with nothing
|
|
16
|
+
* created. That is a different event from a version whose build failed, and the
|
|
17
|
+
* two must not share copy — one is fixed by picking another file, the other by
|
|
18
|
+
* correcting a declaration and retrying.
|
|
19
|
+
*/
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { ResourceCategory } from './sellableResources';
|
|
2
|
+
/**
|
|
3
|
+
* A top-level kind in Discover: `apps`, and — only when the resource feature
|
|
4
|
+
* flag is on — `services` (AAD-935 item 1).
|
|
5
|
+
*
|
|
6
|
+
* With the flag off the taxonomy carries exactly one kind, which renders as the
|
|
7
|
+
* flat category rail the store has always had. A client must therefore never
|
|
8
|
+
* assume `services` is present.
|
|
9
|
+
*/
|
|
10
|
+
export type StoreKindSlug = 'apps' | 'services';
|
|
11
|
+
/**
|
|
12
|
+
* Which listing endpoint a kind is browsed through.
|
|
13
|
+
*
|
|
14
|
+
* Served rather than inferred from the slug: Discover is still a client-side
|
|
15
|
+
* merge of `/store/apps` and `/store/resources`, and hardcoding the mapping is
|
|
16
|
+
* what breaks the day a third kind appears.
|
|
17
|
+
*/
|
|
18
|
+
export type StoreKindSource = 'apps' | 'resources';
|
|
19
|
+
/**
|
|
20
|
+
* One entry beneath a kind.
|
|
21
|
+
*
|
|
22
|
+
* **The shape is identical across kinds**, which is the point of
|
|
23
|
+
* `StoreKind.filter_param`: send `?{filter_param}={slug}` without branching on
|
|
24
|
+
* which kind you are in.
|
|
25
|
+
*
|
|
26
|
+
* `slug` has different provenance per kind — the `app_categories` UUID for apps,
|
|
27
|
+
* the `ResourceCategory` enum value for services — but the same position in the
|
|
28
|
+
* request. Do not parse it; pass it through.
|
|
29
|
+
*/
|
|
30
|
+
export interface StoreSubcategory {
|
|
31
|
+
/** Pass verbatim as the kind's `filter_param`. A UUID for apps, a `ResourceCategory` for services. */
|
|
32
|
+
slug: string | ResourceCategory;
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Apps visible to the requesting license in this category, mirroring the
|
|
36
|
+
* badge on `/store/app-categories`. `null` on a service subcategory, which
|
|
37
|
+
* has no row to count.
|
|
38
|
+
*/
|
|
39
|
+
app_count: number | null;
|
|
40
|
+
/**
|
|
41
|
+
* Whether a publisher may pick this category on their own listing.
|
|
42
|
+
*
|
|
43
|
+
* `false` for curated buckets like "System" (AAD-935 item 2): browsable by
|
|
44
|
+
* buyers, never offered in the listing editor. `null` on a service
|
|
45
|
+
* subcategory, which is not assignable at all — resources carry their
|
|
46
|
+
* category as a column, not a pivot.
|
|
47
|
+
*/
|
|
48
|
+
is_assignable: boolean | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A top-level kind and everything beneath it.
|
|
52
|
+
*/
|
|
53
|
+
export interface StoreKind {
|
|
54
|
+
slug: StoreKindSlug;
|
|
55
|
+
/** Display label. "Apps" / "Services". */
|
|
56
|
+
name: string;
|
|
57
|
+
source: StoreKindSource;
|
|
58
|
+
/**
|
|
59
|
+
* The query parameter this kind's `source` endpoint filters on:
|
|
60
|
+
* `category_id` for apps (an array param — `category_id[]=`), `category` for
|
|
61
|
+
* services (a scalar).
|
|
62
|
+
*/
|
|
63
|
+
filter_param: 'category_id' | 'category';
|
|
64
|
+
subcategories: StoreSubcategory[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The Discover navigation tree, from `GET /store/taxonomy`.
|
|
68
|
+
*
|
|
69
|
+
* Navigation only — it does not change either listing endpoint. Both remain
|
|
70
|
+
* unpaginated `{ data: [...] }`, and the client still stamps `kind` itself when
|
|
71
|
+
* it merges the two into one grid.
|
|
72
|
+
*/
|
|
73
|
+
export interface StoreTaxonomy {
|
|
74
|
+
kinds: StoreKind[];
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=taxonomy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taxonomy.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/taxonomy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAE3D;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,UAAU,CAAA;AAE/C;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,WAAW,CAAA;AAElD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gBAAgB;IAC/B,sGAAsG;IACtG,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAAA;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;;;;;;OAOG;IACH,aAAa,EAAE,OAAO,GAAG,IAAI,CAAA;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,aAAa,CAAA;IACnB,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,eAAe,CAAA;IACvB;;;;OAIG;IACH,YAAY,EAAE,aAAa,GAAG,UAAU,CAAA;IACxC,aAAa,EAAE,gBAAgB,EAAE,CAAA;CAClC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,SAAS,EAAE,CAAA;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -12,12 +12,16 @@ export * from './types/channels';
|
|
|
12
12
|
export * from './types/pricingTiers';
|
|
13
13
|
export * from './types/publisherStats';
|
|
14
14
|
export * from './types/releaseChannels';
|
|
15
|
+
export * from './types/resourceAssignments';
|
|
15
16
|
export * from './types/resourceEntitlements';
|
|
16
17
|
export * from './types/resourceReleases';
|
|
17
18
|
export * from './types/resourceRequests';
|
|
18
19
|
export * from './types/seats';
|
|
19
20
|
export * from './types/sellableResources';
|
|
21
|
+
export * from './types/snapshotFileSource';
|
|
20
22
|
export * from './types/snapshotPayload';
|
|
21
23
|
export * from './types/snapshotSources';
|
|
24
|
+
export * from './types/snapshotUploads';
|
|
22
25
|
export * from './types/subscriptions';
|
|
26
|
+
export * from './types/taxonomy';
|
|
23
27
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/AppService/types.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAA;AACtC,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/AppService/types.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAA;AACtC,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA"}
|
|
@@ -15,11 +15,15 @@ export * from './types/channels';
|
|
|
15
15
|
export * from './types/pricingTiers';
|
|
16
16
|
export * from './types/publisherStats';
|
|
17
17
|
export * from './types/releaseChannels';
|
|
18
|
+
export * from './types/resourceAssignments';
|
|
18
19
|
export * from './types/resourceEntitlements';
|
|
19
20
|
export * from './types/resourceReleases';
|
|
20
21
|
export * from './types/resourceRequests';
|
|
21
22
|
export * from './types/seats';
|
|
22
23
|
export * from './types/sellableResources';
|
|
24
|
+
export * from './types/snapshotFileSource';
|
|
23
25
|
export * from './types/snapshotPayload';
|
|
24
26
|
export * from './types/snapshotSources';
|
|
27
|
+
export * from './types/snapshotUploads';
|
|
25
28
|
export * from './types/subscriptions';
|
|
29
|
+
export * from './types/taxonomy';
|