50p82u21t54k 0.0.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.
@@ -0,0 +1,18 @@
1
+ async function r(t) {
2
+ return t;
3
+ }
4
+ let e = "";
5
+ function a(t) {
6
+ e = t;
7
+ }
8
+ const i = {
9
+ install(t, n) {
10
+ a(n.baseURL), t.config.globalProperties.$library = {
11
+ getProduct: () => r(e)
12
+ };
13
+ }
14
+ };
15
+ export {
16
+ r as getProduct,
17
+ i as libraryPlugin
18
+ };
@@ -0,0 +1 @@
1
+ (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["50p82u21t54k"]={}))})(this,function(e){"use strict";async function t(n){return n}let i="";function o(n){i=n}const u={install(n,f){o(f.baseURL),n.config.globalProperties.$library={getProduct:()=>t(i)}}};e.getProduct=t,e.libraryPlugin=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,5 @@
1
+ export * from './products';
2
+ export { default as libraryPlugin } from './plugin';
3
+ import * as library from './products';
4
+ export type LibraryType = typeof library;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,UAAU,CAAA;AAGnD,OAAO,KAAK,OAAO,MAAM,YAAY,CAAA;AAErC,MAAM,MAAM,WAAW,GAAG,OAAO,OAAO,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { App } from 'vue';
2
+
3
+ export declare function setBaseURL(url: string): void;
4
+ export declare function getBaseURL(): string;
5
+ declare const _default: {
6
+ install(app: App, options: {
7
+ baseURL: string;
8
+ }): void;
9
+ };
10
+ export default _default;
11
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAKzB,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAE5C;AAED,wBAAgB,UAAU,IAAI,MAAM,CAEnC;;iBAGc,GAAG,WAAW;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;;AADhD,wBAOC"}
@@ -0,0 +1,3 @@
1
+ export * from './method';
2
+ export * from './model';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/products/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function getProduct(baseURL: string): Promise<string>;
2
+ //# sourceMappingURL=method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/products/method.ts"],"names":[],"mappings":"AAAA,wBAAsB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAEjE"}
@@ -0,0 +1,7 @@
1
+ export type ProductsResponse = {
2
+ id: string;
3
+ name: string;
4
+ email: string;
5
+ createdAt: string;
6
+ };
7
+ //# sourceMappingURL=model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/products/model.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA"}
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "50p82u21t54k",
3
+ "version": "0.0.0",
4
+ "description": "A description of your library",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "author": "ramen87x",
11
+ "license": "MIT",
12
+ "private": false,
13
+ "type": "module",
14
+ "scripts": {
15
+ "dev": "vite",
16
+ "build": "tsc && vite build",
17
+ "preview": "vite preview",
18
+ "lint": "eslint --ignore-path .eslintignore --ext .js,.ts src",
19
+ "lint:fix": "eslint --ext .js,.ts src --fix",
20
+ "prettier": "prettier --write 'src/**/*.{js,ts,json}'"
21
+ },
22
+ "devDependencies": {
23
+ "@types/node": "^20.12.12",
24
+ "@typescript-eslint/eslint-plugin": "^7.9.0",
25
+ "@typescript-eslint/parser": "^7.9.0",
26
+ "eslint": "^8.57.0",
27
+ "eslint-config-prettier": "^9.1.0",
28
+ "eslint-plugin-import": "^2.29.1",
29
+ "eslint-plugin-node": "^11.1.0",
30
+ "eslint-plugin-prettier": "^5.1.3",
31
+ "eslint-plugin-promise": "^6.1.1",
32
+ "eslint-plugin-standard": "^5.0.0",
33
+ "prettier": "^3.2.5",
34
+ "typescript": "^5.2.2",
35
+ "vite": "^5.2.0",
36
+ "vite-plugin-dts": "^3.9.1"
37
+ },
38
+ "dependencies": {
39
+ "vue": "^3.4.27"
40
+ }
41
+ }