@chevre/factory 6.2.0-alpha.2 → 6.2.0-alpha.3
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/README.md
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
# Chevre Factory
|
|
1
|
+
# Chevre Factory
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@chevre/factory)
|
|
4
4
|
[](https://circleci.com/gh/chevre-jp/factory)
|
|
5
|
-
[](https://coveralls.io/github/chevre-jp/factory?branch=master)
|
|
6
5
|
[](https://snyk.io/test/github/chevre-jp/factory)
|
|
7
6
|
[](https://nodei.co/npm/@chevre/factory/)
|
|
8
|
-
|
|
9
|
-
## Table of contents
|
|
10
|
-
|
|
11
|
-
* [Usage](#usage)
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```shell
|
|
16
|
-
npm install @chevre/factory
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
### Environment variables
|
|
20
|
-
|
|
21
|
-
| Name | Required | Value | Purpose |
|
|
22
|
-
| ---- | -------- | ----- | ------- |
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SurfrockFactory } from '@surfrock/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
|
-
export type IPurchaseNumberAuthIn =
|
|
4
|
-
export type IPurchaseNumberAuthResult =
|
|
5
|
-
export type IPurchaseNumberInfo =
|
|
6
|
-
export type IMkknInfo =
|
|
7
|
-
export type IYkknInfo =
|
|
3
|
+
export type IPurchaseNumberAuthIn = SurfrockFactory.service.auth.purchaseNumberAuth.IPurchaseNumberAuthIn;
|
|
4
|
+
export type IPurchaseNumberAuthResult = SurfrockFactory.service.auth.purchaseNumberAuth.IPurchaseNumberAuthResult;
|
|
5
|
+
export type IPurchaseNumberInfo = SurfrockFactory.service.auth.purchaseNumberAuth.IPurchaseNumberInfo;
|
|
6
|
+
export type IMkknInfo = SurfrockFactory.service.auth.purchaseNumberAuth.INvalidTicket;
|
|
7
|
+
export type IYkknInfo = SurfrockFactory.service.auth.purchaseNumberAuth.IValidTicket;
|
|
8
8
|
export interface IDirectionPurchaseNumberAuth extends RecipeFactory.IHowToDirection {
|
|
9
9
|
beforeMedia?: IPurchaseNumberAuthIn;
|
|
10
10
|
afterMedia?: IPurchaseNumberAuthResult;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SurfrockFactory } from '@surfrock/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
3
|
export interface ISeatInfoSyncResultAsError {
|
|
4
4
|
name: string;
|
|
5
5
|
message: string;
|
|
6
6
|
}
|
|
7
|
-
export type ISeatInfoSyncIn =
|
|
8
|
-
export type ISeatInfoSyncResult =
|
|
7
|
+
export type ISeatInfoSyncIn = SurfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncIn;
|
|
8
|
+
export type ISeatInfoSyncResult = SurfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncResult | ISeatInfoSyncResultAsError;
|
|
9
9
|
export interface IDirectionSeatInfoSync extends RecipeFactory.IHowToDirection {
|
|
10
10
|
beforeMedia?: ISeatInfoSyncIn;
|
|
11
11
|
afterMedia?: ISeatInfoSyncResult;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SurfrockFactory } from '@surfrock/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
3
|
export interface IResultAsError {
|
|
4
4
|
name: string;
|
|
5
5
|
message: string;
|
|
6
6
|
}
|
|
7
|
-
export type ISeatInfoSyncCancelIn =
|
|
8
|
-
export type ISeatInfoSyncCancelResult =
|
|
9
|
-
export type ISeatInfoSyncIn =
|
|
10
|
-
export type ISeatInfoSyncResult =
|
|
7
|
+
export type ISeatInfoSyncCancelIn = SurfrockFactory.service.seat.seatInfoSyncCancel.ISeatInfoSyncCancelIn;
|
|
8
|
+
export type ISeatInfoSyncCancelResult = SurfrockFactory.service.seat.seatInfoSyncCancel.ISeatInfoSyncCancelResult | IResultAsError;
|
|
9
|
+
export type ISeatInfoSyncIn = SurfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncIn;
|
|
10
|
+
export type ISeatInfoSyncResult = SurfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncResult | IResultAsError;
|
|
11
11
|
export interface IDirectionSeatInfoSyncCancel extends RecipeFactory.IHowToDirection {
|
|
12
12
|
beforeMedia?: ISeatInfoSyncCancelIn;
|
|
13
13
|
afterMedia?: ISeatInfoSyncCancelResult;
|
package/package.json
CHANGED
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chevre/factory",
|
|
3
|
-
"version": "6.2.0-alpha.
|
|
3
|
+
"version": "6.2.0-alpha.3",
|
|
4
4
|
"description": "Chevre Factory Library for Javascript",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"lib/"
|
|
9
9
|
],
|
|
10
|
-
"directories": {
|
|
11
|
-
"doc": "./doc",
|
|
12
|
-
"lib": "./lib",
|
|
13
|
-
"example": "./example",
|
|
14
|
-
"test": "./test"
|
|
15
|
-
},
|
|
16
10
|
"scripts": {
|
|
17
11
|
"build": "tsc",
|
|
18
12
|
"check:all": "npm run clean && npm run build && npm test",
|
|
19
13
|
"clean": "rimraf ./lib \"npm-debug.log*\" ./doc ./coverage ./.nyc_output",
|
|
20
|
-
"doc": "echo \"implementing...\" && exit 0",
|
|
21
14
|
"eslint": "eslint \"src/**/*.ts\"",
|
|
22
15
|
"coverage": "vitest run --coverage",
|
|
23
16
|
"test": "npm run eslint && npm run coverage",
|
|
@@ -38,11 +31,10 @@
|
|
|
38
31
|
],
|
|
39
32
|
"license": "UNLICENSED",
|
|
40
33
|
"devDependencies": {
|
|
41
|
-
"@eslint/js": "
|
|
34
|
+
"@eslint/js": "9.39.4",
|
|
42
35
|
"@types/node": "22.19.7",
|
|
43
36
|
"@vitest/coverage-v8": "4.1.0",
|
|
44
37
|
"@vitest/ui": "4.1.0",
|
|
45
|
-
"coveralls": "3.1.1",
|
|
46
38
|
"eslint": "9.39.4",
|
|
47
39
|
"rimraf": "^2.6.3",
|
|
48
40
|
"typescript": "5.6.3",
|
|
@@ -53,7 +45,7 @@
|
|
|
53
45
|
"@aws-sdk/client-cognito-identity-provider": "3.438.0",
|
|
54
46
|
"@motionpicture/coa-service": "9.5.0",
|
|
55
47
|
"@motionpicture/gmo-service": "5.3.0",
|
|
56
|
-
"@surfrock/
|
|
48
|
+
"@surfrock/factory": "1.0.0-alpha.0",
|
|
57
49
|
"@waiter/factory": "2.2.0",
|
|
58
50
|
"setprototypeof": "1.2.0"
|
|
59
51
|
},
|