Huge News!Announcing our $40M Series B led by Abstract Ventures.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.13 to 0.3.14

cristin.d.ts

3

guillotine.d.ts
declare module "*/lib/guillotine" {
namespace guillotineLib {
type EmptyObject = import("./types").EmptyObject;
type ContextCreationCallbacks<ExecuteContext = EmptyObject> = Record<string, (context: Context<ExecuteContext>, params: import("/lib/graphql").CreateObjectTypeParams<ExecuteContext>) => void>;
interface GuillotineLibrary {

@@ -16,3 +17,3 @@ createSchema<ExecuteContext = EmptyObject>(params?: ContextOptions<ExecuteContext>): import("/lib/graphql").GraphQLSchema;

subscriptionEventTypes?: Array<string>;
creationCallbacks: Record<string, (context: Context<ExecuteContext>, params: import("/lib/graphql").CreateObjectTypeParams<ExecuteContext>) => void>;
creationCallbacks: ContextCreationCallbacks<ExecuteContext>;
[key: string]: unknown;

@@ -19,0 +20,0 @@ }

@@ -45,1 +45,2 @@ /// <reference path="admin.d.ts" />

/// <reference path="xslt.d.ts" />
/// <reference path="cristin.d.ts" />

@@ -10,2 +10,6 @@ export interface EnonicLibraryMap {

"/lib/xp/context": typeof import("/lib/xp/context");
"/lib/cristin": typeof import("/lib/cristin");
"/lib/cristin/service": typeof import("/lib/cristin/service");
"/lib/cristin/storage": typeof import("/lib/cristin/storage");
"/lib/cristin/constants": typeof import("/lib/cristin/constants");
"/lib/cron": typeof import("/lib/cron");

@@ -12,0 +16,0 @@ "/lib/text-encoding": typeof import("/lib/text-encoding");

{
"name": "enonic-types",
"sideEffects": false,
"version": "0.3.13",
"version": "0.3.14",
"description": "TypeScript types for Enonic XP",
"typings": "index.d.ts",
"scripts": {
"clean": "rimraf ./*.d.ts",
"build": "npm run clean && tsc",
"clean": "rimraf ./*.d.ts && rimraf ./generated && rimraf ./*.tgz",
"copy-dts": "copyfiles -u 1 \"src/generated/**/*.d.ts\" .",
"build": "npm run clean && tsc && npm run copy-dts",
"lint": "eslint --fix 'src/**/*.ts'",
"prepublishOnly": "npm run lint && npm run build"
"prepublishOnly": "npm run lint && npm run build",
"json2ts": "json2ts -i src/generated/schemas/ -o src/generated/"
},

@@ -29,5 +31,7 @@ "repository": {

"@typescript-eslint/parser": "^5.11.0",
"eslint": "^8.8.0",
"copyfiles": "^2.4.1",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"json-schema-to-typescript": "^10.1.5",
"prettier": "^2.5.1",

@@ -34,0 +38,0 @@ "rimraf": "^3.0.2",

@@ -134,2 +134,3 @@ # TypeScript types for Enonic XP

* [ControllerLibrary](./src/controller.ts)
* [CristinLibrary](./src/cristin/index.ts)
* [CronLibrary](./src/cron.ts)

@@ -136,0 +137,0 @@ * [EncodingLibrary](./src/encoding.ts)

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