Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sharing with grantees #3

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
38be696
inital grantee handlers with pss
bosi95 Jan 9, 2025
579d760
use solarpunk-mantaray-js and fix build
bosi95 Jan 10, 2025
db86cf5
improving on grantee and file assignments
bosi95 Jan 10, 2025
819debf
improve sharing and act handling
bosi95 Jan 11, 2025
cfc25ca
update metadata feed during share
bosi95 Jan 12, 2025
873a9b5
Merge branch 'main' into feat/file-sharing
bosi95 Jan 13, 2025
3e93b32
Merge branch 'main' into feat/file-sharing
bosi95 Jan 14, 2025
321f55c
start to rework metadata and feed handling
bosi95 Jan 14, 2025
2fd488d
Merge branch 'main' into feat/file-sharing
bosi95 Jan 14, 2025
a9b6956
upload file saves wrapped mantaray
bosi95 Jan 15, 2025
2f53d1f
impoving fileinfo ref list handling
bosi95 Jan 18, 2025
101fb03
improving mantaray feed list upload and download with fileinfo
bosi95 Jan 20, 2025
dc387db
refactor owner topic and uploadFile
bosi95 Jan 23, 2025
9dffe27
improve grantee handling
bosi95 Jan 27, 2025
f892a54
Merge branch 'main' into feat/file-sharing
bosi95 Jan 27, 2025
01aabc2
add getFileInfoList
bosi95 Jan 27, 2025
4ce3c17
refactor init, wrapped feed save and add volume destroy
bosi95 Jan 27, 2025
1be5794
fix pr comments; refactor grantee handlers; fix destroyvolume
bosi95 Jan 27, 2025
c140298
share items only one by one
bosi95 Jan 28, 2025
eda43dc
refactor init feed and info list, remove this.mantaray
bosi95 Jan 29, 2025
46c585f
add assertions
bosi95 Jan 30, 2025
801710a
refactor feedreaders; uploadfile with existing history
bosi95 Jan 31, 2025
d33e054
write basic init integration tests
bosi95 Jan 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
plugins: ['@typescript-eslint', 'simple-import-sort'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-function-return-type': 'error',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
Expand Down
5 changes: 3 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const feedTypes = ['sequence', 'epoch'] as const;
export type FeedType = (typeof feedTypes)[number];
export const DEFAULT_FEED_TYPE: FeedType = 'sequence';
//export const STAMP_LIST_TOPIC = 'stamps';//not good
export const STAMP_LIST_TOPIC = '0000000000000000000000000000000000000000000000000000000000000000';
export const STAMP_LIST_TOPIC = 'stamps';
export const METADATA_TOPIC = 'filemetadata';
export const SHARED_INBOX_TOPIC = 'shared-inbox';
Loading