@memberjunction/data-context 1.0.6 → 1.0.7-next.0
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/dist/types.js +2 -2
- package/package.json +25 -25
- package/readme.md +2 -2
package/dist/types.js
CHANGED
|
@@ -297,8 +297,8 @@ let DataContextItem = class DataContextItem {
|
|
|
297
297
|
* @param contextUser - the user that is requesting the data context (only required on server side operations, or if you want a different user's permissions to be used for the data context load)
|
|
298
298
|
*/
|
|
299
299
|
async LoadFromSQL(dataSource, contextUser) {
|
|
300
|
-
throw new Error(`Not implemented in the base DataContextItem object. The server-side only sub-class of the DataContextItem object implements this method.
|
|
301
|
-
Make sure you include @memberjunction/data-context-server in your project and use the DataContextItemServer class instead of DataContextItem.
|
|
300
|
+
throw new Error(`Not implemented in the base DataContextItem object. The server-side only sub-class of the DataContextItem object implements this method.
|
|
301
|
+
Make sure you include @memberjunction/data-context-server in your project and use the DataContextItemServer class instead of DataContextItem.
|
|
302
302
|
This happens automatically if you use the DataContext.Load() or DataContext.LoadMetadata() methods to load the data context.`);
|
|
303
303
|
}
|
|
304
304
|
/**
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@memberjunction/data-context",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "This library provides a set of objects that handle run-time loading of data contexts as well as types to be able to use across application tiers for interacting with data contexts.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"/dist"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"start": "ts-node-dev src/index.ts",
|
|
12
|
-
"build": "tsc",
|
|
13
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
|
-
},
|
|
15
|
-
"author": "MemberJunction.com",
|
|
16
|
-
"license": "ISC",
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"ts-node-dev": "^2.0.0",
|
|
19
|
-
"typescript": "^5.3.3"
|
|
20
|
-
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"@memberjunction/global": "^1.0.
|
|
23
|
-
"@memberjunction/core-entities": "^1.0.
|
|
24
|
-
}
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@memberjunction/data-context",
|
|
3
|
+
"version": "1.0.7-next.0",
|
|
4
|
+
"description": "This library provides a set of objects that handle run-time loading of data contexts as well as types to be able to use across application tiers for interacting with data contexts.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"/dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "ts-node-dev src/index.ts",
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
|
+
},
|
|
15
|
+
"author": "MemberJunction.com",
|
|
16
|
+
"license": "ISC",
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"ts-node-dev": "^2.0.0",
|
|
19
|
+
"typescript": "^5.3.3"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@memberjunction/global": "^1.0.7-next.0",
|
|
23
|
+
"@memberjunction/core-entities": "^1.0.7-next.0"
|
|
24
|
+
}
|
|
25
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# @memberjunction/data-context
|
|
2
|
-
|
|
1
|
+
# @memberjunction/data-context
|
|
2
|
+
|
|
3
3
|
The `@memberjunction/data-context` library provides a set of objects that handle run-time loading of data contexts as well as types to be able to use across application tiers for interacting with data contexts.
|