@mintplayer/ng-spark 22.0.11 → 22.2.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-spark",
3
3
  "private": false,
4
- "version": "22.0.11",
4
+ "version": "22.2.0",
5
5
  "description": "Angular component library for MintPlayer.Spark CRUD applications",
6
6
  "repository": {
7
7
  "type": "git",
@@ -215,10 +215,8 @@ interface SparkQuery {
215
215
  alias?: string;
216
216
  sortColumns: SparkQuerySortColumn[];
217
217
  renderMode?: SparkQueryRenderMode;
218
- /** Optional RavenDB index name for queries using indexes */
218
+ /** The RavenDB index this query runs against, resolved by name server-side. */
219
219
  indexName?: string;
220
- /** When true, uses the projection type from [QueryType] attribute */
221
- useProjection?: boolean;
222
220
  /** Optional entity type name (e.g., "Person"). When set, used for entity type resolution. */
223
221
  entityType?: string;
224
222
  /** When true, this query uses WebSocket streaming with snapshot + patch updates. */
@@ -292,6 +290,13 @@ interface RetryActionResult {
292
290
  }
293
291
 
294
292
  interface EntityPermissions {
293
+ /**
294
+ * Whether the caller may list this type. Independently grantable from `canRead` — `Query/Person`
295
+ * alone lists rows while refusing a by-id load — and reported since preview.60. The combined
296
+ * `QueryRead` right bundles the two invisibly, which is why this was the one action introspection
297
+ * never mentioned.
298
+ */
299
+ canQuery: boolean;
295
300
  canRead: boolean;
296
301
  canCreate: boolean;
297
302
  canEdit: boolean;