Compare commits
18 Commits
@nhost/rea
...
@nhost/rea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0363a4f4c | ||
|
|
17045b2018 | ||
|
|
c49cc11862 | ||
|
|
c83fe7d776 | ||
|
|
235b4c7405 | ||
|
|
c2c0fbd33a | ||
|
|
300e3f49e0 | ||
|
|
a95a77886b | ||
|
|
1f3f683202 | ||
|
|
4c67fd23c4 | ||
|
|
93d8d71e34 | ||
|
|
47bda15ff2 | ||
|
|
4563488b5d | ||
|
|
8fd35f3fea | ||
|
|
9c61c69a7b | ||
|
|
030ad4621e | ||
|
|
ee0b9b8edc | ||
|
|
c6fa8da6df |
@@ -34,7 +34,7 @@ Nhost consists of open source software:
|
|||||||
- Authentication: [Hasura Auth](https://github.com/nhost/hasura-auth/)
|
- Authentication: [Hasura Auth](https://github.com/nhost/hasura-auth/)
|
||||||
- Storage: [Hasura Storage](https://github.com/nhost/hasura-storage)
|
- Storage: [Hasura Storage](https://github.com/nhost/hasura-storage)
|
||||||
- Serverless Functions: Node.js (JavaScript and TypeScript)
|
- Serverless Functions: Node.js (JavaScript and TypeScript)
|
||||||
- [Nhost CLI](https://docs.nhost.io/reference/cli) for local development
|
- [Nhost CLI](https://docs.nhost.io/cli) for local development
|
||||||
|
|
||||||
## Architecture of Nhost
|
## Architecture of Nhost
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@ Nhost is frontend agnostic, which means Nhost works with all frontend frameworks
|
|||||||
|
|
||||||
# Resources
|
# Resources
|
||||||
|
|
||||||
- Start developing locally with the [Nhost CLI](https://docs.nhost.io/reference/cli)
|
- Start developing locally with the [Nhost CLI](https://docs.nhost.io/cli)
|
||||||
|
|
||||||
## Nhost Clients
|
## Nhost Clients
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,28 @@
|
|||||||
# @nhost/dashboard
|
# @nhost/dashboard
|
||||||
|
|
||||||
|
## 0.19.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/react-apollo@5.0.32
|
||||||
|
- @nhost/nextjs@1.13.34
|
||||||
|
|
||||||
|
## 0.19.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- 9c61c69a7: chore(dashboard):add postgres 14.6-20230705-1 to the version selector
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 47bda15ff: feat(settings): add warning to pull config
|
||||||
|
|
||||||
|
## 0.18.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- ee0b9b8ed: chore(dashboard):add hasura v2.28.2 and v2.29.0 to the version selector
|
||||||
|
|
||||||
## 0.17.20
|
## 0.17.20
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/dashboard",
|
"name": "@nhost/dashboard",
|
||||||
"version": "0.17.20",
|
"version": "0.19.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "npx only-allow pnpm",
|
"preinstall": "npx only-allow pnpm",
|
||||||
|
|||||||
@@ -3,7 +3,10 @@ import { ProjectLayout } from '@/components/layout/ProjectLayout';
|
|||||||
import type { SettingsSidebarProps } from '@/components/layout/SettingsSidebar';
|
import type { SettingsSidebarProps } from '@/components/layout/SettingsSidebar';
|
||||||
import { SettingsSidebar } from '@/components/layout/SettingsSidebar';
|
import { SettingsSidebar } from '@/components/layout/SettingsSidebar';
|
||||||
import { RetryableErrorBoundary } from '@/components/presentational/RetryableErrorBoundary';
|
import { RetryableErrorBoundary } from '@/components/presentational/RetryableErrorBoundary';
|
||||||
|
import { Alert } from '@/components/ui/v2/Alert';
|
||||||
import { Box } from '@/components/ui/v2/Box';
|
import { Box } from '@/components/ui/v2/Box';
|
||||||
|
import { Text } from '@/components/ui/v2/Text';
|
||||||
|
import { useCurrentWorkspaceAndProject } from '@/features/projects/common/hooks/useCurrentWorkspaceAndProject';
|
||||||
import { twMerge } from 'tailwind-merge';
|
import { twMerge } from 'tailwind-merge';
|
||||||
|
|
||||||
export interface SettingsLayoutProps extends ProjectLayoutProps {
|
export interface SettingsLayoutProps extends ProjectLayoutProps {
|
||||||
@@ -22,6 +25,9 @@ export default function SettingsLayout({
|
|||||||
sidebarProps: { className: sidebarClassName, ...sidebarProps } = {},
|
sidebarProps: { className: sidebarClassName, ...sidebarProps } = {},
|
||||||
...props
|
...props
|
||||||
}: SettingsLayoutProps) {
|
}: SettingsLayoutProps) {
|
||||||
|
const { currentProject } = useCurrentWorkspaceAndProject();
|
||||||
|
const hasGitRepo = !!currentProject?.githubRepository;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ProjectLayout
|
<ProjectLayout
|
||||||
mainContainerProps={{
|
mainContainerProps={{
|
||||||
@@ -37,9 +43,39 @@ export default function SettingsLayout({
|
|||||||
|
|
||||||
<Box
|
<Box
|
||||||
sx={{ backgroundColor: 'background.default' }}
|
sx={{ backgroundColor: 'background.default' }}
|
||||||
className="flex w-full flex-auto flex-col overflow-x-hidden"
|
className="flex w-full flex-auto flex-col overflow-scroll overflow-x-hidden"
|
||||||
>
|
>
|
||||||
<RetryableErrorBoundary>{children}</RetryableErrorBoundary>
|
<RetryableErrorBoundary>
|
||||||
|
{hasGitRepo && (
|
||||||
|
<Alert
|
||||||
|
severity="warning"
|
||||||
|
className="grid grid-flow-row place-content-center gap-2"
|
||||||
|
>
|
||||||
|
<Text color="warning" className="text-sm ">
|
||||||
|
As you have a connected repository, make sure to synchronize
|
||||||
|
your changes with{' '}
|
||||||
|
<code className="rounded-md bg-slate-200 px-2 py-px text-slate-500">
|
||||||
|
nhost config pull
|
||||||
|
</code>{' '}
|
||||||
|
or they may be reverted with the next push.
|
||||||
|
<br />
|
||||||
|
If there are multiple projects linked to the same repository and
|
||||||
|
you only want these changes to apply to a subset of them, please
|
||||||
|
check out{' '}
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="underline"
|
||||||
|
href="https://docs.nhost.io/cli/overlays"
|
||||||
|
>
|
||||||
|
docs.nhost.io/cli/overlays
|
||||||
|
</a>{' '}
|
||||||
|
for guidance.
|
||||||
|
</Text>
|
||||||
|
</Alert>
|
||||||
|
)}
|
||||||
|
{children}
|
||||||
|
</RetryableErrorBoundary>
|
||||||
</Box>
|
</Box>
|
||||||
</ProjectLayout>
|
</ProjectLayout>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ export type DatabaseServiceVersionFormValues = Yup.InferType<
|
|||||||
>;
|
>;
|
||||||
|
|
||||||
const AVAILABLE_POSTGRES_VERSIONS = [
|
const AVAILABLE_POSTGRES_VERSIONS = [
|
||||||
|
'14.6-20230705-1',
|
||||||
'14.6-20230613-1',
|
'14.6-20230613-1',
|
||||||
'14.6-20230525',
|
'14.6-20230525',
|
||||||
'14.6-20230406-2',
|
'14.6-20230406-2',
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ export type HasuraServiceVersionFormValues = Yup.InferType<
|
|||||||
>;
|
>;
|
||||||
|
|
||||||
const AVAILABLE_HASURA_VERSIONS = [
|
const AVAILABLE_HASURA_VERSIONS = [
|
||||||
|
'v2.29.0-ce',
|
||||||
|
'v2.28.2-ce',
|
||||||
'v2.27.0-ce',
|
'v2.27.0-ce',
|
||||||
'v2.25.1-ce',
|
'v2.25.1-ce',
|
||||||
'v2.25.0-ce',
|
'v2.25.0-ce',
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @nhost/docs
|
# @nhost/docs
|
||||||
|
|
||||||
|
## 0.4.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- c6fa8da6d: fix(docs): remove outdated reference/cli
|
||||||
|
|
||||||
## 0.3.5
|
## 0.3.5
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -35,4 +35,4 @@ sudo nhost sw upgrade
|
|||||||
- [Local Development](/cli/local-development)
|
- [Local Development](/cli/local-development)
|
||||||
- [Migrate to Nhost Config](/cli/migrate-config)
|
- [Migrate to Nhost Config](/cli/migrate-config)
|
||||||
- [Multiple Projects in Parallel](/cli/multiple-projects)
|
- [Multiple Projects in Parallel](/cli/multiple-projects)
|
||||||
- [CLI commands reference](/reference/cli)
|
- [CLI Documentation](/cli)
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'down'
|
|
||||||
sidebar_position: 3
|
|
||||||
---
|
|
||||||
|
|
||||||
Delete all containers created by `nhost up`
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost down
|
|
||||||
```
|
|
||||||
|
|
||||||
To delete all containers **and the local database**, append `--data` to the command.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost down --data
|
|
||||||
```
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'Global Flags'
|
|
||||||
sidebar_position: 9
|
|
||||||
---
|
|
||||||
|
|
||||||
### `--debug`, `-d`
|
|
||||||
|
|
||||||
Turn on debug output.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost up --debug
|
|
||||||
nhost init -d
|
|
||||||
```
|
|
||||||
|
|
||||||
### `--log-file`, `-f`
|
|
||||||
|
|
||||||
Save output to a given file.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost up -d --log-file some-file.txt
|
|
||||||
nhost logs -f some-file.txt
|
|
||||||
```
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'CLI'
|
|
||||||
sidebar_position: 1
|
|
||||||
---
|
|
||||||
|
|
||||||
This section is a reference for the commands available in the [Nhost CLI](/cli).
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'init'
|
|
||||||
sidebar_position: 1
|
|
||||||
---
|
|
||||||
|
|
||||||
Initialize a local Nhost project.
|
|
||||||
|
|
||||||
```
|
|
||||||
nhost init
|
|
||||||
```
|
|
||||||
|
|
||||||
If you have an existing Nhost project in Nhost Cloud that you want to use as a starting point for local development and for the [Git-based workflow](/platform/git), run `nhost init --remote`.
|
|
||||||
|
|
||||||
The `nhost init --remote` command does the following:
|
|
||||||
|
|
||||||
- Creates a new local Nhost project.
|
|
||||||
- Pulls the database migrations and Hasura metadata from the Nhost Cloud project.
|
|
||||||
- Resets the remote Nhost Cloud project's database migrations.
|
|
||||||
|
|
||||||
:::warning
|
|
||||||
|
|
||||||
The `nhost init --remote` command should only be run **once**. Running it multiple times will reset the remote Nhost Cloud project's database migrations which can cause migration conflict issues in your development team.
|
|
||||||
|
|
||||||
:::
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'link'
|
|
||||||
sidebar_position: 4
|
|
||||||
---
|
|
||||||
|
|
||||||
Link the local Nhost project in your working directory to a project in Nhost Cloud.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost link
|
|
||||||
```
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'list'
|
|
||||||
sidebar_position: 7
|
|
||||||
---
|
|
||||||
|
|
||||||
List projects in Nhost Cloud.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost list
|
|
||||||
```
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'login'
|
|
||||||
sidebar_position: 5
|
|
||||||
---
|
|
||||||
|
|
||||||
Authenticate the CLI with your Nhost user.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost login
|
|
||||||
```
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'logout'
|
|
||||||
sidebar_position: 6
|
|
||||||
---
|
|
||||||
|
|
||||||
Remove authentication for the CLI.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost logout
|
|
||||||
```
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'logs'
|
|
||||||
sidebar_position: 9
|
|
||||||
---
|
|
||||||
|
|
||||||
View logs of all services.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost logs
|
|
||||||
```
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'up'
|
|
||||||
sidebar_position: 2
|
|
||||||
---
|
|
||||||
|
|
||||||
To launch the development environment for your project, use the command `nhost up`. Once the environment is running, this command will
|
|
||||||
|
|
||||||
- Apply database migrations.
|
|
||||||
- Apply Hasura metadata.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost up
|
|
||||||
```
|
|
||||||
|
|
||||||
If it's the first time you start the project, [seed data](/database#seed-data) will be applied.
|
|
||||||
|
|
||||||
## Stop
|
|
||||||
|
|
||||||
Use `ctrl+c` to stop the development environment.
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'upgrade'
|
|
||||||
sidebar_position: 8
|
|
||||||
---
|
|
||||||
|
|
||||||
Upgrade the CLI to the latest version.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nhost upgrade
|
|
||||||
```
|
|
||||||
@@ -30,7 +30,3 @@ In this section:
|
|||||||
- [Getting started](/reference/vue)
|
- [Getting started](/reference/vue)
|
||||||
- [Protecting routes](/reference/vue/protecting-routes)
|
- [Protecting routes](/reference/vue/protecting-routes)
|
||||||
- [Apollo GraphQL](/reference/vue/apollo)
|
- [Apollo GraphQL](/reference/vue/apollo)
|
||||||
|
|
||||||
### Nhost CLI
|
|
||||||
|
|
||||||
- [CLI overview](/reference/cli)
|
|
||||||
|
|||||||
@@ -69,12 +69,12 @@ HTTP endpoints are automatically generated based on the file structure inside `f
|
|||||||
|
|
||||||
Here's an example of four Serverless Functions with their files and their HTTP endpoints:
|
Here's an example of four Serverless Functions with their files and their HTTP endpoints:
|
||||||
|
|
||||||
| File | HTTP Endpoint |
|
| File | HTTP Endpoint |
|
||||||
| --------------------------- | ----------------------------------------------------------------- |
|
| --------------------------- | ------------------------------------------------------------------ |
|
||||||
| `functions/index.js` | `https://[project-subdomain].nhost.run/v1/functions/` |
|
| `functions/index.js` | `https://[subdomain].functions.[region].nhost.run/v1/` |
|
||||||
| `functions/users/index.ts` | `https://[project-subdomain].nhost.run/v1/functions/users` |
|
| `functions/users/index.ts` | `https://[subdomain].functions.[region].nhost.run/v1/users` |
|
||||||
| `functions/users/active.ts` | `https://[project-subdomain].nhost.run/v1/functions/users/active` |
|
| `functions/users/active.ts` | `https://[subdomain].functions.[region].nhost.run/v1/users/active` |
|
||||||
| `functions/my-company.js` | `https://[project-subdomain].nhost.run/v1/functions/my-company` |
|
| `functions/my-company.js` | `https://[subdomain].functions.[region].nhost.run/v1/my-company` |
|
||||||
|
|
||||||
You can prepend files and folders with an underscore (`_`) to prevent them from being treated as Serverless Functions and
|
You can prepend files and folders with an underscore (`_`) to prevent them from being treated as Serverless Functions and
|
||||||
be turned into HTTP endpoints. This is useful if you have, for example, a utils file (`functions/_utils.js`) or a utils-f
|
be turned into HTTP endpoints. This is useful if you have, for example, a utils file (`functions/_utils.js`) or a utils-f
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/docs",
|
"name": "@nhost/docs",
|
||||||
"version": "0.3.5",
|
"version": "0.4.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"docusaurus": "docusaurus",
|
"docusaurus": "docusaurus",
|
||||||
|
|||||||
@@ -183,23 +183,6 @@ const sidebars = {
|
|||||||
dirName: 'reference/docgen/vue/content'
|
dirName: 'reference/docgen/vue/content'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
type: 'category',
|
|
||||||
label: 'CLI',
|
|
||||||
link: { type: 'doc', id: 'reference/cli/index' },
|
|
||||||
items: [
|
|
||||||
'reference/cli/init',
|
|
||||||
'reference/cli/up',
|
|
||||||
'reference/cli/down',
|
|
||||||
'reference/cli/link',
|
|
||||||
'reference/cli/login',
|
|
||||||
'reference/cli/logout',
|
|
||||||
'reference/cli/list',
|
|
||||||
'reference/cli/upgrade',
|
|
||||||
'reference/cli/logs',
|
|
||||||
'reference/cli/global-flags'
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
HASURA_GRAPHQL_ADMIN_SECRET=nhost-admin-secret
|
HASURA_GRAPHQL_ADMIN_SECRET='nhost-admin-secret'
|
||||||
HASURA_GRAPHQL_JWT_SECRET=oqpdwyffgxncqamwlyebkaifyazvqgso
|
HASURA_GRAPHQL_JWT_SECRET='oqpdwyffgxncqamwlyebkaifyazvqgso'
|
||||||
NHOST_WEBHOOK_SECRET=nhost-webhook-secret
|
NHOST_WEBHOOK_SECRET='nhost-webhook-secret'
|
||||||
GRAFANA_ADMIN_PASSWORD=FIXME
|
GRAFANA_ADMIN_PASSWORD='FIXME'
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
nhost
|
nhost
|
||||||
nodejs_18
|
nodejs_18
|
||||||
# nodePackages.pnpm
|
nodePackages.pnpm
|
||||||
] ++ buildInputs ++ nativeBuildInputs;
|
] ++ buildInputs ++ nativeBuildInputs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @nhost/apollo
|
# @nhost/apollo
|
||||||
|
|
||||||
|
## 5.2.15
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/nhost-js@2.2.13
|
||||||
|
|
||||||
## 5.2.14
|
## 5.2.14
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/apollo",
|
"name": "@nhost/apollo",
|
||||||
"version": "5.2.14",
|
"version": "5.2.15",
|
||||||
"description": "Nhost Apollo Client library",
|
"description": "Nhost Apollo Client library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# @nhost/react-apollo
|
# @nhost/react-apollo
|
||||||
|
|
||||||
|
## 5.0.32
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/apollo@5.2.15
|
||||||
|
- @nhost/react@2.0.28
|
||||||
|
|
||||||
## 5.0.31
|
## 5.0.31
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/react-apollo",
|
"name": "@nhost/react-apollo",
|
||||||
"version": "5.0.31",
|
"version": "5.0.32",
|
||||||
"description": "Nhost React Apollo client",
|
"description": "Nhost React Apollo client",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @nhost/react-urql
|
# @nhost/react-urql
|
||||||
|
|
||||||
|
## 2.0.29
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/react@2.0.28
|
||||||
|
|
||||||
## 2.0.28
|
## 2.0.28
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/react-urql",
|
"name": "@nhost/react-urql",
|
||||||
"version": "2.0.28",
|
"version": "2.0.29",
|
||||||
"description": "Nhost React URQL client",
|
"description": "Nhost React URQL client",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
HASURA_GRAPHQL_ADMIN_SECRET=nhost-admin-secret
|
HASURA_GRAPHQL_ADMIN_SECRET='nhost-admin-secret'
|
||||||
HASURA_GRAPHQL_JWT_SECRET=oqpdwyffgxncqamwlyebkaifyazvqgso
|
HASURA_GRAPHQL_JWT_SECRET='oqpdwyffgxncqamwlyebkaifyazvqgso'
|
||||||
NHOST_WEBHOOK_SECRET=nhost-webhook-secret
|
NHOST_WEBHOOK_SECRET='nhost-webhook-secret'
|
||||||
GRAFANA_ADMIN_PASSWORD=FIXME
|
GRAFANA_ADMIN_PASSWORD='FIXME'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
HASURA_GRAPHQL_ADMIN_SECRET=nhost-admin-secret
|
HASURA_GRAPHQL_ADMIN_SECRET='nhost-admin-secret'
|
||||||
HASURA_GRAPHQL_JWT_SECRET=oqpdwyffgxncqamwlyebkaifyazvqgso
|
HASURA_GRAPHQL_JWT_SECRET='oqpdwyffgxncqamwlyebkaifyazvqgso'
|
||||||
NHOST_WEBHOOK_SECRET=nhost-webhook-secret
|
NHOST_WEBHOOK_SECRET='nhost-webhook-secret'
|
||||||
GRAFANA_ADMIN_PASSWORD=FIXME
|
GRAFANA_ADMIN_PASSWORD='FIXME'
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @nhost/hasura-storage-js
|
# @nhost/hasura-storage-js
|
||||||
|
|
||||||
|
## 2.2.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 300e3f49e: fix(hasura-storage-js): fix file upload formData field
|
||||||
|
|
||||||
## 2.2.1
|
## 2.2.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/hasura-storage-js",
|
"name": "@nhost/hasura-storage-js",
|
||||||
"version": "2.2.1",
|
"version": "2.2.2",
|
||||||
"description": "Hasura-storage client",
|
"description": "Hasura-storage client",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ export const createFileUploadMachine = () =>
|
|||||||
uploadFile: (context, event) => (callback) => {
|
uploadFile: (context, event) => (callback) => {
|
||||||
const file = (event.file || context.file)!
|
const file = (event.file || context.file)!
|
||||||
const data = new FormData()
|
const data = new FormData()
|
||||||
data.append('file', file)
|
data.append('file[]', file)
|
||||||
|
|
||||||
let currentLoaded = 0
|
let currentLoaded = 0
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @nhost/nextjs
|
# @nhost/nextjs
|
||||||
|
|
||||||
|
## 1.13.34
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/react@2.0.28
|
||||||
|
|
||||||
## 1.13.33
|
## 1.13.33
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/nextjs",
|
"name": "@nhost/nextjs",
|
||||||
"version": "1.13.33",
|
"version": "1.13.34",
|
||||||
"description": "Nhost NextJS library",
|
"description": "Nhost NextJS library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
HASURA_GRAPHQL_ADMIN_SECRET=nhost-admin-secret
|
HASURA_GRAPHQL_ADMIN_SECRET='nhost-admin-secret'
|
||||||
HASURA_GRAPHQL_JWT_SECRET=oqpdwyffgxncqamwlyebkaifyazvqgso
|
HASURA_GRAPHQL_JWT_SECRET='oqpdwyffgxncqamwlyebkaifyazvqgso'
|
||||||
NHOST_WEBHOOK_SECRET=nhost-webhook-secret
|
NHOST_WEBHOOK_SECRET='nhost-webhook-secret'
|
||||||
GRAFANA_ADMIN_PASSWORD=FIXME
|
GRAFANA_ADMIN_PASSWORD='FIXME'
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# @nhost/nhost-js
|
# @nhost/nhost-js
|
||||||
|
|
||||||
|
## 2.2.13
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [300e3f49e]
|
||||||
|
- @nhost/hasura-storage-js@2.2.2
|
||||||
|
|
||||||
## 2.2.12
|
## 2.2.12
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/nhost-js",
|
"name": "@nhost/nhost-js",
|
||||||
"version": "2.2.12",
|
"version": "2.2.13",
|
||||||
"description": "Nhost JavaScript SDK",
|
"description": "Nhost JavaScript SDK",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @nhost/react
|
# @nhost/react
|
||||||
|
|
||||||
|
## 2.0.28
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/nhost-js@2.2.13
|
||||||
|
|
||||||
## 2.0.27
|
## 2.0.27
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/react",
|
"name": "@nhost/react",
|
||||||
"version": "2.0.27",
|
"version": "2.0.28",
|
||||||
"description": "Nhost React library",
|
"description": "Nhost React library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @nhost/vue
|
# @nhost/vue
|
||||||
|
|
||||||
|
## 1.13.33
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/nhost-js@2.2.13
|
||||||
|
|
||||||
## 1.13.32
|
## 1.13.32
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/vue",
|
"name": "@nhost/vue",
|
||||||
"version": "1.13.32",
|
"version": "1.13.33",
|
||||||
"description": "Nhost Vue library",
|
"description": "Nhost Vue library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
Reference in New Issue
Block a user