mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-11 14:22:51 +00:00
lint
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type SSHClient from '@dylankenneally/react-native-ssh-sftp';
|
||||
import uuid from 'react-native-uuid';
|
||||
import * as Crypto from 'expo-crypto';
|
||||
|
||||
export type SSHConn = {
|
||||
client: SSHClient;
|
||||
@@ -10,7 +10,7 @@ export type SSHConn = {
|
||||
const sshConnections = new Map<string, SSHConn>();
|
||||
|
||||
function addSession(params: { client: SSHClient }) {
|
||||
const sessionId = uuid.v4();
|
||||
const sessionId = Crypto.randomUUID();
|
||||
const createdAt = new Date();
|
||||
const sshConn: SSHConn = {
|
||||
client: params.client,
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
https://docs.expo.dev/versions/latest/sdk/document-picker/
|
||||
https://docs.expo.dev/versions/latest/sdk/filesystem/
|
||||
|
||||
@@ -31,3 +31,4 @@
|
||||
- https://github.com/dylankenneally/react-native-ssh-sftp
|
||||
- https://xtermjs.org/
|
||||
- https://docs.expo.dev/versions/latest/sdk/webview/
|
||||
- https://docs.expo.dev/versions/latest/sdk/gl-view/
|
||||
|
||||
Reference in New Issue
Block a user