@seeka-labs/cli-apps 3.5.8 → 3.6.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@example-org-name/example-app-name-browser",
3
- "version": "3.5.8",
3
+ "version": "3.6.2",
4
4
  "description": "Seeka app browser plugin example-app-name",
5
5
  "author": "Seeka company <support@seeka.co>",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@example-org-name/example-app-name-lib",
3
- "version": "3.5.8",
3
+ "version": "3.6.2",
4
4
  "description": "Seeka app library for example-app-name",
5
5
  "author": "Seeka <administrator@seeka.co>",
6
6
  "license": "MIT",
@@ -1,14 +1,14 @@
1
- import type {Logger} from "winston";
2
- import {ExampleAppAppInstallSettings} from "../models";
3
-
4
- // TODO: Use Zod
5
- export const validateInstallationSettings = async (installSettings: ExampleAppAppInstallSettings, logger: Logger): Promise<string | null> => {
6
- // Returning an error message string here will block the installation request or settings update request by the user installing the app
7
-
8
- if(!installSettings) return null;
9
-
10
- if(installSettings.exampleInstallSetting2 && installSettings.exampleInstallSetting2 < 2) return 'Example install setting 2 must be greater than 2';
11
-
12
-
13
- return null;
1
+ import type {Logger} from "winston";
2
+ import {ExampleAppAppInstallSettings} from "../models";
3
+
4
+ // TODO: Use Zod
5
+ export const validateInstallationSettings = async (installSettings: ExampleAppAppInstallSettings, logger: Logger): Promise<string | null> => {
6
+ // Returning an error message string here will block the installation request or settings update request by the user installing the app
7
+
8
+ if(!installSettings) return null;
9
+
10
+ if(installSettings.exampleInstallSetting2 && installSettings.exampleInstallSetting2 < 2) return 'Example install setting 2 must be greater than 2';
11
+
12
+
13
+ return null;
14
14
  }
@@ -22,7 +22,7 @@
22
22
  "SEEKA_TELEMETRY_URL": "",
23
23
  "REDIS_CONNECTION_PORT": "6379",
24
24
  "REDIS_CONNECTION_TLS": "true",
25
- "OTEL_LOG_LEVEL": "debug",
25
+ "OTEL_LOG_LEVEL": "info",
26
26
  "LOGGING_LEVEL": "silly",
27
27
  "SELF_HOST_BASEURL": "",
28
28
  "APP_UI_BASE_PATH": "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@example-org-name/example-app-name-server-azurefunc",
3
- "version": "3.5.8",
3
+ "version": "3.6.2",
4
4
  "description": "Seeka Azure Serverless function app example-app-name",
5
5
  "author": "Seeka <administrator@seeka.co>",
6
6
  "license": "MIT",
@@ -44,9 +44,14 @@ const buildOptions = {
44
44
  'jsonwebtoken',
45
45
  'lodash-es',
46
46
  'yup',
47
+ 'axios',
48
+ // Seeka packages - keep external to share state across functions
49
+ '@seeka-labs/sdk-apps-core',
50
+ '@seeka-labs/sdk-apps-server',
51
+ '@seeka-labs/sdk-apps-server-host',
52
+ '@seeka-labs/sdk-apps-server-telemetry-logging'
47
53
  ],
48
- // @seeka-labs packages will be bundled (not in external list)
49
- // This resolves the ESM/CJS interop issues
54
+
50
55
  mainFields: ['module', 'main'],
51
56
  conditions: ['import', 'require', 'node'],
52
57
  logLevel: 'info',
@@ -1,12 +1,12 @@
1
- 
2
- import {SeekaActivityAcceptedWebhookContent} from "@seeka-labs/sdk-apps-server";
3
- import { BackgroundJobRequestContext } from "@seeka-labs/sdk-apps-server-host";
4
-
5
- export type TrackExampleAppActivityQueueItem = BackgroundJobRequestContext<TrackSeekaExampleAppActivityPayload> & {
6
-
7
- }
8
-
9
- export type TrackSeekaExampleAppActivityPayload = {
10
- seekaActivity: SeekaActivityAcceptedWebhookContent
11
- }
12
-
1
+ 
2
+ import {SeekaActivityAcceptedWebhookContent} from "@seeka-labs/sdk-apps-server";
3
+ import { BackgroundJobRequestContext } from "@seeka-labs/sdk-apps-server-host";
4
+
5
+ export type TrackExampleAppActivityQueueItem = BackgroundJobRequestContext<TrackSeekaExampleAppActivityPayload> & {
6
+
7
+ }
8
+
9
+ export type TrackSeekaExampleAppActivityPayload = {
10
+ seekaActivity: SeekaActivityAcceptedWebhookContent
11
+ }
12
+
@@ -1,8 +1,8 @@
1
- 
2
- import {Logger} from "winston";
3
- import {TrackSeekaExampleAppActivityPayload} from "../models";
4
- import {SeekaAppInstallContext} from "@seeka-labs/sdk-apps-core";
5
-
6
- export const sendActivityToAnotherSoftware = async (payload: TrackSeekaExampleAppActivityPayload, installation: SeekaAppInstallContext<any>, causationId: string, correlationId: string, logger: Logger): Promise<void> => {
7
- // Anything
8
- }
1
+ 
2
+ import {Logger} from "winston";
3
+ import {TrackSeekaExampleAppActivityPayload} from "../models";
4
+ import {SeekaAppInstallContext} from "@seeka-labs/sdk-apps-core";
5
+
6
+ export const sendActivityToAnotherSoftware = async (payload: TrackSeekaExampleAppActivityPayload, installation: SeekaAppInstallContext<any>, causationId: string, correlationId: string, logger: Logger): Promise<void> => {
7
+ // Anything
8
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@example-org-name/example-app-name-ui",
3
- "version": "3.5.8",
3
+ "version": "3.6.2",
4
4
  "description": "Seeka app UI for example-app-name",
5
5
  "author": "Seeka <administrator@seeka.co>",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seeka-labs/cli-apps",
3
- "version": "3.5.8",
3
+ "version": "3.6.2",
4
4
  "description": "Seeka - Apps CLI",
5
5
  "author": "SEEKA <platform@seeka.co>",
6
6
  "license": "MIT",
@@ -59,5 +59,5 @@
59
59
  "ts-jest": "^29",
60
60
  "typescript": "^5"
61
61
  },
62
- "gitHead": "e8f3680995948da2ee9e0fd6673e48707d6f0f23"
62
+ "gitHead": "3aa0bd466970af3f74277e836751818e829ca77b"
63
63
  }
package/README.md DELETED
@@ -1 +0,0 @@
1
- # Seeka Apps CLI
@@ -1,7 +0,0 @@
1
- PORT=3000
2
- EXTEND_ESLINT=TRUE
3
- REACT_APP_RELEASE_TAG=dev
4
- VITE_BASE_URL=/app/
5
-
6
- PROD_VITE_URLS_SEEKA_API_CORE=https://api.seeka.services
7
- PROD_VITE_URLS_SEEKA_APP_CORE_ORIGIN=https://seeka.app