infinity-forge 2.3.9 → 2.4.1

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.
@@ -8,4 +8,5 @@ export declare class RemoteMenu implements domain.LoadAllMenu, domain.CreateUser
8
8
  create(params: domain.CreateUser.Params): Promise<domain.CreateUser.Model>;
9
9
  delete(params: domain.DeleteUser.Params): Promise<any>;
10
10
  edit(params: domain.EditUser.Params): Promise<any>;
11
- getDetail(params: domain.LoadDetailUser.Params): Prom
11
+ getDetail(params: domain.LoadDetailUser.Params): Promise<domain.User>;
12
+ }
@@ -173,4 +173,4 @@ var RemoteMenu = /** @class */ (function () {
173
173
  return RemoteMenu;
174
174
  }());
175
175
  exports.RemoteMenu = RemoteMenu;
176
- //# sourceMap
176
+ //# sourceMappingURL=remote-get-menu.js.map
@@ -7,4 +7,5 @@ export declare class RemoteNotifications implements domain.LoadNoReadNotificatio
7
7
  loadAll(params: domain.LoadAllNotifications.Params): Promise<domain.LoadAllNotifications.Model>;
8
8
  create(params: domain.CreateNotification.Params): Promise<domain.CreateNotification.Model>;
9
9
  loadNoRead(): Promise<domain.LoadNoReadNotifications.Model>;
10
- readAll(params: domain.ReadNotifications.Params): Promise<domain.ReadNoti
10
+ readAll(params: domain.ReadNotifications.Params): Promise<domain.ReadNotifications.Model>;
11
+ }
@@ -157,4 +157,4 @@ var RemoteNotifications = /** @class */ (function () {
157
157
  return RemoteNotifications;
158
158
  }());
159
159
  exports.RemoteNotifications = RemoteNotifications;
160
- //# sourceMappingU
160
+ //# sourceMappingURL=remote-notifications.js.map
@@ -4,4 +4,5 @@ export declare class RemoteLoadUserAdmin implements domain.LoadUserAdmin {
4
4
  private readonly makeApiURL;
5
5
  private readonly httpClient;
6
6
  constructor(makeApiURL: makeApiURL, httpClient: domain.HttpClient<domain.LoadUserAdmin.Model>);
7
- load(): Promise<d
7
+ load(): Promise<domain.UserAdmin>;
8
+ }
@@ -106,4 +106,4 @@ var RemoteLoadUserAdmin = /** @class */ (function () {
106
106
  return RemoteLoadUserAdmin;
107
107
  }());
108
108
  exports.RemoteLoadUserAdmin = RemoteLoadUserAdmin;
109
- //# sourceMappingURL
109
+ //# sourceMappingURL=remote-load-user-admin.js.map
@@ -8,4 +8,5 @@ export declare class RemoteUsers implements domain.LoadAllUsers, domain.CreateUs
8
8
  create(params: domain.CreateUser.Params): Promise<domain.CreateUser.Model>;
9
9
  delete(params: domain.DeleteUser.Params): Promise<any>;
10
10
  edit(params: domain.EditUser.Params): Promise<any>;
11
- getDetail(params: domain.LoadDetailUser.Param
11
+ getDetail(params: domain.LoadDetailUser.Params): Promise<any>;
12
+ }
@@ -173,4 +173,4 @@ var RemoteUsers = /** @class */ (function () {
173
173
  return RemoteUsers;
174
174
  }());
175
175
  exports.RemoteUsers = RemoteUsers;
176
- //# source
176
+ //# sourceMappingURL=remote-users.js.map
@@ -11,4 +11,5 @@ export type DynamicSection = {
11
11
  ref: string;
12
12
  videoUrl: string;
13
13
  linkUrl: string;
14
- images: FileSystemT
14
+ images: FileSystemType[];
15
+ };
@@ -4,4 +4,5 @@ export type LoadMenu = {
4
4
  load: () => Promise<LoadMenu.Model>;
5
5
  };
6
6
  export declare namespace LoadMenu {
7
- type Model = List
7
+ type Model = List<Menu>;
8
+ }
@@ -8,4 +8,5 @@ export declare namespace LoadAllMenu {
8
8
  pageSize?: number;
9
9
  pageNumber?: number;
10
10
  };
11
- type Model = Pagination & List
11
+ type Model = Pagination & List<Menu>;
12
+ }
@@ -25,4 +25,5 @@ export declare namespace LoadAllUsers {
25
25
  pageSize: number;
26
26
  pageNumber: number;
27
27
  };
28
- type Model = Pagination & List
28
+ type Model = Pagination & List<User>;
29
+ }
@@ -21,4 +21,5 @@ export declare namespace LoadUserAdmin {
21
21
  type Params = {
22
22
  roleUser?: string;
23
23
  };
24
- type Model = Use
24
+ type Model = UserAdmin;
25
+ }
@@ -1,18 +0,0 @@
1
- import type { MaskPart, Replacement } from '../types.js';
2
- import type { InputType } from '../../core/index.js';
3
- interface ResolveSelectionParam {
4
- inputType: InputType;
5
- value: string;
6
- addedValue: string;
7
- beforeChangeValue: string;
8
- parts: MaskPart[];
9
- replacement: Replacement;
10
- separate: boolean;
11
- }
12
- /**
13
- * Определяет позицию курсора для последующей установки
14
- * @param param
15
- * @returns
16
- */
17
- export default function resolveSelection({ inputType, value, addedValue, beforeChangeValue, parts, replacement, separate, }: ResolveSelectionParam): number;
18
- export {};
@@ -1,13 +0,0 @@
1
- import type { Replacement } from '../types.js';
2
- interface ValidateParam {
3
- initialValue: string;
4
- mask: string;
5
- replacement: Replacement;
6
- }
7
- /**
8
- * Выводит в консоль сообщения об ошибках.
9
- * Сообщения выводятся на этапе инициализации элеменета.
10
- * @param param
11
- */
12
- export default function validate({ initialValue, mask, replacement }: ValidateParam): void;
13
- export {};
package/package.json CHANGED
@@ -1,75 +1,75 @@
1
- {
2
- "name": "infinity-forge",
3
- "version": "2.3.9",
4
- "description": "codie Library",
5
- "main": "./dist/index",
6
- "module": "./dist/index",
7
- "types": "./dist/index.d.ts",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/CodieDigital/codiedigital-library"
11
- },
12
- "scripts": {
13
- "dev": "next -p 3051",
14
- "deploy": "npm version patch && npm publish",
15
- "next": "next build",
16
- "start": "next start -p 3015",
17
- "build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
18
- "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
- "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
20
- "fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
21
- },
22
- "peerDependencies": {
23
- "react": ">=16"
24
- },
25
- "files": [
26
- "dist",
27
- "LICENSE",
28
- "README.md"
29
- ],
30
- "keywords": [
31
- "react",
32
- "typescript",
33
- "awesome-project"
34
- ],
35
- "author": "Codie Digital",
36
- "license": "MIT",
37
- "devDependencies": {
38
- "@types/node": "^20.12.12",
39
- "@types/react": "^18.3.3",
40
- "@types/react-dom": "^18.3.0",
41
- "@types/styled-components": "^5.1.34",
42
- "concurrently": "^8.2.2",
43
- "copyfiles": "^2.4.1",
44
- "cpx": "^1.5.0",
45
- "cssnano": "^7.0.1",
46
- "fs-extra": "^11.2.0",
47
- "postcss": "^8.4.38",
48
- "postcss-cli": "^11.0.0",
49
- "tsc-alias": "^1.8.10",
50
- "tslib": "^2.6.2",
51
- "typescript": "^5.4.5"
52
- },
53
- "dependencies": {
54
- "@types/lodash": "^4.17.7",
55
- "axios": "^1.7.2",
56
- "chroma-js": "^2.4.2",
57
- "formik": "^2.4.6",
58
- "inversify": "^6.0.2",
59
- "lodash": "^4.17.21",
60
- "moment": "^2.30.1",
61
- "next": "^14.2.3",
62
- "react": "18.3.1",
63
- "react-dom": "18.3.1",
64
- "react-ga": "^3.3.1",
65
- "react-rte": "^0.16.5",
66
- "react-select": "^5.8.0",
67
- "react-share": "^5.1.0",
68
- "react-webcam": "^7.2.0",
69
- "reflect-metadata": "^0.2.2",
70
- "sharp": "^0.33.4",
71
- "styled-components": "^6.1.11",
72
- "yup": "^1.4.0",
73
- "zustand": "^4.5.2"
74
- }
75
- }
1
+ {
2
+ "name": "infinity-forge",
3
+ "version": "2.4.1",
4
+ "description": "codie Library",
5
+ "main": "./dist/index",
6
+ "module": "./dist/index",
7
+ "types": "./dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/CodieDigital/codiedigital-library"
11
+ },
12
+ "scripts": {
13
+ "dev": "next -p 3051",
14
+ "deploy": "npm version patch && npm publish",
15
+ "next": "next build",
16
+ "start": "next start -p 3015",
17
+ "build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
18
+ "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
+ "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
20
+ "fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
21
+ },
22
+ "peerDependencies": {
23
+ "react": ">=16"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "LICENSE",
28
+ "README.md"
29
+ ],
30
+ "keywords": [
31
+ "react",
32
+ "typescript",
33
+ "awesome-project"
34
+ ],
35
+ "author": "Codie Digital",
36
+ "license": "MIT",
37
+ "devDependencies": {
38
+ "@types/node": "^20.12.12",
39
+ "@types/react": "^18.3.3",
40
+ "@types/react-dom": "^18.3.0",
41
+ "@types/styled-components": "^5.1.34",
42
+ "concurrently": "^8.2.2",
43
+ "copyfiles": "^2.4.1",
44
+ "cpx": "^1.5.0",
45
+ "cssnano": "^7.0.1",
46
+ "fs-extra": "^11.2.0",
47
+ "postcss": "^8.4.38",
48
+ "postcss-cli": "^11.0.0",
49
+ "tsc-alias": "^1.8.10",
50
+ "tslib": "^2.6.2",
51
+ "typescript": "^5.4.5"
52
+ },
53
+ "dependencies": {
54
+ "@types/lodash": "^4.17.7",
55
+ "axios": "^1.7.2",
56
+ "chroma-js": "^2.4.2",
57
+ "formik": "^2.4.6",
58
+ "inversify": "^6.0.2",
59
+ "lodash": "^4.17.21",
60
+ "moment": "^2.30.1",
61
+ "next": "^14.2.3",
62
+ "react": "18.3.1",
63
+ "react-dom": "18.3.1",
64
+ "react-ga": "^3.3.1",
65
+ "react-rte": "^0.16.5",
66
+ "react-select": "^5.8.0",
67
+ "react-share": "^5.1.0",
68
+ "react-webcam": "^7.2.0",
69
+ "reflect-metadata": "^0.2.2",
70
+ "sharp": "^0.33.4",
71
+ "styled-components": "^6.1.11",
72
+ "yup": "^1.4.0",
73
+ "zustand": "^4.5.2"
74
+ }
75
+ }