@computec/uibase 1.0.7 → 1.0.8

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.
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Helper for navigating from UIAPI Web Client extensions to AppEngine plugin routes.
3
+ *
4
+ * AppEngine plugins are opened via the Web Client hash URL format:
5
+ * `#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/{pluginId},{route}/{pluginName}`
6
+ *
7
+ * Routes containing path separators (e.g. `ctp/4/0`) must be double-encoded
8
+ * so that both the browser and the SAPUI5 router decode them correctly.
9
+ */
10
+ export default class NavigationHelper {
11
+ private static readonly HASH_PREFIX;
12
+ /**
13
+ * Build the full Web Client hash URL for navigating to an AppEngine plugin route.
14
+ *
15
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
16
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`, `"wizard"`)
17
+ * @param pluginName Optional display name; defaults to `pluginId`
18
+ * @returns The complete hash URL string
19
+ *
20
+ * @example
21
+ * ```typescript
22
+ * NavigationHelper.buildPluginUrl("MRP", "ctp/4/0");
23
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,ctp%252F4%252F0/MRP"
24
+ *
25
+ * NavigationHelper.buildPluginUrl("MRP", "wizard");
26
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,wizard/MRP"
27
+ * ```
28
+ */
29
+ static buildPluginUrl(pluginId: string, route: string, pluginName?: string): string;
30
+ /**
31
+ * Navigate to an AppEngine plugin route using the SDKEnv `open` method.
32
+ *
33
+ * @param openFn A function that opens a URL — typically `oEnv.open.bind(oEnv)` or `(url) => oEnv.open(url)`
34
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
35
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`)
36
+ * @param pluginName Optional display name; defaults to `pluginId`
37
+ *
38
+ * @example
39
+ * ```typescript
40
+ * // In a UIAPI controller:
41
+ * import { NavigationHelper } from "@computec/uibase";
42
+ *
43
+ * await NavigationHelper.openPlugin(
44
+ * (url) => oEnv.open(url),
45
+ * "MRP",
46
+ * `ctp/${docEntry}/${lineNum}`
47
+ * );
48
+ * ```
49
+ */
50
+ static openPlugin(openFn: (url: string) => Promise<void>, pluginId: string, route: string, pluginName?: string): Promise<void>;
51
+ }
52
+ //# sourceMappingURL=NavigationHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationHelper.d.ts","sourceRoot":"","sources":["../../src/helpers/NavigationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAgB;IACpC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CACyB;IAE5D;;;;;;;;;;;;;;;;OAgBG;WACW,cAAc,CAC3B,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,GACjB,MAAM;IAKT;;;;;;;;;;;;;;;;;;;OAmBG;WACiB,UAAU,CAC7B,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,EACtC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC;CAIhB"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ /**
13
+ * Helper for navigating from UIAPI Web Client extensions to AppEngine plugin routes.
14
+ *
15
+ * AppEngine plugins are opened via the Web Client hash URL format:
16
+ * `#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/{pluginId},{route}/{pluginName}`
17
+ *
18
+ * Routes containing path separators (e.g. `ctp/4/0`) must be double-encoded
19
+ * so that both the browser and the SAPUI5 router decode them correctly.
20
+ */
21
+ class NavigationHelper {
22
+ /**
23
+ * Build the full Web Client hash URL for navigating to an AppEngine plugin route.
24
+ *
25
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
26
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`, `"wizard"`)
27
+ * @param pluginName Optional display name; defaults to `pluginId`
28
+ * @returns The complete hash URL string
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * NavigationHelper.buildPluginUrl("MRP", "ctp/4/0");
33
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,ctp%252F4%252F0/MRP"
34
+ *
35
+ * NavigationHelper.buildPluginUrl("MRP", "wizard");
36
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,wizard/MRP"
37
+ * ```
38
+ */
39
+ static buildPluginUrl(pluginId, route, pluginName) {
40
+ const encodedRoute = encodeURIComponent(encodeURIComponent(route));
41
+ return `${NavigationHelper.HASH_PREFIX}&/${pluginId},${encodedRoute}/${pluginName !== null && pluginName !== void 0 ? pluginName : pluginId}`;
42
+ }
43
+ /**
44
+ * Navigate to an AppEngine plugin route using the SDKEnv `open` method.
45
+ *
46
+ * @param openFn A function that opens a URL — typically `oEnv.open.bind(oEnv)` or `(url) => oEnv.open(url)`
47
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
48
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`)
49
+ * @param pluginName Optional display name; defaults to `pluginId`
50
+ *
51
+ * @example
52
+ * ```typescript
53
+ * // In a UIAPI controller:
54
+ * import { NavigationHelper } from "@computec/uibase";
55
+ *
56
+ * await NavigationHelper.openPlugin(
57
+ * (url) => oEnv.open(url),
58
+ * "MRP",
59
+ * `ctp/${docEntry}/${lineNum}`
60
+ * );
61
+ * ```
62
+ */
63
+ static openPlugin(openFn, pluginId, route, pluginName) {
64
+ return __awaiter(this, void 0, void 0, function* () {
65
+ const url = NavigationHelper.buildPluginUrl(pluginId, route, pluginName);
66
+ yield openFn(url);
67
+ });
68
+ }
69
+ }
70
+ NavigationHelper.HASH_PREFIX = "#webclient-CompuTecWebClientStart-CompuTecWebClientStart";
71
+ exports.default = NavigationHelper;
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Helper for navigating from UIAPI Web Client extensions to AppEngine plugin routes.
3
+ *
4
+ * AppEngine plugins are opened via the Web Client hash URL format:
5
+ * `#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/{pluginId},{route}/{pluginName}`
6
+ *
7
+ * Routes containing path separators (e.g. `ctp/4/0`) must be double-encoded
8
+ * so that both the browser and the SAPUI5 router decode them correctly.
9
+ */
10
+ export default class WebClientNavigationHelper {
11
+ private static readonly HASH_PREFIX;
12
+ /**
13
+ * Build the full Web Client hash URL for navigating to an AppEngine plugin route.
14
+ *
15
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
16
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`, `"wizard"`)
17
+ * @param pluginName Optional display name; defaults to `pluginId`
18
+ * @returns The complete hash URL string
19
+ *
20
+ * @example
21
+ * ```typescript
22
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "ctp/4/0");
23
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,ctp%252F4%252F0/MRP"
24
+ *
25
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "wizard");
26
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,wizard/MRP"
27
+ * ```
28
+ */
29
+ static buildPluginUrl(pluginId: string, route: string, pluginName?: string): string;
30
+ /**
31
+ * Navigate to an AppEngine plugin route using the SDKEnv `open` method.
32
+ *
33
+ * @param openFn A function that opens a URL — typically `oEnv.open.bind(oEnv)` or `(url) => oEnv.open(url)`
34
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
35
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`)
36
+ * @param pluginName Optional display name; defaults to `pluginId`
37
+ *
38
+ * @example
39
+ * ```typescript
40
+ * // In a UIAPI controller:
41
+ * import { WebClientNavigationHelper } from "@computec/uibase";
42
+ *
43
+ * await WebClientNavigationHelper.openPlugin(
44
+ * (url) => oEnv.open(url),
45
+ * "MRP",
46
+ * `ctp/${docEntry}/${lineNum}`
47
+ * );
48
+ * ```
49
+ */
50
+ static openPlugin(openFn: (url: string) => Promise<void>, pluginId: string, route: string, pluginName?: string): Promise<void>;
51
+ }
52
+ //# sourceMappingURL=WebClientNavigationHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebClientNavigationHelper.d.ts","sourceRoot":"","sources":["../../src/helpers/WebClientNavigationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,yBAAyB;IAC7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CACyB;IAE5D;;;;;;;;;;;;;;;;OAgBG;WACW,cAAc,CAC3B,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,GACjB,MAAM;IAKT;;;;;;;;;;;;;;;;;;;OAmBG;WACiB,UAAU,CAC7B,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,EACtC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC;CAIhB"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ /**
13
+ * Helper for navigating from UIAPI Web Client extensions to AppEngine plugin routes.
14
+ *
15
+ * AppEngine plugins are opened via the Web Client hash URL format:
16
+ * `#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/{pluginId},{route}/{pluginName}`
17
+ *
18
+ * Routes containing path separators (e.g. `ctp/4/0`) must be double-encoded
19
+ * so that both the browser and the SAPUI5 router decode them correctly.
20
+ */
21
+ class WebClientNavigationHelper {
22
+ /**
23
+ * Build the full Web Client hash URL for navigating to an AppEngine plugin route.
24
+ *
25
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
26
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`, `"wizard"`)
27
+ * @param pluginName Optional display name; defaults to `pluginId`
28
+ * @returns The complete hash URL string
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "ctp/4/0");
33
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,ctp%252F4%252F0/MRP"
34
+ *
35
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "wizard");
36
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,wizard/MRP"
37
+ * ```
38
+ */
39
+ static buildPluginUrl(pluginId, route, pluginName) {
40
+ const encodedRoute = encodeURIComponent(encodeURIComponent(route));
41
+ return `${WebClientNavigationHelper.HASH_PREFIX}&/${pluginId},${encodedRoute}/${pluginName !== null && pluginName !== void 0 ? pluginName : pluginId}`;
42
+ }
43
+ /**
44
+ * Navigate to an AppEngine plugin route using the SDKEnv `open` method.
45
+ *
46
+ * @param openFn A function that opens a URL — typically `oEnv.open.bind(oEnv)` or `(url) => oEnv.open(url)`
47
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
48
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`)
49
+ * @param pluginName Optional display name; defaults to `pluginId`
50
+ *
51
+ * @example
52
+ * ```typescript
53
+ * // In a UIAPI controller:
54
+ * import { WebClientNavigationHelper } from "@computec/uibase";
55
+ *
56
+ * await WebClientNavigationHelper.openPlugin(
57
+ * (url) => oEnv.open(url),
58
+ * "MRP",
59
+ * `ctp/${docEntry}/${lineNum}`
60
+ * );
61
+ * ```
62
+ */
63
+ static openPlugin(openFn, pluginId, route, pluginName) {
64
+ return __awaiter(this, void 0, void 0, function* () {
65
+ const url = WebClientNavigationHelper.buildPluginUrl(pluginId, route, pluginName);
66
+ yield openFn(url);
67
+ });
68
+ }
69
+ }
70
+ WebClientNavigationHelper.HASH_PREFIX = "#webclient-CompuTecWebClientStart-CompuTecWebClientStart";
71
+ exports.default = WebClientNavigationHelper;
@@ -2,7 +2,7 @@
2
2
  <library xmlns="http://www.sap.com/sap.ui.library.xsd">
3
3
  <name>computec.appengine.uibase</name>
4
4
  <vendor>CompuTec S.A.</vendor>
5
- <version>1.0.7</version>
5
+ <version>1.0.8</version>
6
6
  <copyright>Copyright (c) CompuTec S.A.2025</copyright>
7
7
  <title>uibase</title>
8
8
  <documentation>Core library required by AppEngine plugins</documentation>
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/core/Lib", "sap/ui/core/library"], function (Lib, coreLib
13
13
  // delegate further initialization of this library to the Core
14
14
  var thisLib = Lib.init({
15
15
  name: "computec.appengine.uibase",
16
- version: "1.0.7",
16
+ version: "1.0.8",
17
17
  dependencies: [],
18
18
  types: [],
19
19
  interfaces: [],
@@ -40,9 +40,9 @@ sap.ui.require.preload({
40
40
  "use strict";sap.ui.define(["./communication/HttpClient","./communication/HttpClientCacheOptions","./communication/IBaseHttpClientOptions","./helpers/ErrorHelper","./helpers/HttpClientHelper","./models/AppEngineConfiguration","./models/AppEngineException","./models/DocumentedException","./models/BaseBusinessObject","./models/CompanyInfo","./models/enums/HeadersContentTypeEnum","./models/enums/StorageTypeEnum","./models/interfaces/IAppEngineConfiguration","./models/interfaces/IAppEngineException","./models/LocalStorage","./models/Session","./models/UserInfo","./models/Version"],function(e,n,t,o,i,s,l,u,p,a,r,d,f,c,m,E,C,g){"use strict";var H={__esModule:true};H.HttpClient=e.default;function I(e,n){n&&Object.keys(n).forEach(function(t){if(t==="default"||t==="__esModule")return;Object.defineProperty(e,t,{enumerable:true,get:function e(){return n[t]}})})}I(H,e);H.HttpClientCacheOptions=n.default;I(H,n);I(H,t);H.ErrorHelper=o.default;I(H,o);H.HttpClientHelper=i.default;I(H,i);H.AppEngineConfiguration=s.default;I(H,s);H.AppEngineException=l.default;I(H,l);H.DocumentedException=u.default;I(H,u);H.BaseBusinessObject=p.default;I(H,p);H.CompanyInfo=a.default;I(H,a);H.HeadersContentTypeEnum=r.default;I(H,r);I(H,d);H.IAppEngineConfiguration=f.default;I(H,f);H.IAppEngineException=c.default;I(H,c);H.LocalStorage=m.default;I(H,m);H.Session=E.default;I(H,E);H.UserInfo=C.default;I(H,C);H.Version=g.default;I(H,g);return H});
41
41
  },
42
42
  "computec/appengine/uibase/library.js":function(){
43
- "use strict";sap.ui.define(["sap/ui/core/Lib","sap/ui/core/library"],function(e,i){i;var n=e.init({name:"computec.appengine.uibase",version:"1.0.7",dependencies:[],types:[],interfaces:[],controls:[],elements:[],noLibraryCSS:false});return n});
43
+ "use strict";sap.ui.define(["sap/ui/core/Lib","sap/ui/core/library"],function(e,i){i;var n=e.init({name:"computec.appengine.uibase",version:"1.0.8",dependencies:[],types:[],interfaces:[],controls:[],elements:[],noLibraryCSS:false});return n});
44
44
  },
45
- "computec/appengine/uibase/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"computec.appengine.uibase","type":"library","embeds":[],"applicationVersion":{"version":"1.0.7"},"title":"uibase","description":"Core library required by AppEngine plugins","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"libs":{"sap.ui.core":{}}},"library":{"i18n":false,"content":{"controls":[],"elements":[],"types":[],"interfaces":[]}}}}',
45
+ "computec/appengine/uibase/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"computec.appengine.uibase","type":"library","embeds":[],"applicationVersion":{"version":"1.0.8"},"title":"uibase","description":"Core library required by AppEngine plugins","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"libs":{"sap.ui.core":{}}},"library":{"i18n":false,"content":{"controls":[],"elements":[],"types":[],"interfaces":[]}}}}',
46
46
  "computec/appengine/uibase/models/AppEngineConfiguration.js":function(){
47
47
  "use strict";sap.ui.define(["./BaseBusinessObject"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,o(n.key),n)}}function n(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=i(t,"string");return"symbol"==typeof e?e:e+""}function i(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e,r){return e=l(e),f(t,p()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r))}function f(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p=function(){return!!t})()}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var b=e(t);var d=function(t){function e(){u(this,e);return c(this,e,arguments)}s(e,t);return n(e)}(b);return d});
48
48
  },
@@ -1,2 +1,2 @@
1
- "use strict";sap.ui.define(["sap/ui/core/Lib","sap/ui/core/library"],function(e,i){i;var n=e.init({name:"computec.appengine.uibase",version:"1.0.7",dependencies:[],types:[],interfaces:[],controls:[],elements:[],noLibraryCSS:false});return n});
1
+ "use strict";sap.ui.define(["sap/ui/core/Lib","sap/ui/core/library"],function(e,i){i;var n=e.init({name:"computec.appengine.uibase",version:"1.0.8",dependencies:[],types:[],interfaces:[],controls:[],elements:[],noLibraryCSS:false});return n});
2
2
  //# sourceMappingURL=library.js.map
@@ -5,7 +5,7 @@
5
5
  "type": "library",
6
6
  "embeds": [],
7
7
  "applicationVersion": {
8
- "version": "1.0.7"
8
+ "version": "1.0.8"
9
9
  },
10
10
  "title": "uibase",
11
11
  "description": "Core library required by AppEngine plugins",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "main": "dist/index.js",
4
4
  "module": "NodeNext",
5
5
  "moduleResolution": "NodeNext",
6
- "version": "1.0.7",
6
+ "version": "1.0.8",
7
7
  "description": "",
8
8
  "types": "dist/index.d.ts",
9
9
  "scripts": {