@sequenceholdings/orm 2.8.2 → 2.8.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/README.md +5 -0
- package/dist/authoring.cjs +31 -8
- package/dist/authoring.cjs.map +1 -1
- package/dist/authoring.d.cts +8 -2
- package/dist/authoring.d.ts +8 -2
- package/dist/authoring.js +31 -8
- package/dist/authoring.js.map +1 -1
- package/dist/canonical.cjs +1 -1
- package/dist/canonical.cjs.map +1 -1
- package/dist/canonical.d.cts +1 -1
- package/dist/canonical.d.ts +1 -1
- package/dist/canonical.js +1 -1
- package/dist/canonical.js.map +1 -1
- package/dist/cli.cjs +27 -24
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +31 -28
- package/dist/cli.js.map +1 -1
- package/dist/compiler.cjs +1 -1
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.d.cts +4 -4
- package/dist/compiler.d.ts +4 -4
- package/dist/compiler.js +1 -1
- package/dist/compiler.js.map +1 -1
- package/dist/index.cjs +31 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -9
- package/dist/index.d.ts +7 -9
- package/dist/index.js +31 -8
- package/dist/index.js.map +1 -1
- package/dist/ir.cjs +1 -1
- package/dist/ir.cjs.map +1 -1
- package/dist/ir.d.cts +2 -2
- package/dist/ir.d.ts +2 -2
- package/dist/ir.js +1 -1
- package/dist/ir.js.map +1 -1
- package/dist/{naming-CU9ThP_E.d.cts → naming-BMZKFO0W.d.cts} +1 -2
- package/dist/{naming-CPfx7EfF.d.ts → naming-DUk7AcXs.d.ts} +1 -2
- package/dist/predicate-v2.cjs +1 -1
- package/dist/predicate-v2.cjs.map +1 -1
- package/dist/predicate-v2.d.cts +3 -3
- package/dist/predicate-v2.d.ts +3 -3
- package/dist/predicate-v2.js +1 -1
- package/dist/predicate-v2.js.map +1 -1
- package/dist/sdl.cjs +1 -1
- package/dist/sdl.cjs.map +1 -1
- package/dist/sdl.d.cts +2 -2
- package/dist/sdl.d.ts +2 -2
- package/dist/sdl.js +1 -1
- package/dist/sdl.js.map +1 -1
- package/package.json +1 -1
- package/src/codegen-gql/apollo-hooks.cjs +1 -1
- package/src/codegen-gql/server-fns.cjs +1 -1
- package/templates/orm-namespace/graphql/example/queries.ts +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* graphql-codegen plugin — Apollo hook factories for v2 ORM operations.
|
|
5
5
|
*
|
|
6
|
-
* Output byte-matches the
|
|
6
|
+
* Output byte-matches the reference plugin (`codegen-apollo-hooks.js`):
|
|
7
7
|
* `use<Name>Query` / `use<Name>LazyQuery` / `use<Name>SuspenseQuery` /
|
|
8
8
|
* `use<Name>BackgroundQuery` per query, `use<Name>Mutation` per mutation, and
|
|
9
9
|
* `use<Name>Fragment` per fragment definition. Runs after the standard
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* graphql-codegen plugin — `db<Name>` server functions over the v2 ORM
|
|
5
5
|
* persisted-operation client.
|
|
6
6
|
*
|
|
7
|
-
* Output matches the
|
|
7
|
+
* Output matches the reference plugin (`codegen-apollo-server.js`) —
|
|
8
8
|
* `db<Name>(variables)` returning the first root field, plus `db<Name>Full`
|
|
9
9
|
* for queries — with one transport change: `fetchHasuraGraphQL_INTERNAL`
|
|
10
10
|
* is replaced by `executeOperation` from '@sequenceholdings/orm/client'.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Handwritten GraphQL operations. `seq-studio orm apply` compiles every
|
|
3
3
|
* exported document at push time; the wire carries only `{ op, variables }`
|
|
4
|
-
* (`op` is the operation's
|
|
4
|
+
* (`op` is the operation's name) — never query text, never SQL.
|
|
5
5
|
* Type names come from the generated `schema.graphql` (`seq-studio orm generate`).
|
|
6
6
|
*
|
|
7
7
|
* Gate an operation with `@requires(capability: "…")` — checked before
|