feat: add story id support · inherd/uncode@07e0e6d · GitHub
Skip to content

Commit 07e0e6d

Browse files
committed
feat: add story id support
1 parent 701e584 commit 07e0e6d

5 files changed

Lines changed: 20 additions & 3 deletions

File tree

‎src-tauri/src/cmd.rs‎

Lines changed: 1 addition & 1 deletion

‎story/018-story-with-id.feature‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# status: backlog
1+
# status: doing
22
Feature: Story with Id
33
# Enter feature description here
44

‎uncode/uncode-core/src/domain/story_model.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use serde::{Deserialize, Serialize};
22

33
#[derive(Serialize, Deserialize, Debug, Clone)]
44
pub struct StoryModel {
5+
pub id: String,
56
pub title: String,
67
pub status: String,
78
pub description: String,
@@ -12,6 +13,7 @@ pub struct StoryModel {
1213
impl Default for StoryModel {
1314
fn default() -> Self {
1415
StoryModel {
16+
id: "".to_string(),
1517
title: "".to_string(),
1618
status: "".to_string(),
1719
description: "".to_string(),

‎uncode/uncode-story/src/lib.rs‎

Lines changed: 16 additions & 1 deletion
File renamed without changes.

0 commit comments

Comments
 (0)