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

feat: list topics #3394

Draft
wants to merge 1 commit into
base: @anchpop/clean-up-api
Choose a base branch
from
Draft

feat: list topics #3394

wants to merge 1 commit into from

Conversation

anchpop
Copy link
Contributor

@anchpop anchpop commented Jan 10, 2025

No description provided.

@@ -822,6 +870,26 @@ type GetUpgradeJournalResponse = record {
upgrade_journal_entry_count: opt nat64;
};

type ListTopicsRequest = record {};

type BuiltInAndGenericFunctions = record {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's think about the name of this type. Maybe just NervousSystemFunctions?

name : text;
description : text;
content : BuiltInAndGenericFunctions;
nested_topics : vec TopicInfo;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure we want this. Let's agree on the design level if we need nested topics.

description : text;
content : BuiltInAndGenericFunctions;
nested_topics : vec TopicInfo;
critical : bool;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit

Suggested change
critical : bool;
is_critical : bool;

@anchpop anchpop force-pushed the @anchpop/clean-up-api branch from 25d8f70 to 45da517 Compare January 10, 2025 16:37
@anchpop anchpop force-pushed the @anchpop/topics branch 2 times, most recently from 11fc3fd to 583f14b Compare January 10, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants