frontend client for gemstone. decentralised workplace app

refactor: pass cid up

serenity fa9a23e1 ef03eb50

Changed files
+4 -1
src
+4 -1
src/queries/get-channels-from-pds.ts
···
}): Promise<
Result<
Array<{
uri: string;
value: SystemsGmstnDevelopmentChannel;
}>,
···
}): Promise<
Result<
Array<{
uri: string;
value: SystemsGmstnDevelopmentChannel;
}>,
···
>
> => {
const allRecords: Array<{
uri: string;
value: SystemsGmstnDevelopmentChannel;
}> = [];
···
allRecords.push(
...responses.map((data) => {
-
return { uri: data.uri, value: data.value };
}),
);
···
}): Promise<
Result<
Array<{
+
cid: string;
uri: string;
value: SystemsGmstnDevelopmentChannel;
}>,
···
}): Promise<
Result<
Array<{
+
cid: string;
uri: string;
value: SystemsGmstnDevelopmentChannel;
}>,
···
>
> => {
const allRecords: Array<{
+
cid: string;
uri: string;
value: SystemsGmstnDevelopmentChannel;
}> = [];
···
allRecords.push(
...responses.map((data) => {
+
return data;
}),
);