working rss feed to nostr publish

This commit is contained in:
2023-11-24 00:43:28 -05:00
parent 06edcb57ae
commit 88d2f9cfec
8396 changed files with 783105 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
/**
* @packageDocumentation
* @module std.ranges
*/
import { IForwardIterator } from "../../iterator/IForwardIterator";
import { IPointer } from "../../functional/IPointer";
import { ISize } from "../../internal/container/partial/ISize";
import { Vector } from "../../container/Vector";
/**
* Forward iterable container.
*
* @template Iterator Iterator type
* @author Jeongho Nam - https://github.com/samchon
*/
export interface IForwardContainer<Iterator extends IForwardIterator<IPointer.ValueType<Iterator>, Iterator>> extends ISize {
/**
* Iterator to the first element.
*
* @return Iterator to the first element.
*/
begin(): Iterator;
/**
* Iterator to the end.
*
* @return Iterator to the end.
*/
end(): Iterator;
}
export declare namespace IForwardContainer {
/**
* Deduct iterator type.
*/
type IteratorType<Container extends Array<any> | IForwardContainer<any>> = Container extends Array<infer T> ? Vector.Iterator<T> : Container extends IForwardContainer<infer Iterator> ? Iterator : unknown;
/**
* Deduct value type.
*/
type ValueType<Container extends Array<any> | IForwardContainer<any>> = IPointer.ValueType<IteratorType<Container>>;
/**
* Deduct similar type.
*/
type SimilarType<Container extends Array<any> | IForwardContainer<any>> = Array<ValueType<Container>> | IForwardContainer<IForwardIterator<ValueType<Container>, any>>;
}