@nl-portal/nl-portal-api 0.1.1-alpha.7 → 0.1.1-alpha.71

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 CHANGED
@@ -1,12 +1,12 @@
1
- # @gemeente-denhaag/nl-portal-api
1
+ # @nl-portal/nl-portal-api
2
2
 
3
- > Made with create-react-library
3
+ > Made with vite
4
4
 
5
- [![NPM](https://img.shields.io/npm/v/@gemeente-denhaag/nl-portal-user-interface.svg)](https://www.npmjs.com/package/@gemeente-denhaag/nl-portal-user-interface)
5
+ [![NPM](https://img.shields.io/npm/v/@nl-portal/nl-portal-user-interface.svg)](https://www.npmjs.com/package/@nl-portal/nl-portal-user-interface)
6
6
  [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
7
7
 
8
8
  ## Install
9
9
 
10
10
  ```bash
11
- npm install --save @gemeente-denhaag/nl-portal-api
11
+ npm install --save @nl-portal/nl-portal-api
12
12
  ```
@@ -0,0 +1,7 @@
1
+ interface ApiWrapperProps {
2
+ children: React.ReactNode;
3
+ graphqlUri: string;
4
+ restUri: string;
5
+ }
6
+ declare const ApiWrapper: ({ children, graphqlUri, restUri }: ApiWrapperProps) => import("react/jsx-runtime").JSX.Element | null;
7
+ export default ApiWrapper;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ interface TokenObject {
2
+ KEYCLOAK_TOKEN: string;
3
+ }
4
+ export declare const TOKEN_KEY = "KEYCLOAK_TOKEN";
5
+ export declare const TOKEN_OBJECT: TokenObject;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ interface ApiContextInterface {
3
+ restUri: string;
4
+ }
5
+ declare const ApiContext: React.Context<ApiContextInterface>;
6
+ export default ApiContext;
@@ -0,0 +1 @@
1
+ export declare const FORMULIER_FIELDS: import("@apollo/client").DocumentNode;