@opengis/fastify-table 2.5.30 → 2.5.31

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.
@@ -142,6 +142,7 @@ declare const searchSchema: {
142
142
  declare const suggestSchema: {
143
143
  querystring: {
144
144
  type: string;
145
+ additionalProperties: boolean;
145
146
  properties: {
146
147
  lang: {
147
148
  type: string;
@@ -159,6 +160,10 @@ declare const suggestSchema: {
159
160
  type: string;
160
161
  pattern: string;
161
162
  };
163
+ key: {
164
+ type: string;
165
+ pattern: string;
166
+ };
162
167
  val: {
163
168
  type: string;
164
169
  pattern: string;
@@ -169,14 +174,16 @@ declare const suggestSchema: {
169
174
  count: {
170
175
  type: string;
171
176
  };
172
- json: {
173
- type: string;
174
- };
175
177
  };
176
178
  };
177
179
  params: {
178
180
  type: string;
179
- properties: {};
181
+ properties: {
182
+ data: {
183
+ type: string;
184
+ pattern: string;
185
+ };
186
+ };
180
187
  };
181
188
  };
182
189
  declare const formSchema: {
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../server/routes/table/schema.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBpB,CAAC;AAEF,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BhB,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAajB,CAAC;AAEF,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBlB,CAAC;AAEF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;CAQf,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;CAOjB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;CAatB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;CAQtB,CAAC;AAEF,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,UAAU,EACV,YAAY,EACZ,iBAAiB,GAClB,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../server/routes/table/schema.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBpB,CAAC;AAEF,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BhB,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAajB,CAAC;AAEF,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBlB,CAAC;AAEF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;CAQf,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;CAOjB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;CAatB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;CAQtB,CAAC;AAEF,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,UAAU,EACV,YAAY,EACZ,iBAAiB,GAClB,CAAC"}
@@ -68,22 +68,22 @@ const searchSchema = {
68
68
  const suggestSchema = {
69
69
  querystring: {
70
70
  type: "object",
71
+ additionalProperties: false,
71
72
  properties: {
72
73
  lang: { type: "string", pattern: "^([\\w]+)$" },
73
74
  parent: { type: "string", pattern: "^([\\d\\w_.-]+)$" },
74
75
  sel: { type: "string", pattern: "^([\\d\\w_.-]+)$" },
75
76
  name: { type: "string", pattern: "^([\\d\\w_.-]+)$" },
76
- // key: { type: 'string', pattern: '^([\\d\\w_.-]+)$' },
77
+ key: { type: "string", pattern: "^([\\d\\w_.-]+)$" },
77
78
  val: { type: "string", pattern: "([\\d\\w]+)$" },
78
79
  sql: { type: "number" },
79
80
  count: { type: "number" },
80
- json: { type: "number" },
81
81
  },
82
82
  },
83
83
  params: {
84
84
  type: "object",
85
85
  properties: {
86
- // data: { type: 'string', pattern: '^([\\d\\w]+)$' },
86
+ data: { type: "string", pattern: "^([\\d\\w_.-:]+)$" },
87
87
  },
88
88
  },
89
89
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/fastify-table",
3
- "version": "2.5.30",
3
+ "version": "2.5.31",
4
4
  "type": "module",
5
5
  "description": "core-plugins",
6
6
  "keywords": [