Compare commits

...

11 Commits

Author SHA1 Message Date
Alex Ant 8611c9bfb0 Автоматическое обновление - 2024-07-09 21:14:51 2024-07-09 21:14:58 +05:00
Alex Ant f725a21e19 Автоматическое обновление - 2024-07-09 20:45:27 2024-07-09 20:45:34 +05:00
Alex Ant 1cfb9824af Автоматическое обновление - 2024-07-09 20:44:52 2024-07-09 20:44:57 +05:00
Alex Ant 6628163ab2 Автоматическое обновление - 2024-07-09 20:36:57 2024-07-09 20:37:03 +05:00
Alex Ant bc5713626e lock 2024-07-09 19:42:02 +05:00
Alex Ant f23f09406b Автоматическое обновление - 2024-07-09 19:35:05 2024-07-09 19:35:13 +05:00
Alex Ant 3187c6026d Автоматическое обновление 2024-07-09 19:23:57 +05:00
Alex Ant fbf3e387b4 Автоматическое обновление 2024-07-09 19:18:49 +05:00
Alex Ant 2e11d991ee push 2024-07-09 18:58:45 +05:00
Alex Ant c7bc5a75cb new types 2024-07-09 18:38:36 +05:00
Alex Ant 267427a027 chore: release v1.0.3 2024-07-08 18:31:14 +05:00
7 changed files with 4622 additions and 3771 deletions
+23 -23
View File
@@ -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
+2 -2
View File
@@ -1,2 +1,2 @@
ignore-workspace-root-check=true
shell-emulator=true
# ignore-workspace-root-check=true
# shell-emulator=true
+2 -4
View File
@@ -1,17 +1,15 @@
{
"name": "cooptypes",
"type": "module",
"version": "1.0.2",
"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",
+4575 -3736
View File
File diff suppressed because it is too large Load Diff
-5
View File
@@ -1,5 +0,0 @@
packages:
- playground
- docs
- packages/*
- examples/*
+19 -1
View File
@@ -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
}
}
+1
View File
@@ -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