@ember-lattice/data-graphql 0.0.0-stage → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,25 @@
1
+ # @ember-lattice/data-graphql
2
+
3
+ ## 1.1.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f931851]
8
+ - @ember-lattice/data@1.1.0
9
+ - @ember-lattice/protocol@1.1.0
10
+
11
+ ## 1.0.0
12
+
13
+ ### Major Changes
14
+
15
+ - 7ce4af2: Lattice 1.0: one grid for every collection in Ember. Lists, feeds, tables, boards and
16
+ spreadsheets come from one headless engine, a port of TanStack Table. It has 80 of the 81
17
+ AG Grid features in the parity matrix; the external filter runs after grouping. The release has the client row models, the Lattice wire protocol with servers for Node,
18
+ Rails and Python, an IronCalc spreadsheet with live collaboration, themes, test harnesses, Jig
19
+ stories and Marquetry catalog entries.
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [7ce4af2]
24
+ - @ember-lattice/data@1.0.0
25
+ - @ember-lattice/protocol@1.0.0
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Joe Gaudet
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/NOTICE ADDED
@@ -0,0 +1,30 @@
1
+ Lattice
2
+ Copyright (c) 2026 Joe Gaudet. MIT licensed; see LICENSE.md.
3
+
4
+ Lattice ports code from two MIT-licensed TanStack projects into Ember-native code. Lattice does
5
+ not depend on either package. PORT_MAP.md names each ported file and its source.
6
+
7
+ TanStack Table (@tanstack/table-core 9.3.1)
8
+ https://github.com/TanStack/table
9
+ Copyright (c) 2016 Tanner Linsley
10
+
11
+ TanStack Virtual (@tanstack/virtual-core 3.19.16)
12
+ https://github.com/TanStack/virtual
13
+ Copyright (c) 2021-present Tanner Linsley
14
+
15
+ Both are licensed under the MIT License:
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
18
+ and associated documentation files (the "Software"), to deal in the Software without
19
+ restriction, including without limitation the rights to use, copy, modify, merge, publish,
20
+ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
21
+ Software is furnished to do so, subject to the following conditions:
22
+
23
+ The above copyright notice and this permission notice shall be included in all copies or
24
+ substantial portions of the Software.
25
+
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
27
+ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
28
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
29
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,45 @@
1
- # Temporary Holding Version
1
+ # @ember-lattice/data-graphql
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ A Lattice `DataSource` over GraphQL
4
+ [Relay connections](https://relay.dev/graphql/connections.htm), for infinite lists. Use it with
5
+ the cursor row model.
6
+
7
+ Part of [Lattice](https://joegaudet.com/ember-lattice/). Not released yet.
8
+
9
+ ## Use
10
+
11
+ ```ts
12
+ import { relayDataSource } from '@ember-lattice/data-graphql'
13
+
14
+ const source = relayDataSource({
15
+ url: '/graphql',
16
+ query: `query People($first: Int, $after: String, $last: Int, $before: String, $order: String) {
17
+ people(first: $first, after: $after, last: $last, before: $before, order: $order) {
18
+ edges { cursor node { id name } }
19
+ pageInfo { hasNextPage hasPreviousPage startCursor endCursor }
20
+ totalCount
21
+ }
22
+ }`,
23
+ variables: request => ({ order: request.sort[0]?.column }),
24
+ select: data => data.people,
25
+ getRowId: node => node.id,
26
+ capabilities: { sort: true },
27
+ })
28
+ ```
29
+
30
+ - The adapter POSTs `{ query, variables }` as JSON.
31
+ - A range with `after` (or no cursor) sends `first` and `after`. A range with `before` sends
32
+ `last` and `before`. The adapter rejects an offset range.
33
+ - The rows are the `node` of each edge.
34
+ - `pageInfo.hasNextPage` gives the next cursor (`endCursor`). `pageInfo.hasPreviousPage` gives
35
+ the previous cursor (`startCursor`).
36
+ - `totalCount`, when the server sends it, is the count.
37
+ - GraphQL has no standard for sort and filter. Map them in `variables`, and set `sort` or
38
+ `filter` in `capabilities`.
39
+ - An HTTP error, GraphQL `errors` or a missing connection rejects with `RelayDataSourceError`.
40
+ The row model marks the block failed.
41
+
42
+ ## Capabilities
43
+
44
+ Default: cursor paging only. Sort, filter, group, aggregate, pivot, count, transactions and push
45
+ are all `false`.
@@ -0,0 +1,38 @@
1
+ import type { DataSource, DataSourceCapabilities } from '@ember-lattice/data';
2
+ import type { RowsRequest } from '@ember-lattice/protocol';
3
+ /** A Relay connection. `totalCount` is not in the spec, but many servers give it. */
4
+ export interface Connection<Node> {
5
+ edges: ({
6
+ cursor: string;
7
+ node: Node;
8
+ } | null)[];
9
+ pageInfo: {
10
+ hasNextPage: boolean;
11
+ hasPreviousPage: boolean;
12
+ startCursor?: string | null;
13
+ endCursor?: string | null;
14
+ };
15
+ totalCount?: number | null;
16
+ }
17
+ export interface RelayDataSourceOptions<Node, Data> {
18
+ /** The GraphQL endpoint. The adapter POSTs `{ query, variables }` as JSON. */
19
+ url: string;
20
+ /** The query. It must take `$first`, `$after`, `$last` and `$before`. */
21
+ query: string;
22
+ /** The variables for sort, filter and search. The adapter adds the paging variables. */
23
+ variables?(request: RowsRequest): Record<string, unknown>;
24
+ /** Find the connection in the `data` of the response. */
25
+ select(data: Data): Connection<Node> | null | undefined;
26
+ getRowId(node: Node): string;
27
+ headers?: HeadersInit;
28
+ /** What the server does. Default: cursor paging only. Set `sort` or `filter` when `variables` maps them. */
29
+ capabilities?: Partial<DataSourceCapabilities>;
30
+ /** Default: the global `fetch`. */
31
+ fetch?: typeof fetch;
32
+ }
33
+ /** An HTTP error, GraphQL `errors`, or a response with no connection. The block fails. */
34
+ export declare class RelayDataSourceError extends Error {
35
+ readonly body: unknown;
36
+ constructor(message: string, body: unknown);
37
+ }
38
+ export declare function relayDataSource<Node, Data = unknown>(options: RelayDataSourceOptions<Node, Data>): DataSource<Node>;
package/dist/index.js ADDED
@@ -0,0 +1,73 @@
1
+ import is from '@sindresorhus/is';
2
+
3
+ // src/index.ts
4
+ var RelayDataSourceError = class extends Error {
5
+ body;
6
+ constructor(message, body) {
7
+ super(message);
8
+ this.name = "RelayDataSourceError";
9
+ this.body = body;
10
+ }
11
+ };
12
+ function pagingVariables(range) {
13
+ if (!("limit" in range)) {
14
+ throw new RelayDataSourceError("Relay connections page by cursor, not by offset.", range);
15
+ }
16
+ if (range.before !== void 0) return { last: range.limit, before: range.before };
17
+ return range.after === void 0 ? { first: range.limit } : { first: range.limit, after: range.after };
18
+ }
19
+ function relayDataSource(options) {
20
+ return {
21
+ capabilities: {
22
+ sort: false,
23
+ filter: false,
24
+ group: false,
25
+ aggregate: false,
26
+ pivot: false,
27
+ tree: false,
28
+ count: false,
29
+ transactions: false,
30
+ push: false,
31
+ ...options.capabilities
32
+ },
33
+ getRowId: options.getRowId,
34
+ async getRows(request, signal) {
35
+ const variables = { ...options.variables?.(request), ...pagingVariables(request.range) };
36
+ const headers = new Headers(options.headers);
37
+ headers.set("accept", "application/json");
38
+ headers.set("content-type", "application/json");
39
+ const doFetch = options.fetch ?? globalThis.fetch;
40
+ const response = await doFetch(options.url, {
41
+ method: "POST",
42
+ headers,
43
+ signal,
44
+ body: JSON.stringify({ query: options.query, variables })
45
+ });
46
+ const body = await response.json().catch(() => null);
47
+ if (!response.ok) throw new RelayDataSourceError(`HTTP ${response.status}`, body);
48
+ if (!is.plainObject(body)) throw new RelayDataSourceError("The response is not JSON.", body);
49
+ if (is.nonEmptyArray(body["errors"])) {
50
+ throw new RelayDataSourceError("The response has GraphQL errors.", body);
51
+ }
52
+ const connection = is.plainObject(body["data"]) ? options.select(body["data"]) : null;
53
+ if (!connection || !is.array(connection.edges) || !is.plainObject(connection.pageInfo)) {
54
+ throw new RelayDataSourceError("The connection has no edges or pageInfo.", body);
55
+ }
56
+ const edges = connection.edges.filter(is.truthy);
57
+ const { pageInfo } = connection;
58
+ const out = { rows: edges.map((edge) => edge.node) };
59
+ const next = pageInfo.endCursor ?? edges.at(-1)?.cursor;
60
+ const prev = pageInfo.startCursor ?? edges[0]?.cursor;
61
+ const cursor = {};
62
+ if (pageInfo.hasNextPage && next) cursor.next = next;
63
+ if (pageInfo.hasPreviousPage && prev) cursor.prev = prev;
64
+ if (cursor.next !== void 0 || cursor.prev !== void 0) out.cursor = cursor;
65
+ if (is.number(connection.totalCount)) out.count = connection.totalCount;
66
+ return out;
67
+ }
68
+ };
69
+ }
70
+
71
+ export { RelayDataSourceError, relay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AAAA,GACF;AACF","file":"index.js","sourcesContent":["// A Lattice DataSource over GraphQL Relay connections, for infinite lists (plan 5.5). The\n// connection spec: https://relay.dev/graphql/connections.htm. GraphQL has no standard for sort\n// and filter, so a `variables` function maps them for your schema.\nimport is from '@sindresorhus/is'\nimport type { DataSource, DataSourceCapabilities } from '@ember-lattice/data'\nimport type { RowsRequest, RowsResponse } from '@ember-lattice/protocol'\n\n/** A Relay connection. `totalCount` is not in the spec, but many servers give it. */\nexport interface Connection<Node> {\n edges: ({ cursor: string; node: Node } | null)[]\n pageInfo: {\n hasNextPage: boolean\n hasPreviousPage: boolean\n startCursor?: string | null\n endCursor?: string | null\n }\n totalCount?: number | null\n}\n\nexport interface RelayDataSourceOptions<Node, Data> {\n /** The GraphQL endpoint. The adapter POSTs `{ query, variables }` as JSON. */\n url: string\n /** The query. It must take `$first`, `$after`, `$last` and `$before`. */\n query: string\n /** The variables for sort, filter and search. The adapter adds the paging variables. */\n variables?(request: RowsRequest): Record<string, unknown>\n /** Find the connection in the `data` of the response. */\n select(data: Data): Connection<Node> | null | undefined\n getRowId(node: Node): string\n headers?: HeadersInit\n /** What the server does. Default: cursor paging only. Set `sort` or `filter` when `variables` maps them. */\n capabilities?: Partial<DataSourceCapabilities>\n /** Default: the global `fetch`. */\n fetch?: typeof fetch\n}\n\n/** An HTTP error, GraphQL `errors`, or a response with no connection. The block fails. */\nexport class RelayDataSourceError extends Error {\n readonly body: unknown\n\n constructor(message: string, body: unknown) {\n super(message)\n this.name = 'RelayDataSourceError'\n this.body = body\n }\n}\n\n/** The Relay paging arguments for a cursor range. */\nfunction pagingVariables(range: RowsRequest['range']): Record<string, unknown> {\n if (!('limit' in range)) {\n throw new RelayDataSourceError('Relay connections page by cursor, not by offset.', range)\n }\n if (range.before !== undefined) return { last: range.limit, before: range.before }\n return range.after === undefined\n ? { first: range.limit }\n : { first: range.limit, after: range.after }\n}\n\nexport function relayDataSource<Node, Data = unknown>(\n options: RelayDataSourceOptions<Node, Data>,\n): DataSource<Node> {\n return {\n capabilities: {\n sort: false,\n filter: false,\n group: false,\n aggregate: false,\n pivot: false,\n tree: false,\n count: false,\n transactions: false,\n push: false,\n ...options.capabilities,\n },\n getRowId: options.getRowId,\n async getRows(request: RowsRequest, signal: AbortSignal) {\n const variables = { ...options.variables?.(request), ...pagingVariables(request.range) }\n const headers = new Headers(options.headers)\n headers.set('accept', 'application/json')\n headers.set('content-type', 'application/json')\n const doFetch = options.fetch ?? globalThis.fetch\n const response = await doFetch(options.url, {\n method: 'POST',\n headers,\n signal,\n body: JSON.stringify({ query: options.query, variables }),\n })\n const body: unknown = await response.json().catch(() => null)\n if (!response.ok) throw new RelayDataSourceError(`HTTP ${response.status}`, body)\n // The body is server data: check the shape before the grid reads it.\n if (!is.plainObject(body)) throw new RelayDataSourceError('The response is not JSON.', body)\n if (is.nonEmptyArray(body['errors'])) {\n throw new RelayDataSourceError('The response has GraphQL errors.', body)\n }\n const connection = is.plainObject(body['data']) ? options.select(body['data'] as Data) : null\n if (!connection || !is.array(connection.edges) || !is.plainObject(connection.pageInfo)) {\n throw new RelayDataSourceError('The connection has no edges or pageInfo.', body)\n }\n const edges = connection.edges.filter(is.truthy)\n const { pageInfo } = connection\n const out: RowsResponse<Node> = { rows: edges.map(edge => edge.node) }\n const next = pageInfo.endCursor ?? edges.at(-1)?.cursor\n const prev = pageInfo.startCursor ?? edges[0]?.cursor\n const cursor: RowsResponse['cursor'] = {}\n if (pageInfo.hasNextPage && next) cursor.next = next\n if (pageInfo.hasPreviousPage && prev) cursor.prev = prev\n if (cursor.next !== undefined || cursor.prev !== undefined) out.cursor = cursor\n if (is.number(connection.totalCount)) out.count = connection.totalCount\n return out\n },\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,53 @@
1
1
  {
2
2
  "name": "@ember-lattice/data-graphql",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.1.0",
4
+ "description": "A Lattice DataSource over GraphQL Relay connections, for infinite lists.",
5
+ "keywords": [
6
+ "data-grid",
7
+ "server-side-row-model",
8
+ "protocol"
9
+ ],
10
+ "license": "MIT",
11
+ "author": "Joe Gaudet <joe@joegaudet.com>",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/joegaudet/ember-lattice.git",
15
+ "directory": "packages/data-graphql"
16
+ },
17
+ "homepage": "https://joegaudet.com/ember-lattice/",
18
+ "bugs": "https://github.com/joegaudet/ember-lattice/issues",
19
+ "type": "module",
20
+ "types": "./dist/index.d.ts",
21
+ "files": [
22
+ "dist",
23
+ "CHANGELOG.md",
24
+ "README.md",
25
+ "LICENSE.md",
26
+ "NOTICE"
27
+ ],
28
+ "sideEffects": false,
29
+ "devDependencies": {
30
+ "tsup": "^8.5.1"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "engines": {
36
+ "node": ">=22.12.0"
37
+ },
38
+ "exports": {
39
+ ".": {
40
+ "types": "./dist/index.d.ts",
41
+ "default": "./dist/index.js"
42
+ },
43
+ "./package.json": "./package.json"
44
+ },
45
+ "dependencies": {
46
+ "@ember-lattice/data": "1.1.0",
47
+ "@ember-lattice/protocol": "1.1.0",
48
+ "@sindresorhus/is": "^7.2.0"
49
+ },
50
+ "scripts": {
51
+ "build": "tsc --build --force && tsup"
52
+ }
6
53
  }