Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbaker committed Aug 28, 2024
1 parent e856c8f commit 8a602de
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/source-2.0/tutorials/full-stack-tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ for our service by using the following build configuration:
},
"plugins": {
"typescript-ssdk-codegen": {
"package" : "@com.example/coffee-service-server",
"package" : "@com.example/coffee-shop-server",
"packageVersion": "0.0.1"
}
}
Expand Down Expand Up @@ -629,12 +629,12 @@ To run the code-generation for the client, we will add another plugin to the ``s
// ...
"plugins": {
"typescript-ssdk-codegen": {
"package" : "@com.example/coffee-service-server",
"package" : "@com.example/coffee-shop-server",
"packageVersion": "0.0.1"
},
// add the client codegen plugin
"typescript-client-codegen": {
"package": "@com.example/coffee-service-client",
"package": "@com.example/coffee-shop-client",
"packageVersion": "0.0.1"
}
}
Expand Down Expand Up @@ -683,7 +683,7 @@ following:
.. code-block:: TypeScript
:caption: ``repl``
import { CoffeeShop } from '@com.example/coffee-service-client'
import { CoffeeShop } from '@com.example/coffee-shop-client'
const client = new CoffeeShop({ endpoint: { protocol: 'http', hostname: 'localhost', port: 3001, path: '/' } })
Expand All @@ -695,7 +695,7 @@ Let's try submitting an order:
.. code-block:: TypeScript
:caption: ``repl``
import { CoffeeType } from '@com.example/coffee-service-client'
import { CoffeeType } from '@com.example/coffee-shop-client'
await client.createOrder({ coffeeType: "DRIP" })
Expand Down Expand Up @@ -749,7 +749,7 @@ client. First, we create the client, and then we create helper methods to use th
.. code-block:: TypeScript
:caption: ``app/index.ts``
import { CoffeeItem, CoffeeShop, CoffeeType, OrderStatus } from "@com.example/coffee-service-client";
import { CoffeeItem, CoffeeShop, CoffeeType, OrderStatus } from "@com.example/coffee-shop-client";
...
// create a coffee service client singleton and getter
Expand Down Expand Up @@ -785,7 +785,7 @@ We use these helper methods in our application to make requests to the server:
...
import MenuItem from "@/components/MenuItem";
import { CoffeeItem } from "@com.example/coffee-service-client";
import { CoffeeItem } from "@com.example/coffee-shop-client";
const Menu = async () => {
let menuItems: CoffeeItem[] = await getMenuItems();
Expand Down

0 comments on commit 8a602de

Please sign in to comment.