forms-angular 0.12.0-beta.255 → 0.12.0-beta.257

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.
@@ -97,7 +97,7 @@ declare module fngServer {
97
97
  }
98
98
 
99
99
  interface ListParams {
100
- ref: Boolean; // The object is this a lookup?
100
+ ref: Boolean; // The object is this a lookup?
101
101
  }
102
102
 
103
103
  interface ListField {
@@ -106,9 +106,9 @@ declare module fngServer {
106
106
  }
107
107
 
108
108
  interface IFngPlugin {
109
- plugin: (fng: any, expressApp: any, options: FngOptions) => Partial<IFngPlugin>;
109
+ plugin: (fng: any, processArgs: (options: FngOptions, array: any[]) => any[], options: any) => Partial<IFngPlugin>;
110
110
  options: any;
111
- dependencyChecks? : {[resourceName: string] : DependencyList; };
111
+ dependencyChecks? : { [resourceName: string] : DependencyList; };
112
112
  }
113
113
 
114
114
  interface IPluginMap {
@@ -118,6 +118,7 @@ declare module fngServer {
118
118
  interface FngOptions {
119
119
  urlPrefix?: string,
120
120
  plugins?: IPluginMap,
121
+ authentication?: (() => void)[];
121
122
  modelFilter? : (p1: any, req: Request, resources: Resource[]) => Resource[]
122
123
  }
123
124
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Mark Chapman <support@forms-angular.org>",
4
4
  "description": "A form builder that sits on top of Angular.js, Twitter Bootstrap, jQuery UI, Angular-UI, Express and Mongoose. Opinionated or what?",
5
5
  "homepage": "http://forms-angular.org",
6
- "version": "0.12.0-beta.255",
6
+ "version": "0.12.0-beta.257",
7
7
  "engines": {
8
8
  "node": ">=8.x",
9
9
  "npm": ">=5.x"
@@ -87,6 +87,7 @@
87
87
  "karma-ng-html2js-preprocessor": "1.0.0",
88
88
  "matchdep": "2.0.0",
89
89
  "mocha": "^10.2.0",
90
+ "mongodb": "^5",
90
91
  "mongoose": "^8",
91
92
  "prettier": "3.1.1",
92
93
  "pump": "3.0.0",