Skip to content

Commit

Permalink
jsonencode journey steps to reduce journey creation time
Browse files Browse the repository at this point in the history
  • Loading branch information
Nishu Goel committed Aug 16, 2024
1 parent 94c73fb commit 13df2cb
Show file tree
Hide file tree
Showing 22 changed files with 25,981 additions and 17,312 deletions.
7 changes: 3 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 1afd37bc-cea9-4679-ac40-35ad5de414fc
management:
docChecksum: a2a4e6e0c5d448a2079d174f9d7ed7fe
docChecksum: 86f4621c41ddb5ee806e79a60b3649f9
docVersion: 1.0.0
speakeasyVersion: 1.346.0
generationVersion: 2.379.3
releaseVersion: 0.3.2
configChecksum: 6429bafb37993b177594dcd335dadc26
releaseVersion: 0.3.4
configChecksum: 979fdfd27829f06418fe2be5a77bb4f5
repoURL: https://github.com/epilot-dev/terraform-provider-epilot-journey.git
repoSubDirectory: .
published: true
Expand Down Expand Up @@ -121,7 +121,6 @@ generatedFiles:
- internal/provider/types/journey_creation_request_v2_button.go
- internal/provider/types/journey_creation_request_v2_embed_options.go
- internal/provider/types/journey_creation_request_v2_settings.go
- internal/provider/types/journey_creation_request_v2_steps.go
- USAGE.md
- internal/provider/provider.go
- examples/provider/provider.tf
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_providers {
epilot-journey = {
source = "epilot-dev/epilot-journey"
version = "0.3.2"
version = "0.3.4"
}
}
}
Expand Down
22 changes: 1 addition & 21 deletions docs/data-sources/journey.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data "epilot-journey_journey" "my_journey" {
- `name` (String)
- `rules` (Attributes List) (see [below for nested schema](#nestedatt--rules))
- `settings` (Attributes) (see [below for nested schema](#nestedatt--settings))
- `steps` (Attributes List) (see [below for nested schema](#nestedatt--steps))
- `steps` (String) Parsed as JSON.

<a id="nestedatt--context_schema"></a>
### Nested Schema for `context_schema`
Expand Down Expand Up @@ -112,23 +112,3 @@ Read-Only:
- `text` (String)




<a id="nestedatt--steps"></a>
### Nested Schema for `steps`

Read-Only:

- `hide_next_button` (Boolean)
- `name` (String)
- `schema` (String) Parsed as JSON.
- `show_step_name` (Boolean)
- `show_step_subtitle` (Boolean)
- `show_stepper` (Boolean)
- `show_stepper_labels` (Boolean)
- `step_id` (String)
- `sub_title` (String)
- `title` (String)
- `uischema` (String) Parsed as JSON.


2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ terraform {
required_providers {
epilot-journey = {
source = "epilot-dev/epilot-journey"
version = "0.3.2"
version = "0.3.4"
}
}
}
Expand Down
36 changes: 2 additions & 34 deletions docs/resources/journey.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,7 @@ resource "epilot-journey_journey" "my_journey" {
id = "509cdffe-424f-457a-95c2-9708c304ce77"
journey_id = "...my_journey_id..."
name = "Nathaniel Von"
steps = [
{
hide_next_button = true
name = "Devin Lehner"
schema = "{ \"see\": \"documentation\" }"
show_step_name = false
show_stepper = false
show_stepper_labels = true
show_step_subtitle = true
step_id = "...my_step_id..."
sub_title = "...my_sub_title..."
title = "Dr."
uischema = "{ \"see\": \"documentation\" }"
},
]
steps = "{ \"see\": \"documentation\" }"
}
```

Expand All @@ -42,7 +28,7 @@ resource "epilot-journey_journey" "my_journey" {
### Required

- `name` (String)
- `steps` (Attributes List) (see [below for nested schema](#nestedatt--steps))
- `steps` (String) Parsed as JSON.

### Optional

Expand All @@ -54,24 +40,6 @@ resource "epilot-journey_journey" "my_journey" {
- `rules` (Attributes List) (see [below for nested schema](#nestedatt--rules))
- `settings` (Attributes) (see [below for nested schema](#nestedatt--settings))

<a id="nestedatt--steps"></a>
### Nested Schema for `steps`

Optional:

- `hide_next_button` (Boolean)
- `name` (String) Not Null
- `schema` (String) Parsed as JSON.
- `show_step_name` (Boolean)
- `show_step_subtitle` (Boolean)
- `show_stepper` (Boolean)
- `show_stepper_labels` (Boolean)
- `step_id` (String)
- `sub_title` (String)
- `title` (String)
- `uischema` (String) Parsed as JSON.


<a id="nestedatt--context_schema"></a>
### Nested Schema for `context_schema`

Expand Down
991 changes: 0 additions & 991 deletions examples/a-e2e-journey/datasource.tf

This file was deleted.

17 changes: 0 additions & 17 deletions examples/a-e2e-journey/provider.tf

This file was deleted.

Loading

0 comments on commit 13df2cb

Please sign in to comment.