Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8611c9bfb0 | |||
| f725a21e19 | |||
| 1cfb9824af | |||
| 6628163ab2 | |||
| bc5713626e | |||
| f23f09406b | |||
| 3187c6026d | |||
| fbf3e387b4 | |||
| 2e11d991ee | |||
| c7bc5a75cb | |||
| 267427a027 | |||
| 957d970ce3 | |||
| 4249339b92 |
+23
-23
@@ -54,34 +54,34 @@ jobs:
|
||||
- name: Typecheck
|
||||
run: nr typecheck
|
||||
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
# test:
|
||||
# runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node: [lts/*]
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
fail-fast: false
|
||||
# strategy:
|
||||
# matrix:
|
||||
# node: [lts/*]
|
||||
# os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
# fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
# - name: Install pnpm
|
||||
# uses: pnpm/action-setup@v2
|
||||
|
||||
- name: Set node ${{ matrix.node }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
# - name: Set node ${{ matrix.node }}
|
||||
# uses: actions/setup-node@v3
|
||||
# with:
|
||||
# node-version: ${{ matrix.node }}
|
||||
|
||||
- name: Setup
|
||||
run: npm i -g @antfu/ni
|
||||
# - name: Setup
|
||||
# run: npm i -g @antfu/ni
|
||||
|
||||
- name: Install
|
||||
run: nci
|
||||
# - name: Install
|
||||
# run: nci
|
||||
|
||||
- name: Build
|
||||
run: nr build
|
||||
# - name: Build
|
||||
# run: nr build
|
||||
|
||||
- name: Test
|
||||
run: nr test
|
||||
# - name: Test
|
||||
# run: nr test
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
ignore-workspace-root-check=true
|
||||
shell-emulator=true
|
||||
# ignore-workspace-root-check=true
|
||||
# shell-emulator=true
|
||||
|
||||
+2
-4
@@ -1,17 +1,15 @@
|
||||
{
|
||||
"name": "cooptypes",
|
||||
"type": "module",
|
||||
"version": "1.0.0",
|
||||
"packageManager": "pnpm@9.0.6",
|
||||
"version": "1.0.8",
|
||||
"description": "_description_",
|
||||
"author": "Alex Ant <dacom.dark.sun@gmail.com>",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/copenomics/cooptypes.git"
|
||||
"url": "git+https://github.com/coopenomics/cooptypes.git"
|
||||
},
|
||||
"keywords": [],
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
|
||||
Generated
+4575
-3736
File diff suppressed because it is too large
Load Diff
@@ -1,5 +0,0 @@
|
||||
packages:
|
||||
- playground
|
||||
- docs
|
||||
- packages/*
|
||||
- examples/*
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { SovietContract } from '../../contracts'
|
||||
import type { IIndividualData, IOrganizationData } from '../users'
|
||||
import type { Details, IIndividualData, IOrganizationData } from '../users'
|
||||
|
||||
export interface ICooperativeData extends IOrganizationData {
|
||||
announce: string
|
||||
@@ -17,3 +17,21 @@ export interface ICooperativeData extends IOrganizationData {
|
||||
export interface MembersData extends SovietContract.Interfaces.IBoardMember, IIndividualData {
|
||||
is_chairman: boolean
|
||||
}
|
||||
|
||||
export interface IAnnounce {
|
||||
phone: string
|
||||
email: string
|
||||
}
|
||||
|
||||
export interface IContacts {
|
||||
full_name: string
|
||||
full_address: string
|
||||
details: Details
|
||||
phone: string
|
||||
email: string
|
||||
chairman: {
|
||||
first_name: string
|
||||
last_name: string
|
||||
middle_name: string
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@ export interface IOrganization {
|
||||
description: string
|
||||
is_cooperative: boolean
|
||||
is_branched: boolean
|
||||
is_enrolled: boolean
|
||||
coop_type: IName
|
||||
registration: IAsset
|
||||
initial: IAsset
|
||||
|
||||
Reference in New Issue
Block a user