Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphand-react

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphand-react - npm Package Compare versions

Comparing version 0.3.7-beta to 0.3.8-beta

4

dist/types/lib/suspense.d.ts

@@ -16,4 +16,4 @@ import { GraphandModelListPromise, GraphandModelPromise } from "graphand-js";

};
export declare type SuspenseDefinition<T> = (callback: PromiseSuspenseCallback<T>, optionsOrFallback: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>) => React.ReactNode;
declare function suspense<T>(callback: PromiseSuspenseCallback<T>, optionsOrFallback: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>): React.ReactNode;
export declare type SuspenseDefinition<T> = (callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>) => React.ReactNode;
declare function suspense<T>(callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>): React.ReactNode;
export default suspense;
import { GraphandPlugin } from "graphand-js";
import React from "react";
import { GraphandFormOptions } from "./lib/renderForm";
import { SuspenseDefinition } from "./lib/suspense";
declare module "graphand-js" {
interface GraphandModel {
suspense: SuspenseDefinition<GraphandModel>;
renderForm: (options: GraphandFormOptions) => React.ReactNode;
renderFieldView: any;
renderFieldInput: any;
}
interface GraphandModelPromise<T extends GraphandModel | GraphandModelList<GraphandModel>> {
suspense: SuspenseDefinition<T>;
}
interface GraphandModelList<T extends GraphandModel> {
suspense: SuspenseDefinition<GraphandModelList<T>>;
}
interface GraphandModelListPromise<T extends GraphandModel> {
suspense: SuspenseDefinition<GraphandModelList<T>>;
}
interface AggregationExecutor {
suspense: SuspenseDefinition<any>;
}
interface GraphandField {
parseFormSubmit: any;
renderInput: any;
renderView: any;
}
}
export declare type GraphandPluginReactOpts = {

@@ -3,0 +31,0 @@ fields: any;

{
"name": "graphand-react",
"version": "0.3.7-beta",
"version": "0.3.8-beta",
"description": "",

@@ -14,3 +14,3 @@ "homepage": "https://github.com/pierrecabriere/graphand-react",

"scripts": {
"build": "webpack && cp src/global.d.ts dist/types/global.d.ts",
"build": "webpack",
"build:watch": "WATCH=1 webpack",

@@ -54,4 +54,4 @@ "build:doc": "mkdir -p docs && tsc --project tsconfig.json --outDir dist-docs && node generate-doc.js && rm -rf dist-docs",

"webpack-cli": "^4.9.2",
"graphand-js": "^0.27.3-beta"
"graphand-js": "^0.27.4-beta"
}
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc