New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

enonic-types

Package Overview
Dependencies
Maintainers
1
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-types - npm Package Compare versions

Comparing version 0.3.12 to 0.3.13

40

graphql.d.ts

@@ -156,3 +156,3 @@ declare module "*/lib/graphql-playground" {

subscription?: GraphQLObjectType;
dictionary: string;
dictionary: Array<GraphQLObjectType>;
}

@@ -176,29 +176,29 @@ interface CreateEnumTypeParams {

interface CreateInterfaceTypeParams<ExecuteContext = EmptyObject> {
readonly name: string;
readonly fields: Record<string, GraphQLResolver<ExecuteContext>>;
readonly typeResolver: (env: any) => any;
readonly description?: string;
name: string;
fields: Record<string, GraphQLResolver<ExecuteContext>>;
typeResolver: (env: any) => any;
description?: string;
}
interface CreateUnionTypeParams<ExecuteContext = EmptyObject> {
readonly name: string;
readonly fields: Record<string, GraphQLResolver<ExecuteContext>>;
readonly typeResolver: (env: any) => any;
name: string;
fields: Record<string, GraphQLResolver<ExecuteContext>>;
typeResolver: (env: any) => any;
}
interface CreatePageInfoObjectTypeParams<ExecuteContext = EmptyObject> {
readonly name: string;
readonly fields: Record<string, GraphQLResolver<ExecuteContext>>;
readonly interfaces: Array<GraphQLInterfaceType | GraphQLTypeReference>;
description: string;
name: string;
fields: Record<string, GraphQLResolver<ExecuteContext>>;
interfaces?: Array<GraphQLInterfaceType | GraphQLTypeReference>;
description?: string;
}
interface CreateObjectTypeParams<ExecuteContext = EmptyObject> {
readonly name: string;
readonly description: string;
readonly fields: Record<string, GraphQLResolver<ExecuteContext>>;
readonly interfaces: Array<GraphQLInterfaceType | GraphQLTypeReference>;
name: string;
description?: string;
fields: Record<string, GraphQLResolver<ExecuteContext>>;
interfaces?: Array<GraphQLInterfaceType | GraphQLTypeReference>;
}
interface CreateInputObjectTypeParams<ExecuteContext = EmptyObject> {
readonly name: string;
readonly description: string;
readonly fields: Record<string, GraphQLResolver<ExecuteContext>>;
readonly interfaces: Array<GraphQLInterfaceType | GraphQLTypeReference>;
name: string;
description?: string;
fields: Record<string, GraphQLResolver<ExecuteContext>>;
interfaces?: Array<GraphQLInterfaceType | GraphQLTypeReference>;
}

@@ -205,0 +205,0 @@ }

declare module "*/lib/guillotine" {
namespace guillotineLib {
type EmptyObject = import("./types").EmptyObject;
interface GuillotineLibrary {
createSchema<ExecuteContext = import("./types").EmptyObject>(params?: ContextOptions<ExecuteContext>): import("/lib/graphql").GraphQLSchema;
createHeadlessCmsType(): import("/lib/graphql").GraphQLType;
createContext<ExecuteContext = import("./types").EmptyObject>(options?: ContextOptions<ExecuteContext>): Context<ExecuteContext>;
initWebSockets(schema: import("/lib/graphql").GraphQLSchema): (event: XP.WebSocketEvent) => void;
createSchema<ExecuteContext = EmptyObject>(params?: ContextOptions<ExecuteContext>): import("/lib/graphql").GraphQLSchema;
createHeadlessCmsType<ExecuteContext = EmptyObject>(context?: Context<ExecuteContext>): import("/lib/graphql").GraphQLType;
createContext<ExecuteContext = EmptyObject>(options?: ContextOptions<ExecuteContext>): Context<ExecuteContext>;
initWebSockets(schema?: import("/lib/graphql").GraphQLSchema): (event: XP.WebSocketEvent) => void;
createWebSocketData(req: CreateWebSocketDataParams): WebSocketData;
execute(params: import("./types").XOR<ExecuteBySchemaParams, ExecuteByConfigParams>): string;
}
interface ContextOptions<ExecuteContext = import("./types").EmptyObject> {
interface ContextOptions<ExecuteContext = EmptyObject> {
applications?: Array<string>;

@@ -22,3 +23,3 @@ allowPaths?: Array<string>;

type GraphQLInterfaceType = import("/lib/graphql").GraphQLInterfaceType;
interface Context<ExecuteContext = import("./types").EmptyObject> {
interface Context<ExecuteContext = EmptyObject> {
types: {

@@ -25,0 +26,0 @@ principalKeyType: GraphQLObjectType;

{
"name": "enonic-types",
"sideEffects": false,
"version": "0.3.12",
"version": "0.3.13",
"description": "TypeScript types for Enonic XP",

@@ -27,5 +27,5 @@ "typings": "index.d.ts",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^8.6.0",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",

@@ -35,4 +35,4 @@ "eslint-plugin-prettier": "^4.0.0",

"rimraf": "^3.0.2",
"typescript": "^4.5.4"
"typescript": "^4.5.5"
}
}

@@ -13,2 +13,6 @@ declare module "*/lib/turbo-streams" {

/**
* The name of the service created by this library
*/
SERVICE_NAME_TURBO_STREAMS: "turbo-streams";
/**
* Append some markup to a target id in the dom over web socket

@@ -138,3 +142,3 @@ */

*/
type GetWebSocketUrlParams = Omit<import("/lib/xp/portal").ServiceUrlParams, "params"> & {
type GetWebSocketUrlParams = Omit<Partial<import("/lib/xp/portal").ServiceUrlParams>, "params"> & {
params?: {

@@ -141,0 +145,0 @@ groupId?: string;

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