@osaas/client-services 0.14.0 → 0.15.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/lib/generated/apache-couchdb.d.ts +45 -0
- package/lib/generated/apache-couchdb.d.ts.map +1 -1
- package/lib/generated/apache-couchdb.js.map +1 -1
- package/lib/generated/clickhouse-clickhouse.d.ts +101 -3
- package/lib/generated/clickhouse-clickhouse.d.ts.map +1 -1
- package/lib/generated/clickhouse-clickhouse.js.map +1 -1
- package/lib/generated/ether-etherpad-lite.d.ts +630 -0
- package/lib/generated/ether-etherpad-lite.d.ts.map +1 -0
- package/lib/generated/ether-etherpad-lite.js +87 -0
- package/lib/generated/ether-etherpad-lite.js.map +1 -0
- package/lib/generated/eyevinn-ad-normalizer.d.ts +1 -1
- package/lib/generated/eyevinn-ad-normalizer.js +1 -1
- package/lib/generated/eyevinn-python-runner.d.ts +8 -8
- package/lib/generated/eyevinn-python-runner.js +8 -8
- package/lib/generated/eyevinn-wasm-runner.d.ts +221 -10
- package/lib/generated/eyevinn-wasm-runner.d.ts.map +1 -1
- package/lib/generated/eyevinn-wasm-runner.js +5 -3
- package/lib/generated/eyevinn-wasm-runner.js.map +1 -1
- package/lib/generated/eyevinn-web-runner.d.ts +8 -8
- package/lib/generated/eyevinn-web-runner.js +8 -8
- package/lib/generated/go-gitea-gitea.d.ts +630 -0
- package/lib/generated/go-gitea-gitea.d.ts.map +1 -0
- package/lib/generated/go-gitea-gitea.js +87 -0
- package/lib/generated/go-gitea-gitea.js.map +1 -0
- package/lib/generated/grusell-encore-profile-server.d.ts +8 -8
- package/lib/generated/grusell-encore-profile-server.js +8 -8
- package/lib/generated/juiceandthejoe-todo-list-vibe.d.ts +630 -0
- package/lib/generated/juiceandthejoe-todo-list-vibe.d.ts.map +1 -0
- package/lib/generated/juiceandthejoe-todo-list-vibe.js +87 -0
- package/lib/generated/juiceandthejoe-todo-list-vibe.js.map +1 -0
- package/lib/generated/meilisearch-meilisearch.d.ts +630 -0
- package/lib/generated/meilisearch-meilisearch.d.ts.map +1 -0
- package/lib/generated/meilisearch-meilisearch.js +87 -0
- package/lib/generated/meilisearch-meilisearch.js.map +1 -0
- package/lib/generated/neo4j-docker-neo4j.d.ts +630 -0
- package/lib/generated/neo4j-docker-neo4j.d.ts.map +1 -0
- package/lib/generated/neo4j-docker-neo4j.js +87 -0
- package/lib/generated/neo4j-docker-neo4j.js.map +1 -0
- package/lib/generated/oss-apps-dynamic-og.d.ts +637 -0
- package/lib/generated/oss-apps-dynamic-og.d.ts.map +1 -0
- package/lib/generated/oss-apps-dynamic-og.js +88 -0
- package/lib/generated/oss-apps-dynamic-og.js.map +1 -0
- package/lib/generated/reconurge-flowsint.d.ts +672 -0
- package/lib/generated/reconurge-flowsint.d.ts.map +1 -0
- package/lib/generated/reconurge-flowsint.js +93 -0
- package/lib/generated/reconurge-flowsint.js.map +1 -0
- package/lib/generated/seanzhang414-openadserver.d.ts +637 -0
- package/lib/generated/seanzhang414-openadserver.d.ts.map +1 -0
- package/lib/generated/seanzhang414-openadserver.js +88 -0
- package/lib/generated/seanzhang414-openadserver.js.map +1 -0
- package/lib/generated/srperens-uturn.d.ts +637 -0
- package/lib/generated/srperens-uturn.d.ts.map +1 -0
- package/lib/generated/srperens-uturn.js +88 -0
- package/lib/generated/srperens-uturn.js.map +1 -0
- package/lib/generated/tuomoku-spx-gc.d.ts +693 -0
- package/lib/generated/tuomoku-spx-gc.d.ts.map +1 -0
- package/lib/generated/tuomoku-spx-gc.js +96 -0
- package/lib/generated/tuomoku-spx-gc.js.map +1 -0
- package/lib/generated/usememos-memos.d.ts +623 -0
- package/lib/generated/usememos-memos.d.ts.map +1 -0
- package/lib/generated/usememos-memos.js +86 -0
- package/lib/generated/usememos-memos.js.map +1 -0
- package/lib/index.d.ts +11 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +46 -1
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by openapi-typescript.
|
|
4
|
+
* Do not make direct changes to the file.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.getGoGiteaGiteaInstance = exports.removeGoGiteaGiteaInstance = exports.createGoGiteaGiteaInstance = void 0;
|
|
8
|
+
const client_core_1 = require("@osaas/client-core");
|
|
9
|
+
/**
|
|
10
|
+
* @namespace go-gitea-gitea
|
|
11
|
+
* @description Discover Gitea, your lightweight, self-hosted Git solution designed for speed and simplicity. Cross-platform and scalable, Gitea empowers seamless code collaboration for teams of all sizes. Try it today!
|
|
12
|
+
* @author Eyevinn Technology AB <osc@eyevinn.se>
|
|
13
|
+
* @copyright 2026 Eyevinn Technology AB
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef {Object} GoGiteaGiteaConfig
|
|
18
|
+
* @property {string} name - Name of gitea
|
|
19
|
+
* @property {string} DatabaseUrl - Database connection URL for Gitea. Gitea supports multiple database backends including SQLite, MySQL, PostgreSQL, and MSSQL. This URL specifies the connection string to your chosen database.
|
|
20
|
+
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* @typedef {Object} GoGiteaGitea
|
|
25
|
+
* @property {string} name - Name of the Gitea instance
|
|
26
|
+
* @property {string} url - URL of the Gitea instance
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Create a new Gitea instance
|
|
31
|
+
*
|
|
32
|
+
* @memberOf go-gitea-gitea
|
|
33
|
+
* @async
|
|
34
|
+
* @param {Context} context - Open Source Cloud configuration context
|
|
35
|
+
* @param {GoGiteaGiteaConfig} body - Service instance configuration
|
|
36
|
+
* @returns {GoGiteaGitea} - Service instance
|
|
37
|
+
* @example
|
|
38
|
+
* import { Context } from '@osaas/client-core';
|
|
39
|
+
* import { createGoGiteaGiteaInstance } from '@osaas/client-services';
|
|
40
|
+
*
|
|
41
|
+
* const ctx = new Context();
|
|
42
|
+
* const body: GoGiteaGiteaConfig = { name: 'myinstance', ... };
|
|
43
|
+
* const instance = await createGoGiteaGiteaInstance(ctx, body);
|
|
44
|
+
* console.log(instance.url);
|
|
45
|
+
*/
|
|
46
|
+
async function createGoGiteaGiteaInstance(ctx, body) {
|
|
47
|
+
const serviceAccessToken = await ctx.getServiceAccessToken('go-gitea-gitea');
|
|
48
|
+
const instance = await (0, client_core_1.createInstance)(ctx, 'go-gitea-gitea', serviceAccessToken, body);
|
|
49
|
+
await (0, client_core_1.waitForInstanceReady)('go-gitea-gitea', instance.name, ctx);
|
|
50
|
+
return instance;
|
|
51
|
+
}
|
|
52
|
+
exports.createGoGiteaGiteaInstance = createGoGiteaGiteaInstance;
|
|
53
|
+
/**
|
|
54
|
+
* Remove a Gitea instance
|
|
55
|
+
*
|
|
56
|
+
* @memberOf go-gitea-gitea
|
|
57
|
+
* @async
|
|
58
|
+
* @param {Context} context - Open Source Cloud configuration context
|
|
59
|
+
* @param {string} name - Name of the gitea to be removed
|
|
60
|
+
*/
|
|
61
|
+
async function removeGoGiteaGiteaInstance(ctx, name) {
|
|
62
|
+
const serviceAccessToken = await ctx.getServiceAccessToken('go-gitea-gitea');
|
|
63
|
+
await (0, client_core_1.removeInstance)(ctx, 'go-gitea-gitea', name, serviceAccessToken);
|
|
64
|
+
}
|
|
65
|
+
exports.removeGoGiteaGiteaInstance = removeGoGiteaGiteaInstance;
|
|
66
|
+
/**
|
|
67
|
+
* Get a Gitea instance
|
|
68
|
+
*
|
|
69
|
+
* @memberOf go-gitea-gitea
|
|
70
|
+
* @async
|
|
71
|
+
* @param {Context} context - Open Source Cloud configuration context
|
|
72
|
+
* @param {string} name - Name of the gitea to be retrieved
|
|
73
|
+
* @returns {GoGiteaGitea} - Service instance
|
|
74
|
+
* @example
|
|
75
|
+
* import { Context } from '@osaas/client-core';
|
|
76
|
+
* import { getGoGiteaGiteaInstance } from '@osaas/client-services';
|
|
77
|
+
*
|
|
78
|
+
* const ctx = new Context();
|
|
79
|
+
* const instance = await getGoGiteaGiteaInstance(ctx, 'myinstance');
|
|
80
|
+
* console.log(instance.url);
|
|
81
|
+
*/
|
|
82
|
+
async function getGoGiteaGiteaInstance(ctx, name) {
|
|
83
|
+
const serviceAccessToken = await ctx.getServiceAccessToken('go-gitea-gitea');
|
|
84
|
+
return await (0, client_core_1.getInstance)(ctx, 'go-gitea-gitea', name, serviceAccessToken);
|
|
85
|
+
}
|
|
86
|
+
exports.getGoGiteaGiteaInstance = getGoGiteaGiteaInstance;
|
|
87
|
+
//# sourceMappingURL=go-gitea-gitea.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"go-gitea-gitea.js","sourceRoot":"","sources":["../../src/generated/go-gitea-gitea.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAujBH,oDAM4B;AAC5B;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACI,KAAK,UAAU,0BAA0B,CAC9C,GAAY,EACZ,IAAwB;IAExB,MAAM,kBAAkB,GAAG,MAAM,GAAG,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;IAC7E,MAAM,QAAQ,GAAG,MAAM,IAAA,4BAAc,EACnC,GAAG,EACH,gBAAgB,EAChB,kBAAkB,EAClB,IAAI,CACL,CAAC;IACF,MAAM,IAAA,kCAAoB,EAAC,gBAAgB,EAAE,QAAQ,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACjE,OAAO,QAAQ,CAAC;AAClB,CAAC;AAbD,gEAaC;AAED;;;;;;;GAOG;AACI,KAAK,UAAU,0BAA0B,CAC9C,GAAY,EACZ,IAAY;IAEZ,MAAM,kBAAkB,GAAG,MAAM,GAAG,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;IAC7E,MAAM,IAAA,4BAAc,EAAC,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAE,kBAAkB,CAAC,CAAC;AACxE,CAAC;AAND,gEAMC;AAED;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,uBAAuB,CAC3C,GAAY,EACZ,IAAY;IAEZ,MAAM,kBAAkB,GAAG,MAAM,GAAG,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;IAC7E,OAAO,MAAM,IAAA,yBAAW,EAAC,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAE,kBAAkB,CAAC,CAAC;AAC5E,CAAC;AAND,0DAMC"}
|
|
@@ -567,14 +567,14 @@ import { Context } from '@osaas/client-core';
|
|
|
567
567
|
/**
|
|
568
568
|
* @typedef {Object} GrusellEncoreProfileServerConfig
|
|
569
569
|
* @property {string} name - Name of encore-profile-server
|
|
570
|
-
* @property {string} [s3Endpoint] -
|
|
571
|
-
* @property {string} [s3Region] -
|
|
572
|
-
* @property {string} [s3AccessKey] -
|
|
573
|
-
* @property {string} [s3SecretKey] -
|
|
574
|
-
* @property {string} [s3Bucket] -
|
|
575
|
-
* @property {string} [s3Prefix] -
|
|
576
|
-
* @property {string} [anthropicApiKey] -
|
|
577
|
-
* @property {string} [anthropicModel] -
|
|
570
|
+
* @property {string} [s3Endpoint] - The endpoint URL for the S3-compatible storage service where Encore transcoding profiles are stored
|
|
571
|
+
* @property {string} [s3Region] - The AWS region or region identifier for the S3-compatible storage service
|
|
572
|
+
* @property {string} [s3AccessKey] - The access key ID for authenticating with the S3-compatible storage service
|
|
573
|
+
* @property {string} [s3SecretKey] - The secret access key for authenticating with the S3-compatible storage service
|
|
574
|
+
* @property {string} [s3Bucket] - The name of the S3 bucket containing the Encore transcoding profile files (YAML/JSON)
|
|
575
|
+
* @property {string} [s3Prefix] - Optional prefix path within the S3 bucket to limit profile file discovery to a specific directory/folder
|
|
576
|
+
* @property {string} [anthropicApiKey] - API key for accessing Anthropic's Claude AI service to enable AI-powered profile generation via the /feelinglucky endpoint
|
|
577
|
+
* @property {string} [anthropicModel] - Specifies which Claude AI model to use for generating Encore transcoding profiles
|
|
578
578
|
|
|
579
579
|
*
|
|
580
580
|
*/
|
|
@@ -16,14 +16,14 @@ const client_core_1 = require("@osaas/client-core");
|
|
|
16
16
|
/**
|
|
17
17
|
* @typedef {Object} GrusellEncoreProfileServerConfig
|
|
18
18
|
* @property {string} name - Name of encore-profile-server
|
|
19
|
-
* @property {string} [s3Endpoint] -
|
|
20
|
-
* @property {string} [s3Region] -
|
|
21
|
-
* @property {string} [s3AccessKey] -
|
|
22
|
-
* @property {string} [s3SecretKey] -
|
|
23
|
-
* @property {string} [s3Bucket] -
|
|
24
|
-
* @property {string} [s3Prefix] -
|
|
25
|
-
* @property {string} [anthropicApiKey] -
|
|
26
|
-
* @property {string} [anthropicModel] -
|
|
19
|
+
* @property {string} [s3Endpoint] - The endpoint URL for the S3-compatible storage service where Encore transcoding profiles are stored
|
|
20
|
+
* @property {string} [s3Region] - The AWS region or region identifier for the S3-compatible storage service
|
|
21
|
+
* @property {string} [s3AccessKey] - The access key ID for authenticating with the S3-compatible storage service
|
|
22
|
+
* @property {string} [s3SecretKey] - The secret access key for authenticating with the S3-compatible storage service
|
|
23
|
+
* @property {string} [s3Bucket] - The name of the S3 bucket containing the Encore transcoding profile files (YAML/JSON)
|
|
24
|
+
* @property {string} [s3Prefix] - Optional prefix path within the S3 bucket to limit profile file discovery to a specific directory/folder
|
|
25
|
+
* @property {string} [anthropicApiKey] - API key for accessing Anthropic's Claude AI service to enable AI-powered profile generation via the /feelinglucky endpoint
|
|
26
|
+
* @property {string} [anthropicModel] - Specifies which Claude AI model to use for generating Encore transcoding profiles
|
|
27
27
|
|
|
28
28
|
*
|
|
29
29
|
*/
|