Skip to content

Commit 6d3915b

Browse files
authored
Ng/imports (#268)
1 parent e8d331b commit 6d3915b

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

apps/events/src/components/todo/todos-public.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import { Id } from '@graphprotocol/grc-20';
2-
import { _generateDeleteOps, publishOps, useCreateEntity, useQuery, useSpace } from '@graphprotocol/hypergraph-react';
3-
import { useHypergraphApp } from '@graphprotocol/hypergraph-react';
4-
import { useGenerateCreateOps } from '@graphprotocol/hypergraph-react/internal/use-generate-create-ops';
2+
import {
3+
_generateDeleteOps,
4+
publishOps,
5+
useCreateEntity,
6+
_useGenerateCreateOps as useGenerateCreateOps,
7+
useHypergraphApp,
8+
useQuery,
9+
useSpace,
10+
} from '@graphprotocol/hypergraph-react';
511
import { Todo2 } from '../../schema';
612
import { Spinner } from '../spinner';
713
import { Button } from '../ui/button';

apps/typesync/client/src/Components/App/Schema/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ ${fieldStrings.join(',\n')}
8484
* const { code } = buildAppSchemaFormCode(schema)
8585
*
8686
* expect(code).toEqual(`
87-
* import * as Entity from '@graphprotocol/hypergraph/Entity';
87+
* import { Entity } from '@graphprotocol/hypergraph';
8888
*
8989
* export class Event extends Entity.Class<Event>('Event')({
9090
* // Name of the event

packages/hypergraph-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/hypergraph-react",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "React implementation and additional functionality, components, and hooks for the hypergraph SDK framework",
55
"keywords": ["Web3", "Local-First", "Knowledge Graph", "Graph Protocol", "react"],
66
"publishConfig": {

packages/hypergraph-react/src/hooks/use-spaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { store } from '@graphprotocol/hypergraph/store';
1+
import { store } from '@graphprotocol/hypergraph';
22
import { useQuery } from '@tanstack/react-query';
33
import { useSelector } from '@xstate/store/react';
44
import { gql, request } from 'graphql-request';

packages/hypergraph/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/hypergraph",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "SDK for building performant, type-safe, local-first dapps on top of The Graph ecosystem knowledge graphs.",
55
"publishConfig": {
66
"access": "public",

0 commit comments

Comments
 (0)