Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

module.exports = {
// Parser to lint TypeScript code, see:
// https://standardjs.com/index.html#typescript
Expand Down
2 changes: 2 additions & 0 deletions src-tauri/src/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

fn main() {
tauri_build::build()
}
2 changes: 2 additions & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
Expand Down
2 changes: 2 additions & 0 deletions src/configs.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

export const ENDPOINT = 'http://localhost:2020';
export const CHAT_SCHEMA =
'0040cf94f6d605657e90c543b0c919070cdaaf7209c5e1ea58acb8f3568fa2114268dc9ac3bafe12af277d286fce7dc59b7c0c348973c4e9dacbe79485e56ac2a702';
2 changes: 2 additions & 0 deletions src/p2panda-api/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

import debug from 'debug';

export const log = debug('p2panda');
Expand Down
2 changes: 2 additions & 0 deletions src/p2panda-api/instance.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

import { log, Session } from '~/p2panda-api';
import { Fields, FieldsTagged } from '~/p2panda-api/types';

Expand Down
2 changes: 2 additions & 0 deletions src/p2panda-api/session.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

import p2panda from 'p2panda-js';
import { RequestManager, HTTPTransport, Client } from '@open-rpc/client-js';

Expand Down
2 changes: 2 additions & 0 deletions src/p2panda-api/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

/**
* Arguments for publishing the next entry
*/
Expand Down
2 changes: 2 additions & 0 deletions src/p2panda-api/utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

import { Fields, FieldsTagged } from './types';

/**
Expand Down
2 changes: 2 additions & 0 deletions src/typescript/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

/**
* Resolve a promise's type recursively
*/
Expand Down
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

const path = require('path');

const ESLintPlugin = require('eslint-webpack-plugin');
Expand Down