@memberjunction/server 1.0.9 → 1.1.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/CHANGELOG.json +175 -1
- package/CHANGELOG.md +42 -2
- package/dist/generated/generated.d.ts +13 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +74 -0
- package/dist/generated/generated.js.map +1 -1
- package/dist/resolvers/ReportResolver.d.ts.map +1 -1
- package/dist/resolvers/ReportResolver.js +60 -45
- package/dist/resolvers/ReportResolver.js.map +1 -1
- package/package.json +13 -13
- package/src/generated/generated.ts +50 -1
- package/src/resolvers/ReportResolver.ts +71 -55
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,181 @@
|
|
|
2
2
|
"name": "@memberjunction/server",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 26 Apr 2024 15:21:32 GMT",
|
|
6
|
+
"version": "1.1.0",
|
|
7
|
+
"tag": "@memberjunction/server_v1.1.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@memberjunction/server",
|
|
13
|
+
"comment": "Bump @memberjunction/ai to v1.1.0",
|
|
14
|
+
"commit": "not available"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@memberjunction/server",
|
|
19
|
+
"comment": "Bump @memberjunction/ai-openai to v1.1.0",
|
|
20
|
+
"commit": "not available"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@memberjunction/server",
|
|
25
|
+
"comment": "Bump @memberjunction/aiengine to v1.1.0",
|
|
26
|
+
"commit": "not available"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@memberjunction/server",
|
|
31
|
+
"comment": "Bump @memberjunction/core to v1.1.0",
|
|
32
|
+
"commit": "not available"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@memberjunction/server",
|
|
37
|
+
"comment": "Bump @memberjunction/core-entities to v1.1.0",
|
|
38
|
+
"commit": "not available"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@memberjunction/server",
|
|
43
|
+
"comment": "Bump @memberjunction/data-context to v1.1.0",
|
|
44
|
+
"commit": "not available"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@memberjunction/server",
|
|
49
|
+
"comment": "Bump @memberjunction/data-context-server to v1.1.0",
|
|
50
|
+
"commit": "not available"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@memberjunction/server",
|
|
55
|
+
"comment": "Bump @memberjunction/global to v1.1.0",
|
|
56
|
+
"commit": "not available"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@memberjunction/server",
|
|
61
|
+
"comment": "Bump @memberjunction/storage to v1.1.0",
|
|
62
|
+
"commit": "not available"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "beachball",
|
|
66
|
+
"package": "@memberjunction/server",
|
|
67
|
+
"comment": "Bump @memberjunction/queue to v1.1.0",
|
|
68
|
+
"commit": "not available"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@memberjunction/server",
|
|
73
|
+
"comment": "Bump @memberjunction/sqlserver-dataprovider to v1.1.0",
|
|
74
|
+
"commit": "not available"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@memberjunction/server",
|
|
79
|
+
"comment": "Bump @memberjunction/skip-types to v1.1.0",
|
|
80
|
+
"commit": "not available"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"date": "Wed, 24 Apr 2024 20:57:42 GMT",
|
|
87
|
+
"version": "1.0.11",
|
|
88
|
+
"tag": "@memberjunction/server_v1.0.11",
|
|
89
|
+
"comments": {
|
|
90
|
+
"patch": [
|
|
91
|
+
{
|
|
92
|
+
"author": "97354817+AN-BC@users.noreply.github.com",
|
|
93
|
+
"package": "@memberjunction/server",
|
|
94
|
+
"commit": "e7e9a6050613b900377d79d6137f18415dee99b8",
|
|
95
|
+
"comment": "* Created mj-form-field component in the ng-base-forms package which is a higher order way of binding to a given field on an entity and it dynamically selects the needed control. Provides several advantages including the ability to easily upgrade functionality on forms and to conditionally render fields in their entirety only when needed (e.g. not show them at all when read only field and new record). * Updated CodeGenLib to emit this new style of Angular Code * Ran Code Gen"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"author": "97354817+AN-BC@users.noreply.github.com",
|
|
99
|
+
"package": "@memberjunction/server",
|
|
100
|
+
"commit": "aa9ed36f39bde861a2d857f7f0f448978583d38b",
|
|
101
|
+
"comment": "* bug fixes in Skip UI * added exception handling to ReportResolver"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"author": "beachball",
|
|
105
|
+
"package": "@memberjunction/server",
|
|
106
|
+
"comment": "Bump @memberjunction/ai to v1.0.11",
|
|
107
|
+
"commit": "not available"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"author": "beachball",
|
|
111
|
+
"package": "@memberjunction/server",
|
|
112
|
+
"comment": "Bump @memberjunction/ai-openai to v1.0.11",
|
|
113
|
+
"commit": "not available"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"author": "beachball",
|
|
117
|
+
"package": "@memberjunction/server",
|
|
118
|
+
"comment": "Bump @memberjunction/aiengine to v1.0.11",
|
|
119
|
+
"commit": "not available"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"author": "beachball",
|
|
123
|
+
"package": "@memberjunction/server",
|
|
124
|
+
"comment": "Bump @memberjunction/core to v1.0.11",
|
|
125
|
+
"commit": "not available"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"author": "beachball",
|
|
129
|
+
"package": "@memberjunction/server",
|
|
130
|
+
"comment": "Bump @memberjunction/core-entities to v1.0.11",
|
|
131
|
+
"commit": "not available"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"author": "beachball",
|
|
135
|
+
"package": "@memberjunction/server",
|
|
136
|
+
"comment": "Bump @memberjunction/data-context to v1.0.11",
|
|
137
|
+
"commit": "not available"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"author": "beachball",
|
|
141
|
+
"package": "@memberjunction/server",
|
|
142
|
+
"comment": "Bump @memberjunction/data-context-server to v1.0.11",
|
|
143
|
+
"commit": "not available"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"author": "beachball",
|
|
147
|
+
"package": "@memberjunction/server",
|
|
148
|
+
"comment": "Bump @memberjunction/global to v1.0.11",
|
|
149
|
+
"commit": "not available"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"author": "beachball",
|
|
153
|
+
"package": "@memberjunction/server",
|
|
154
|
+
"comment": "Bump @memberjunction/storage to v1.0.11",
|
|
155
|
+
"commit": "not available"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "beachball",
|
|
159
|
+
"package": "@memberjunction/server",
|
|
160
|
+
"comment": "Bump @memberjunction/queue to v1.0.11",
|
|
161
|
+
"commit": "not available"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"author": "beachball",
|
|
165
|
+
"package": "@memberjunction/server",
|
|
166
|
+
"comment": "Bump @memberjunction/sqlserver-dataprovider to v1.0.11",
|
|
167
|
+
"commit": "not available"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"author": "beachball",
|
|
171
|
+
"package": "@memberjunction/server",
|
|
172
|
+
"comment": "Bump @memberjunction/skip-types to v1.0.11",
|
|
173
|
+
"commit": "not available"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"date": "Sun, 14 Apr 2024 15:50:05 GMT",
|
|
6
180
|
"version": "1.0.9",
|
|
7
181
|
"tag": "@memberjunction/server_v1.0.9",
|
|
8
182
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,52 @@
|
|
|
1
1
|
# Change Log - @memberjunction/server
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 26 Apr 2024 15:21:32 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.1.0
|
|
8
|
+
|
|
9
|
+
Fri, 26 Apr 2024 15:21:32 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Bump @memberjunction/ai to v1.1.0
|
|
14
|
+
- Bump @memberjunction/ai-openai to v1.1.0
|
|
15
|
+
- Bump @memberjunction/aiengine to v1.1.0
|
|
16
|
+
- Bump @memberjunction/core to v1.1.0
|
|
17
|
+
- Bump @memberjunction/core-entities to v1.1.0
|
|
18
|
+
- Bump @memberjunction/data-context to v1.1.0
|
|
19
|
+
- Bump @memberjunction/data-context-server to v1.1.0
|
|
20
|
+
- Bump @memberjunction/global to v1.1.0
|
|
21
|
+
- Bump @memberjunction/storage to v1.1.0
|
|
22
|
+
- Bump @memberjunction/queue to v1.1.0
|
|
23
|
+
- Bump @memberjunction/sqlserver-dataprovider to v1.1.0
|
|
24
|
+
- Bump @memberjunction/skip-types to v1.1.0
|
|
25
|
+
|
|
26
|
+
## 1.0.11
|
|
27
|
+
|
|
28
|
+
Wed, 24 Apr 2024 20:57:42 GMT
|
|
29
|
+
|
|
30
|
+
### Patches
|
|
31
|
+
|
|
32
|
+
- * Created mj-form-field component in the ng-base-forms package which is a higher order way of binding to a given field on an entity and it dynamically selects the needed control. Provides several advantages including the ability to easily upgrade functionality on forms and to conditionally render fields in their entirety only when needed (e.g. not show them at all when read only field and new record). * Updated CodeGenLib to emit this new style of Angular Code * Ran Code Gen (97354817+AN-BC@users.noreply.github.com)
|
|
33
|
+
- * bug fixes in Skip UI * added exception handling to ReportResolver (97354817+AN-BC@users.noreply.github.com)
|
|
34
|
+
- Bump @memberjunction/ai to v1.0.11
|
|
35
|
+
- Bump @memberjunction/ai-openai to v1.0.11
|
|
36
|
+
- Bump @memberjunction/aiengine to v1.0.11
|
|
37
|
+
- Bump @memberjunction/core to v1.0.11
|
|
38
|
+
- Bump @memberjunction/core-entities to v1.0.11
|
|
39
|
+
- Bump @memberjunction/data-context to v1.0.11
|
|
40
|
+
- Bump @memberjunction/data-context-server to v1.0.11
|
|
41
|
+
- Bump @memberjunction/global to v1.0.11
|
|
42
|
+
- Bump @memberjunction/storage to v1.0.11
|
|
43
|
+
- Bump @memberjunction/queue to v1.0.11
|
|
44
|
+
- Bump @memberjunction/sqlserver-dataprovider to v1.0.11
|
|
45
|
+
- Bump @memberjunction/skip-types to v1.0.11
|
|
46
|
+
|
|
7
47
|
## 1.0.9
|
|
8
48
|
|
|
9
|
-
Sun, 14 Apr 2024 15:
|
|
49
|
+
Sun, 14 Apr 2024 15:50:05 GMT
|
|
10
50
|
|
|
11
51
|
### Patches
|
|
12
52
|
|
|
@@ -80,6 +80,7 @@ export declare class Employee_ {
|
|
|
80
80
|
EmployeeCompanyIntegrationsArray: mj_core_schema_server_object_types.EmployeeCompanyIntegration_[];
|
|
81
81
|
EmployeeRolesArray: mj_core_schema_server_object_types.EmployeeRole_[];
|
|
82
82
|
EmployeeSkillsArray: mj_core_schema_server_object_types.EmployeeSkill_[];
|
|
83
|
+
UsersArray: mj_core_schema_server_object_types.User_[];
|
|
83
84
|
}
|
|
84
85
|
export declare class CreateEmployeeInput {
|
|
85
86
|
FirstName: string;
|
|
@@ -121,6 +122,7 @@ export declare class EmployeeResolver extends ResolverBase {
|
|
|
121
122
|
EmployeeCompanyIntegrationsArray(employee_: Employee_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
122
123
|
EmployeeRolesArray(employee_: Employee_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
123
124
|
EmployeeSkillsArray(employee_: Employee_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
125
|
+
UsersArray(employee_: Employee_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
124
126
|
CreateEmployee(input: CreateEmployeeInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<{}>;
|
|
125
127
|
protected BeforeCreate(dataSource: DataSource, input: CreateEmployeeInput): Promise<boolean>;
|
|
126
128
|
protected AfterCreate(dataSource: DataSource, input: CreateEmployeeInput): Promise<void>;
|
|
@@ -3771,6 +3773,7 @@ export declare class VectorDatabase_ {
|
|
|
3771
3773
|
CreatedAt: Date;
|
|
3772
3774
|
UpdatedAt: Date;
|
|
3773
3775
|
VectorIndexesArray: mj_core_schema_server_object_types.VectorIndex_[];
|
|
3776
|
+
EntityDocumentsArray: mj_core_schema_server_object_types.EntityDocument_[];
|
|
3774
3777
|
}
|
|
3775
3778
|
export declare class CreateVectorDatabaseInput {
|
|
3776
3779
|
Name: string;
|
|
@@ -3800,6 +3803,7 @@ export declare class VectorDatabaseResolver extends ResolverBase {
|
|
|
3800
3803
|
RunVectorDatabaseDynamicView(input: RunDynamicViewInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult>;
|
|
3801
3804
|
VectorDatabase(ID: number, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<VectorDatabase_ | null>;
|
|
3802
3805
|
VectorIndexesArray(vectordatabase_: VectorDatabase_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
3806
|
+
EntityDocumentsArray(vectordatabase_: VectorDatabase_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
3803
3807
|
CreateVectorDatabase(input: CreateVectorDatabaseInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<{}>;
|
|
3804
3808
|
protected BeforeCreate(dataSource: DataSource, input: CreateVectorDatabaseInput): Promise<boolean>;
|
|
3805
3809
|
protected AfterCreate(dataSource: DataSource, input: CreateVectorDatabaseInput): Promise<void>;
|
|
@@ -3818,6 +3822,7 @@ export declare class EntityRecordDocument_ {
|
|
|
3818
3822
|
EntityRecordUpdatedAt: Date;
|
|
3819
3823
|
CreatedAt: Date;
|
|
3820
3824
|
UpdatedAt: Date;
|
|
3825
|
+
EntityDocumentID: number;
|
|
3821
3826
|
}
|
|
3822
3827
|
export declare class CreateEntityRecordDocumentInput {
|
|
3823
3828
|
EntityID: number;
|
|
@@ -3827,6 +3832,7 @@ export declare class CreateEntityRecordDocumentInput {
|
|
|
3827
3832
|
VectorID: string;
|
|
3828
3833
|
VectorJSON: string;
|
|
3829
3834
|
EntityRecordUpdatedAt: Date;
|
|
3835
|
+
EntityDocumentID: number;
|
|
3830
3836
|
}
|
|
3831
3837
|
export declare class UpdateEntityRecordDocumentInput {
|
|
3832
3838
|
ID: number;
|
|
@@ -3837,6 +3843,7 @@ export declare class UpdateEntityRecordDocumentInput {
|
|
|
3837
3843
|
VectorID: string;
|
|
3838
3844
|
VectorJSON: string;
|
|
3839
3845
|
EntityRecordUpdatedAt: Date;
|
|
3846
|
+
EntityDocumentID: number;
|
|
3840
3847
|
}
|
|
3841
3848
|
export declare class RunEntityRecordDocumentViewResult {
|
|
3842
3849
|
Results: EntityRecordDocument_[];
|
|
@@ -3868,6 +3875,8 @@ export declare class EntityDocument_ {
|
|
|
3868
3875
|
Template?: string;
|
|
3869
3876
|
CreatedAt: Date;
|
|
3870
3877
|
UpdatedAt: Date;
|
|
3878
|
+
VectorDatabaseID: number;
|
|
3879
|
+
AIModelID: number;
|
|
3871
3880
|
Entity: string;
|
|
3872
3881
|
Type: string;
|
|
3873
3882
|
EntityDocumentRunsArray: mj_core_schema_server_object_types.EntityDocumentRun_[];
|
|
@@ -3878,6 +3887,8 @@ export declare class CreateEntityDocumentInput {
|
|
|
3878
3887
|
TypeID: number;
|
|
3879
3888
|
Status: string;
|
|
3880
3889
|
Template: string;
|
|
3890
|
+
VectorDatabaseID: number;
|
|
3891
|
+
AIModelID: number;
|
|
3881
3892
|
}
|
|
3882
3893
|
export declare class UpdateEntityDocumentInput {
|
|
3883
3894
|
ID: number;
|
|
@@ -3886,6 +3897,8 @@ export declare class UpdateEntityDocumentInput {
|
|
|
3886
3897
|
TypeID: number;
|
|
3887
3898
|
Status: string;
|
|
3888
3899
|
Template: string;
|
|
3900
|
+
VectorDatabaseID: number;
|
|
3901
|
+
AIModelID: number;
|
|
3889
3902
|
}
|
|
3890
3903
|
export declare class RunEntityDocumentViewResult {
|
|
3891
3904
|
Results: EntityDocument_[];
|