7.15.0 • Published 8 months ago

@item-enonic-types/global v7.15.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Global types for Enonic XP

npm version

Note There is also an official package for Global types for XP.

This library provides backwards compatibility for the old enonic-types package while moving to the new types provided by Enonic.

Contents

The following global types:

  • XP.Request
    • XP.ErrorRequest
    • XP.CustomSelectorServiceParams
  • XP.Response
    • XP.WebSocketResponse
    • XP.CustomSelectorServiceResponseBody
    • XP.CustomSelectorServiceResponseHit
  • XP.MacroContext
  • XP.WebSocketEvent

Use

To use these global types you need to update the types field in your tsconfig.json with this library.

{
  "baseUrl": "./",
  "paths": {
    "/lib/xp/*": ["node_modules/@enonic-types/lib-*"]
  },
+  "types": [
+    "@item-enonic-types/global"
+  ]
}
7.15.0-A2

9 months ago

7.15.0-A1

10 months ago

7.15.0

8 months ago

7.13.1

2 years ago

7.13.0

2 years ago

7.12.2

3 years ago

7.12.0

3 years ago

7.12.1

3 years ago

7.11.3

3 years ago

7.11.1

3 years ago

7.11.2

3 years ago

7.11.0

3 years ago

7.11.0-RC4

3 years ago

7.11.0-RC3

3 years ago

7.11.0-RC1

3 years ago

7.11.0-B3

3 years ago