@stoker-platform/cli 0.5.26 → 0.5.28

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.
@@ -20,7 +20,7 @@
20
20
  "main": "lib/index.js",
21
21
  "dependencies": {
22
22
  "@genkit-ai/firebase": "latest",
23
- "@genkit-ai/vertexai": "latest",
23
+ "@genkit-ai/google-genai": "latest",
24
24
  "@google-cloud/storage": "latest",
25
25
  "@stoker-platform/node-client": "latest",
26
26
  "@stoker-platform/system-functions": "latest",
@@ -1,5 +1,5 @@
1
1
  ---
2
- model: vertexai/gemini-2.0-flash
2
+ model: vertexai/gemini-2.5-pro
3
3
  input:
4
4
  schema:
5
5
  collection: string
@@ -48,7 +48,7 @@ import {
48
48
  import globalConfig from "./system-custom/main.js";
49
49
  import * as functions from "firebase-functions/v1";
50
50
  import {genkit} from "genkit";
51
- import {vertexAI} from "@genkit-ai/vertexai";
51
+ import {vertexAI} from "@genkit-ai/google-genai";
52
52
  import {enableFirebaseTelemetry} from "@genkit-ai/firebase";
53
53
  import {onSchedule} from "firebase-functions/v2/scheduler";
54
54
  import {sendMail, sendMessage} from "@stoker-platform/node-client";
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/cli",
3
- "version": "0.5.25",
3
+ "version": "0.5.28",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "./lib/src/main.js",
@@ -24,9 +24,9 @@
24
24
  "@google-cloud/secret-manager": "^6.1.1",
25
25
  "@google-cloud/storage": "^7.19.0",
26
26
  "@inquirer/prompts": "^8.2.0",
27
- "@stoker-platform/node-client": "0.5.17",
28
- "@stoker-platform/types": "0.5.7",
29
- "@stoker-platform/utils": "0.5.11",
27
+ "@stoker-platform/node-client": "0.5.18",
28
+ "@stoker-platform/types": "0.5.8",
29
+ "@stoker-platform/utils": "0.5.12",
30
30
  "algoliasearch": "^5.48.0",
31
31
  "commander": "^14.0.0",
32
32
  "cross-spawn": "^7.0.6",
@@ -322,7 +322,11 @@ export const lintSchema = async (noLog = false) => {
322
322
  errors.push(`Collection ${collectionName} has a preload cache with a range field ${field} that does not exist`);
323
323
  }
324
324
  else if (rangeField.access) {
325
- errors.push(`Collection ${collectionName} has a preload cache range field ${field} with access restrictions`);
325
+ preloadCache.roles.forEach((role) => {
326
+ if (!rangeField.access?.includes(role)) {
327
+ errors.push(`Collection ${collectionName} has a preload cache range field ${field} that can't be accessed by role ${role}`);
328
+ }
329
+ });
326
330
  }
327
331
  });
328
332
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/cli",
3
- "version": "0.5.26",
3
+ "version": "0.5.28",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "./lib/src/main.js",