diff --git a/swan-lake/by-example/access-json-elements/content.jsx b/swan-lake/by-example/access-json-elements/content.jsx index 4989cc55c01..572ed369266 100644 --- a/swan-lake/by-example/access-json-elements/content.jsx +++ b/swan-lake/by-example/access-json-elements/content.jsx @@ -88,7 +88,7 @@ export function AccessJsonElements({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d5f963b000440e25b71fa43a1f21c312&file=access_json_elements.bal", + "https://play.ballerina.io/?gist=e841a45f3e27484fcd739171b0d4170a&file=access_json_elements.bal", "_blank", ); }} diff --git a/swan-lake/by-example/access-optional-json-elements/content.jsx b/swan-lake/by-example/access-optional-json-elements/content.jsx index 2c7cb4db60b..b2722a69073 100644 --- a/swan-lake/by-example/access-optional-json-elements/content.jsx +++ b/swan-lake/by-example/access-optional-json-elements/content.jsx @@ -62,7 +62,7 @@ export function AccessOptionalJsonElements({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=97c9f66d9d7a9cf060ec864c735e90b0&file=access_optional_json_elements.bal", + "https://play.ballerina.io/?gist=fe616421a37281798ae2b0b92143ae18&file=access_optional_json_elements.bal", "_blank", ); }} diff --git a/swan-lake/by-example/aggregation/content.jsx b/swan-lake/by-example/aggregation/content.jsx index 1b13dd91152..08448863e7f 100644 --- a/swan-lake/by-example/aggregation/content.jsx +++ b/swan-lake/by-example/aggregation/content.jsx @@ -84,7 +84,7 @@ export function Aggregation({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b701d158a72062e65cd965f09935e5de&file=aggregation.bal", + "https://play.ballerina.io/?gist=333cd26d653231237aee45e0d2977468&file=aggregation.bal", "_blank", ); }} diff --git a/swan-lake/by-example/alternate-wait/content.jsx b/swan-lake/by-example/alternate-wait/content.jsx index 83bc32416fa..3814163216a 100644 --- a/swan-lake/by-example/alternate-wait/content.jsx +++ b/swan-lake/by-example/alternate-wait/content.jsx @@ -68,7 +68,7 @@ export function AlternateWait({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=289091862cd160a8b8cc326be4b966dd&file=alternate_wait.bal", + "https://play.ballerina.io/?gist=ee5a195493a9c91761f58b44fcf5ae87&file=alternate_wait.bal", "_blank", ); }} diff --git a/swan-lake/by-example/annotations/content.jsx b/swan-lake/by-example/annotations/content.jsx index b9fbb234809..36aeedb7d80 100644 --- a/swan-lake/by-example/annotations/content.jsx +++ b/swan-lake/by-example/annotations/content.jsx @@ -72,7 +72,7 @@ export function Annotations({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6ab457ab02ab7afced83705d6568a201&file=annotations.bal", + "https://play.ballerina.io/?gist=af4a6df96f864d0b1d8c7887ec68d5d4&file=annotations.bal", "_blank", ); }} diff --git a/swan-lake/by-example/anonymous-function/content.jsx b/swan-lake/by-example/anonymous-function/content.jsx index a1134b26140..122b831a54a 100644 --- a/swan-lake/by-example/anonymous-function/content.jsx +++ b/swan-lake/by-example/anonymous-function/content.jsx @@ -62,7 +62,7 @@ export function AnonymousFunction({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c9976a1b670725e94249656a54652bf2&file=anonymous_function.bal", + "https://play.ballerina.io/?gist=9a46089001c8658dc34da799149073dd&file=anonymous_function.bal", "_blank", ); }} diff --git a/swan-lake/by-example/any-type/content.jsx b/swan-lake/by-example/any-type/content.jsx index bc46f2f639e..ccf1c92e3ae 100644 --- a/swan-lake/by-example/any-type/content.jsx +++ b/swan-lake/by-example/any-type/content.jsx @@ -60,7 +60,7 @@ export function AnyType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1ef48c6e3a93391f6506d5573b5d99f2&file=any_type.bal", + "https://play.ballerina.io/?gist=b0647e925982faad29043ca6e310d4f5&file=any_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/anydata-type/content.jsx b/swan-lake/by-example/anydata-type/content.jsx index 14e628d721b..3f74c37a92b 100644 --- a/swan-lake/by-example/anydata-type/content.jsx +++ b/swan-lake/by-example/anydata-type/content.jsx @@ -58,7 +58,7 @@ export function AnydataType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6009fee236e188a42ff4a387ed66de8c&file=anydata_type.bal", + "https://play.ballerina.io/?gist=7ff59f5752e54549f71f718f7b0b3f8d&file=anydata_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/array-map-symmetry/content.jsx b/swan-lake/by-example/array-map-symmetry/content.jsx index 5fe66eaa466..8088f80cef8 100644 --- a/swan-lake/by-example/array-map-symmetry/content.jsx +++ b/swan-lake/by-example/array-map-symmetry/content.jsx @@ -120,7 +120,7 @@ export function ArrayMapSymmetry({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=2095eaa49ccfd88fda71e6333c7a6fd6&file=array_map_symmetry.bal", + "https://play.ballerina.io/?gist=8d7f0747eff8bd13f73d1752d064ad08&file=array_map_symmetry.bal", "_blank", ); }} diff --git a/swan-lake/by-example/arrays/content.jsx b/swan-lake/by-example/arrays/content.jsx index 37e62d50a74..2ccd5539ab9 100644 --- a/swan-lake/by-example/arrays/content.jsx +++ b/swan-lake/by-example/arrays/content.jsx @@ -99,7 +99,7 @@ export function Arrays({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5bba003797cff4cb643de904d47d2d67&file=arrays.bal", + "https://play.ballerina.io/?gist=804da0b46091c930077233d6740450c3&file=arrays.bal", "_blank", ); }} diff --git a/swan-lake/by-example/asynchronize-message-passing/content.jsx b/swan-lake/by-example/asynchronize-message-passing/content.jsx index d9de35e672d..da8a3d9ef25 100644 --- a/swan-lake/by-example/asynchronize-message-passing/content.jsx +++ b/swan-lake/by-example/asynchronize-message-passing/content.jsx @@ -63,7 +63,7 @@ export function AsynchronizeMessagePassing({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=50f5c37478c6bca2568dec9c649f8b0f&file=asynchronize_message_passing.bal", + "https://play.ballerina.io/?gist=80a3428d3a90a21c28ac5208e8973f5a&file=asynchronize_message_passing.bal", "_blank", ); }} diff --git a/swan-lake/by-example/asynchronous-function-calls/content.jsx b/swan-lake/by-example/asynchronous-function-calls/content.jsx index 5bb89cf4a2c..63d24725f4f 100644 --- a/swan-lake/by-example/asynchronous-function-calls/content.jsx +++ b/swan-lake/by-example/asynchronous-function-calls/content.jsx @@ -58,7 +58,7 @@ export function AsynchronousFunctionCalls({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=68add4931e2813f0c92d82ad6667d359&file=asynchronous_function_calls.bal", + "https://play.ballerina.io/?gist=118bf1cdbefcefe110e77509b5a8dde9&file=asynchronous_function_calls.bal", "_blank", ); }} diff --git a/swan-lake/by-example/backtick-templates/content.jsx b/swan-lake/by-example/backtick-templates/content.jsx index b9723ca232a..da46315e159 100644 --- a/swan-lake/by-example/backtick-templates/content.jsx +++ b/swan-lake/by-example/backtick-templates/content.jsx @@ -73,7 +73,7 @@ export function BacktickTemplates({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=958ee5c5bc56c2b9423d2bb927cbdfe1&file=backtick_templates.bal", + "https://play.ballerina.io/?gist=a7b6c6f752196cfb1789976267765c07&file=backtick_templates.bal", "_blank", ); }} diff --git a/swan-lake/by-example/binary-data/content.jsx b/swan-lake/by-example/binary-data/content.jsx index 8433877265b..cdd940ec1d3 100644 --- a/swan-lake/by-example/binary-data/content.jsx +++ b/swan-lake/by-example/binary-data/content.jsx @@ -50,7 +50,7 @@ export function BinaryData({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1500ead4e4b4390d0c1cb2f4e91a236c&file=binary_data.bal", + "https://play.ballerina.io/?gist=9c748ad9b0a32a5a7c1ea13b44ddbb7f&file=binary_data.bal", "_blank", ); }} diff --git a/swan-lake/by-example/binding-patterns-in-match-statement/content.jsx b/swan-lake/by-example/binding-patterns-in-match-statement/content.jsx index 68ae278aaff..73c36ec6047 100644 --- a/swan-lake/by-example/binding-patterns-in-match-statement/content.jsx +++ b/swan-lake/by-example/binding-patterns-in-match-statement/content.jsx @@ -97,7 +97,7 @@ export function BindingPatternsInMatchStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=fc51f62cb8f1657302c3880a5b29e0b7&file=binding_patterns_in_match_statement.bal", + "https://play.ballerina.io/?gist=0d9f4f48d3dad8238f03145e8588fe59&file=binding_patterns_in_match_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/binding-patterns/content.jsx b/swan-lake/by-example/binding-patterns/content.jsx index a1b49f2145d..fe508cfe20e 100644 --- a/swan-lake/by-example/binding-patterns/content.jsx +++ b/swan-lake/by-example/binding-patterns/content.jsx @@ -55,7 +55,7 @@ export function BindingPatterns({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=f003a1ad9086fdb8787cf3fd4a8aa247&file=binding_patterns.bal", + "https://play.ballerina.io/?gist=ba9dd69b97ba4730ecb493465afc5a47&file=binding_patterns.bal", "_blank", ); }} diff --git a/swan-lake/by-example/boolean/content.jsx b/swan-lake/by-example/boolean/content.jsx index 8b79e091179..4f7698a98a8 100644 --- a/swan-lake/by-example/boolean/content.jsx +++ b/swan-lake/by-example/boolean/content.jsx @@ -51,7 +51,7 @@ export function Boolean({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1cc40c68abdea61fca258d463bc37b20&file=boolean.bal", + "https://play.ballerina.io/?gist=0a93af563b3616a18287dc1cb1252ad5&file=boolean.bal", "_blank", ); }} diff --git a/swan-lake/by-example/break-statement/content.jsx b/swan-lake/by-example/break-statement/content.jsx index b2ae933dd47..5dad43c161d 100644 --- a/swan-lake/by-example/break-statement/content.jsx +++ b/swan-lake/by-example/break-statement/content.jsx @@ -59,7 +59,7 @@ export function BreakStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8b99757756901dee15f51bc6c742c1c1&file=break_statement.bal", + "https://play.ballerina.io/?gist=98d50760fb0c88e959e83e193876c5c1&file=break_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/built-in-integer-subtypes/content.jsx b/swan-lake/by-example/built-in-integer-subtypes/content.jsx index eb39ec78553..74f1563deee 100644 --- a/swan-lake/by-example/built-in-integer-subtypes/content.jsx +++ b/swan-lake/by-example/built-in-integer-subtypes/content.jsx @@ -138,7 +138,7 @@ export function BuiltInIntegerSubtypes({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=2c1cfd2f4ee1b74c4bd817fec1c732d9&file=built_in_integer_subtypes.bal", + "https://play.ballerina.io/?gist=c995e7a6ae739ceb72fe8fa9243bd8b9&file=built_in_integer_subtypes.bal", "_blank", ); }} diff --git a/swan-lake/by-example/built-in-string-subtype/content.jsx b/swan-lake/by-example/built-in-string-subtype/content.jsx index aeb5803ff2f..4628653aa03 100644 --- a/swan-lake/by-example/built-in-string-subtype/content.jsx +++ b/swan-lake/by-example/built-in-string-subtype/content.jsx @@ -59,7 +59,7 @@ export function BuiltInStringSubtype({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1ab37b2179dfb2894aa6a6b059057700&file=built_in_string_subtype.bal", + "https://play.ballerina.io/?gist=dd111515dfed33ad3a508e8766ffc2f4&file=built_in_string_subtype.bal", "_blank", ); }} diff --git a/swan-lake/by-example/cache-basics/content.jsx b/swan-lake/by-example/cache-basics/content.jsx index 688df2f3c65..9727d5081d9 100644 --- a/swan-lake/by-example/cache-basics/content.jsx +++ b/swan-lake/by-example/cache-basics/content.jsx @@ -74,7 +74,7 @@ export function CacheBasics({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d602f115bd11393d56efa779377623e8&file=cache_basics.bal", + "https://play.ballerina.io/?gist=e9fbefec6ab53f67f8822f17a9df1d80&file=cache_basics.bal", "_blank", ); }} diff --git a/swan-lake/by-example/cache-invalidation/content.jsx b/swan-lake/by-example/cache-invalidation/content.jsx index 817f15cb5d8..bb1038edad4 100644 --- a/swan-lake/by-example/cache-invalidation/content.jsx +++ b/swan-lake/by-example/cache-invalidation/content.jsx @@ -86,7 +86,7 @@ export function CacheInvalidation({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=800df0d3701adbb5e53d751f9c9cd35c&file=cache_invalidation.bal", + "https://play.ballerina.io/?gist=75a672c07005da531c077d143857f65c&file=cache_invalidation.bal", "_blank", ); }} diff --git a/swan-lake/by-example/casting-json-to-user-defined-type/content.jsx b/swan-lake/by-example/casting-json-to-user-defined-type/content.jsx index 508694448d4..78eb3673d93 100644 --- a/swan-lake/by-example/casting-json-to-user-defined-type/content.jsx +++ b/swan-lake/by-example/casting-json-to-user-defined-type/content.jsx @@ -73,7 +73,7 @@ export function CastingJsonToUserDefinedType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=88148dada74f25d24ec75e7723f3092c&file=casting_json_to_user_defined_type.bal", + "https://play.ballerina.io/?gist=4b2edcd4e039f58159c9f568a808e03e&file=casting_json_to_user_defined_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/check-expression/content.jsx b/swan-lake/by-example/check-expression/content.jsx index 55b21a8ec8b..5bb66558394 100644 --- a/swan-lake/by-example/check-expression/content.jsx +++ b/swan-lake/by-example/check-expression/content.jsx @@ -60,7 +60,7 @@ export function CheckExpression({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=50b40dd935d260bcff37061526a95aff&file=check_expression.bal", + "https://play.ballerina.io/?gist=bc2b3b154bda4ff8afc19e211d4acf3e&file=check_expression.bal", "_blank", ); }} diff --git a/swan-lake/by-example/check-semantics/content.jsx b/swan-lake/by-example/check-semantics/content.jsx index 0a305d2feea..5210721161c 100644 --- a/swan-lake/by-example/check-semantics/content.jsx +++ b/swan-lake/by-example/check-semantics/content.jsx @@ -83,7 +83,7 @@ export function CheckSemantics({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=2ee51534c8d749aa2c6baae256532e64&file=check_semantics.bal", + "https://play.ballerina.io/?gist=2c7d6c1a13cfa118a18f07fb577e3b43&file=check_semantics.bal", "_blank", ); }} diff --git a/swan-lake/by-example/combining-isolated-functions-and-lock/content.jsx b/swan-lake/by-example/combining-isolated-functions-and-lock/content.jsx index d22ec716beb..18b8917c609 100644 --- a/swan-lake/by-example/combining-isolated-functions-and-lock/content.jsx +++ b/swan-lake/by-example/combining-isolated-functions-and-lock/content.jsx @@ -101,7 +101,7 @@ export function CombiningIsolatedFunctionsAndLock({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e6ed65598e21495a7e1cdf5c907da482&file=combining_isolated_functions_and_lock.bal", + "https://play.ballerina.io/?gist=48c1b8b2e5fa1d7acb22c783c69a6414&file=combining_isolated_functions_and_lock.bal", "_blank", ); }} diff --git a/swan-lake/by-example/commit-rollback-handlers/content.jsx b/swan-lake/by-example/commit-rollback-handlers/content.jsx index 0693690d520..1154f842d4a 100644 --- a/swan-lake/by-example/commit-rollback-handlers/content.jsx +++ b/swan-lake/by-example/commit-rollback-handlers/content.jsx @@ -74,7 +74,7 @@ export function CommitRollbackHandlers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0a47de427ae155fa5751ea47cc268169&file=commit_rollback_handlers.bal", + "https://play.ballerina.io/?gist=d167a9d417f3802238ee0cf7921c05c0&file=commit_rollback_handlers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/computed-field-key/content.jsx b/swan-lake/by-example/computed-field-key/content.jsx index 337ed2c4c58..ee9c150ee35 100644 --- a/swan-lake/by-example/computed-field-key/content.jsx +++ b/swan-lake/by-example/computed-field-key/content.jsx @@ -62,7 +62,7 @@ export function ComputedFieldKey({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=597aa9814e5dd47d9dbf83078ae1cdf6&file=computed_field_key.bal", + "https://play.ballerina.io/?gist=a3ce1845c0ca62d1d9b3e50772779a6c&file=computed_field_key.bal", "_blank", ); }} diff --git a/swan-lake/by-example/const-and-final/content.jsx b/swan-lake/by-example/const-and-final/content.jsx index 7985eb237e8..a6bb620a645 100644 --- a/swan-lake/by-example/const-and-final/content.jsx +++ b/swan-lake/by-example/const-and-final/content.jsx @@ -62,7 +62,7 @@ export function ConstAndFinal({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=fb4ebc933fc5ed6f884e6eb9fb6a0302&file=const_and_final.bal", + "https://play.ballerina.io/?gist=ee391bd00a5d43572b6650d3ded34780&file=const_and_final.bal", "_blank", ); }} diff --git a/swan-lake/by-example/constraint-validations/content.jsx b/swan-lake/by-example/constraint-validations/content.jsx index b47b2274c09..d6f61d9ccc8 100644 --- a/swan-lake/by-example/constraint-validations/content.jsx +++ b/swan-lake/by-example/constraint-validations/content.jsx @@ -93,7 +93,7 @@ export function ConstraintValidations({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=dd21a5da39d73cbaf5e7d7cb3b2ad579&file=constraint_validations.bal", + "https://play.ballerina.io/?gist=03b42e463700fc3e1a0d0ff0c32aa964&file=constraint_validations.bal", "_blank", ); }} diff --git a/swan-lake/by-example/consuming-services/content.jsx b/swan-lake/by-example/consuming-services/content.jsx index 7fb6824b3ba..91b3cf1aebd 100644 --- a/swan-lake/by-example/consuming-services/content.jsx +++ b/swan-lake/by-example/consuming-services/content.jsx @@ -54,7 +54,7 @@ export function ConsumingServices({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=468952844de9ad483ad101ddacb39570&file=consuming_services.bal", + "https://play.ballerina.io/?gist=d2b6ae0284b5aec4d8c64c3b33e78a98&file=consuming_services.bal", "_blank", ); }} diff --git a/swan-lake/by-example/continue-statement/content.jsx b/swan-lake/by-example/continue-statement/content.jsx index 15f509e043f..1371e05ac10 100644 --- a/swan-lake/by-example/continue-statement/content.jsx +++ b/swan-lake/by-example/continue-statement/content.jsx @@ -60,7 +60,7 @@ export function ContinueStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b316e352d443cd89883c746d0a21f344&file=continue_statement.bal", + "https://play.ballerina.io/?gist=f4cab58ecd00d0a102b224d70be1be21&file=continue_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/controlling-openness/content.jsx b/swan-lake/by-example/controlling-openness/content.jsx index d0cf0c42a62..58302cd59ac 100644 --- a/swan-lake/by-example/controlling-openness/content.jsx +++ b/swan-lake/by-example/controlling-openness/content.jsx @@ -75,7 +75,7 @@ export function ControllingOpenness({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b2d502d524c36291384e42a92d87be49&file=controlling_openness.bal", + "https://play.ballerina.io/?gist=155d262a6462ddd6205987ebe2b5680c&file=controlling_openness.bal", "_blank", ); }} diff --git a/swan-lake/by-example/convert-from-json-to-user-defined-type/content.jsx b/swan-lake/by-example/convert-from-json-to-user-defined-type/content.jsx index d9a1e6fd0ab..90bac1c4036 100644 --- a/swan-lake/by-example/convert-from-json-to-user-defined-type/content.jsx +++ b/swan-lake/by-example/convert-from-json-to-user-defined-type/content.jsx @@ -82,7 +82,7 @@ export function ConvertFromJsonToUserDefinedType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=9adc354e3cf71c8ecc3ff92056a95677&file=convert_from_json_to_user_defined_type.bal", + "https://play.ballerina.io/?gist=25554102a562e5f0e75f22a0f79bb56e&file=convert_from_json_to_user_defined_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/converting-from-table-and-xml-to-json/content.jsx b/swan-lake/by-example/converting-from-table-and-xml-to-json/content.jsx index 14464966663..39897bb8716 100644 --- a/swan-lake/by-example/converting-from-table-and-xml-to-json/content.jsx +++ b/swan-lake/by-example/converting-from-table-and-xml-to-json/content.jsx @@ -53,7 +53,7 @@ export function ConvertingFromTableAndXmlToJson({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b93e73ac4b9d74e586d851a1f91f641d&file=converting_from_table_and_xml_to_json.bal", + "https://play.ballerina.io/?gist=8c6ba9caaccbcd4f8de032fb084d6f6e&file=converting_from_table_and_xml_to_json.bal", "_blank", ); }} diff --git a/swan-lake/by-example/converting-from-user-defined-type-to-json/content.jsx b/swan-lake/by-example/converting-from-user-defined-type-to-json/content.jsx index 5840aa4a679..d5eb290958c 100644 --- a/swan-lake/by-example/converting-from-user-defined-type-to-json/content.jsx +++ b/swan-lake/by-example/converting-from-user-defined-type-to-json/content.jsx @@ -72,7 +72,7 @@ export function ConvertingFromUserDefinedTypeToJson({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a92d3ddd81a750565871dfafaa69a9b9&file=converting_from_user_defined_type_to_json.bal", + "https://play.ballerina.io/?gist=c274acdd503545d91b3aa7f9e4a4d9e6&file=converting_from_user_defined_type_to_json.bal", "_blank", ); }} diff --git a/swan-lake/by-example/covariance/content.jsx b/swan-lake/by-example/covariance/content.jsx index 2bc5cbd726b..d20badb19be 100644 --- a/swan-lake/by-example/covariance/content.jsx +++ b/swan-lake/by-example/covariance/content.jsx @@ -53,7 +53,7 @@ export function Covariance({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e379439a846d11c4a6297c2ab5d31dc6&file=covariance.bal", + "https://play.ballerina.io/?gist=907508b5fecbfa6fd2d24822c8097912&file=covariance.bal", "_blank", ); }} diff --git a/swan-lake/by-example/create-maps-with-query/content.jsx b/swan-lake/by-example/create-maps-with-query/content.jsx index d3c134f0db7..7803d00ae79 100644 --- a/swan-lake/by-example/create-maps-with-query/content.jsx +++ b/swan-lake/by-example/create-maps-with-query/content.jsx @@ -66,7 +66,7 @@ export function CreateMapsWithQuery({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=975884763900c12e92d00dd60f53f556&file=create_maps_with_query.bal", + "https://play.ballerina.io/?gist=400b17619168f0e2cca600aa277473e0&file=create_maps_with_query.bal", "_blank", ); }} diff --git a/swan-lake/by-example/create-streams-with-query/content.jsx b/swan-lake/by-example/create-streams-with-query/content.jsx index 6bd0e29f2af..afa3d1e4188 100644 --- a/swan-lake/by-example/create-streams-with-query/content.jsx +++ b/swan-lake/by-example/create-streams-with-query/content.jsx @@ -69,7 +69,7 @@ export function CreateStreamsWithQuery({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=450067b1863d9162291579cabf021c3e&file=create_streams_with_query.bal", + "https://play.ballerina.io/?gist=6e8fc572b9d61212841528f458f704e7&file=create_streams_with_query.bal", "_blank", ); }} diff --git a/swan-lake/by-example/create-tables-with-query/content.jsx b/swan-lake/by-example/create-tables-with-query/content.jsx index 83124554044..1e3346690ea 100644 --- a/swan-lake/by-example/create-tables-with-query/content.jsx +++ b/swan-lake/by-example/create-tables-with-query/content.jsx @@ -69,7 +69,7 @@ export function CreateTablesWithQuery({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=2eca7ef8b3a75a0fee88b7765ea17425&file=create_tables_with_query.bal", + "https://play.ballerina.io/?gist=f4eebf5afed93d7eddc1183db5a49215&file=create_tables_with_query.bal", "_blank", ); }} diff --git a/swan-lake/by-example/custom-prefetch-methods/content.jsx b/swan-lake/by-example/custom-prefetch-methods/content.jsx index 3f9d8ac849b..5ffa381539f 100644 --- a/swan-lake/by-example/custom-prefetch-methods/content.jsx +++ b/swan-lake/by-example/custom-prefetch-methods/content.jsx @@ -47,12 +47,7 @@ isolated function bookLoaderFunction(readonly & anydata[] ids) returns BookRow[] } @graphql:ServiceConfig { - contextInit: isolated function(http:RequestContext requestContext, http:Request request) - returns graphql:Context { - graphql:Context ctx = new; - ctx.registerDataLoader("bookLoader", new dataloader:DefaultDataLoader(bookLoaderFunction)); - return ctx; - } + contextInit } service /graphql on new graphql:Listener(9090) { resource function get authors() returns Author[] { @@ -91,6 +86,12 @@ public isolated distinct service class Author { select {id: bookRow.id, title: bookRow.title}; } } + +isolated function contextInit(http:RequestContext requestContext, http:Request request) returns graphql:Context { + graphql:Context ctx = new; + ctx.registerDataLoader("bookLoader", new dataloader:DefaultDataLoader(bookLoaderFunction)); + return ctx; +} `, `{ authors { diff --git a/swan-lake/by-example/decimal-type/content.jsx b/swan-lake/by-example/decimal-type/content.jsx index 9e54b5a0c78..06d70d61fcb 100644 --- a/swan-lake/by-example/decimal-type/content.jsx +++ b/swan-lake/by-example/decimal-type/content.jsx @@ -63,7 +63,7 @@ export function DecimalType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=93c8cc2114e16c9f1382fa3818ce3f55&file=decimal_type.bal", + "https://play.ballerina.io/?gist=457428cc7ef4670a95d2557dde50fda7&file=decimal_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/default-values-for-function-parameters/content.jsx b/swan-lake/by-example/default-values-for-function-parameters/content.jsx index 173b9e6dd19..32ef37c0dbb 100644 --- a/swan-lake/by-example/default-values-for-function-parameters/content.jsx +++ b/swan-lake/by-example/default-values-for-function-parameters/content.jsx @@ -54,7 +54,7 @@ export function DefaultValuesForFunctionParameters({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=df7521c54f8df7039f9a5311321c6720&file=default_values_for_function_parameters.bal", + "https://play.ballerina.io/?gist=bf2411906f3e53d6cdd17573c840080c&file=default_values_for_function_parameters.bal", "_blank", ); }} diff --git a/swan-lake/by-example/default-values-for-record-fields/content.jsx b/swan-lake/by-example/default-values-for-record-fields/content.jsx index 1815c463883..63464f3d739 100644 --- a/swan-lake/by-example/default-values-for-record-fields/content.jsx +++ b/swan-lake/by-example/default-values-for-record-fields/content.jsx @@ -70,7 +70,7 @@ export function DefaultValuesForRecordFields({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=80118e27bf9f00fbabcb6483fc6cc0b9&file=default_values_for_record_fields.bal", + "https://play.ballerina.io/?gist=80fb7816abc673d7115923c5d5051878&file=default_values_for_record_fields.bal", "_blank", ); }} diff --git a/swan-lake/by-example/defining-classes/content.jsx b/swan-lake/by-example/defining-classes/content.jsx index c1cb5a7e8e0..30bffb63d9f 100644 --- a/swan-lake/by-example/defining-classes/content.jsx +++ b/swan-lake/by-example/defining-classes/content.jsx @@ -76,7 +76,7 @@ export function DefiningClasses({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=4ae1ba7aedec00f5d5a4927fe1946b83&file=defining_classes.bal", + "https://play.ballerina.io/?gist=92ec5ff9725f85698b544abfea6bb4b8&file=defining_classes.bal", "_blank", ); }} diff --git a/swan-lake/by-example/dependent-types/content.jsx b/swan-lake/by-example/dependent-types/content.jsx index 1bd20936ec1..8dcfd6e43bd 100644 --- a/swan-lake/by-example/dependent-types/content.jsx +++ b/swan-lake/by-example/dependent-types/content.jsx @@ -58,7 +58,7 @@ export function DependentTypes({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8895a24ca54b934c8bf2acd61be09a37&file=dependent_types.bal", + "https://play.ballerina.io/?gist=04b6e36b45a6a9657d89bdabf5e1abcc&file=dependent_types.bal", "_blank", ); }} diff --git a/swan-lake/by-example/destructure-records-using-query/content.jsx b/swan-lake/by-example/destructure-records-using-query/content.jsx index dd42a02cce1..fb5f82b03bf 100644 --- a/swan-lake/by-example/destructure-records-using-query/content.jsx +++ b/swan-lake/by-example/destructure-records-using-query/content.jsx @@ -73,7 +73,7 @@ export function DestructureRecordsUsingQuery({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=97fee5e3e87038f6fd997a07e3e77886&file=destructure_records_using_query.bal", + "https://play.ballerina.io/?gist=09c7867bd9de64392e6c79da98dbebbf&file=destructure_records_using_query.bal", "_blank", ); }} diff --git a/swan-lake/by-example/directories/content.jsx b/swan-lake/by-example/directories/content.jsx index 8fe24144264..88367004558 100644 --- a/swan-lake/by-example/directories/content.jsx +++ b/swan-lake/by-example/directories/content.jsx @@ -79,7 +79,7 @@ export function Directories({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=96b7dd516735c749b6bb5fd22992d627&file=directories.bal", + "https://play.ballerina.io/?gist=7f93de07efa9ecea142a837c49e9b116&file=directories.bal", "_blank", ); }} diff --git a/swan-lake/by-example/distinct-object-types/content.jsx b/swan-lake/by-example/distinct-object-types/content.jsx index 421156a2b50..db7764ebd31 100644 --- a/swan-lake/by-example/distinct-object-types/content.jsx +++ b/swan-lake/by-example/distinct-object-types/content.jsx @@ -74,7 +74,7 @@ export function DistinctObjectTypes({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0e79b00cc8fb1a21a2951df0a568967a&file=distinct_object_types.bal", + "https://play.ballerina.io/?gist=f80598eaa6bae21027d65d37090e0fe8&file=distinct_object_types.bal", "_blank", ); }} diff --git a/swan-lake/by-example/documentation/content.jsx b/swan-lake/by-example/documentation/content.jsx index df31d01f794..40c90284f30 100644 --- a/swan-lake/by-example/documentation/content.jsx +++ b/swan-lake/by-example/documentation/content.jsx @@ -47,7 +47,7 @@ export function Documentation({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=eb8d745774455152977c3d0b77a0977a&file=documentation.bal", + "https://play.ballerina.io/?gist=1c56c6a25bcda39303bb47c5b2118422&file=documentation.bal", "_blank", ); }} diff --git a/swan-lake/by-example/edi-to-record/content.jsx b/swan-lake/by-example/edi-to-record/content.jsx index 7b90db6a903..eb0c10aab16 100644 --- a/swan-lake/by-example/edi-to-record/content.jsx +++ b/swan-lake/by-example/edi-to-record/content.jsx @@ -101,7 +101,7 @@ export function EdiToRecord({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6961ee34a17148c61ad51320a2488f3a&file=schema.json", + "https://play.ballerina.io/?gist=0f664265c8be814d057315d775a625bc&file=schema.json", "_blank", ); }} @@ -214,7 +214,7 @@ export function EdiToRecord({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6961ee34a17148c61ad51320a2488f3a&file=schema.json", + "https://play.ballerina.io/?gist=0f664265c8be814d057315d775a625bc&file=schema.json", "_blank", ); }} @@ -329,7 +329,7 @@ export function EdiToRecord({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6961ee34a17148c61ad51320a2488f3a&file=schema.json", + "https://play.ballerina.io/?gist=0f664265c8be814d057315d775a625bc&file=schema.json", "_blank", ); }} @@ -654,7 +654,7 @@ export function EdiToRecord({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=ed968df759837675fd33040dbf03a74c&file=edi_to_record.bal", + "https://play.ballerina.io/?gist=f8b6a2ea534da4b993fb25b7c93ad6bf&file=edi_to_record.bal", "_blank", ); }} diff --git a/swan-lake/by-example/ensureType-function/content.jsx b/swan-lake/by-example/ensureType-function/content.jsx index 330e1f9d897..a55fc5585e2 100644 --- a/swan-lake/by-example/ensureType-function/content.jsx +++ b/swan-lake/by-example/ensureType-function/content.jsx @@ -54,7 +54,7 @@ export function EnsureTypeFunction({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=21eaa6abdec16fe5b0a266ad50a12766&file=ensureType_function.bal", + "https://play.ballerina.io/?gist=51448b3bdd4f548b6d65a5880637f5ac&file=ensureType_function.bal", "_blank", ); }} diff --git a/swan-lake/by-example/enumerations/content.jsx b/swan-lake/by-example/enumerations/content.jsx index 734f7e6b325..4afac1adc53 100644 --- a/swan-lake/by-example/enumerations/content.jsx +++ b/swan-lake/by-example/enumerations/content.jsx @@ -61,7 +61,7 @@ export function Enumerations({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0988ba73c9346758badd84bffc5c194c&file=enumerations.bal", + "https://play.ballerina.io/?gist=b1a5d62c510728ca62a59d1a8a59a4a0&file=enumerations.bal", "_blank", ); }} diff --git a/swan-lake/by-example/environment-variables/content.jsx b/swan-lake/by-example/environment-variables/content.jsx index 2b65e52badb..c5fca1cddaa 100644 --- a/swan-lake/by-example/environment-variables/content.jsx +++ b/swan-lake/by-example/environment-variables/content.jsx @@ -59,7 +59,7 @@ export function EnvironmentVariables({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c2ceeaba336907f73667a94c72b71d45&file=environment_variables.bal", + "https://play.ballerina.io/?gist=6b8f6a5bb1c7fe0566b6114c9aafa78d&file=environment_variables.bal", "_blank", ); }} diff --git a/swan-lake/by-example/error-binding-pattern-in-match-statement/content.jsx b/swan-lake/by-example/error-binding-pattern-in-match-statement/content.jsx index b6f7d0ba23f..17c8c9386ca 100644 --- a/swan-lake/by-example/error-binding-pattern-in-match-statement/content.jsx +++ b/swan-lake/by-example/error-binding-pattern-in-match-statement/content.jsx @@ -88,7 +88,7 @@ export function ErrorBindingPatternInMatchStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=62d06f8ad469505b6ad21596905a7333&file=error_binding_pattern_in_match_statement.bal", + "https://play.ballerina.io/?gist=b82343645c3817ddfb961bb8187f84ac&file=error_binding_pattern_in_match_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/error-binding-pattern/content.jsx b/swan-lake/by-example/error-binding-pattern/content.jsx index bddb3335bc5..060a14b1b33 100644 --- a/swan-lake/by-example/error-binding-pattern/content.jsx +++ b/swan-lake/by-example/error-binding-pattern/content.jsx @@ -75,7 +75,7 @@ export function ErrorBindingPattern({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b116f516108bfea6d584b0d77ed93735&file=error_binding_pattern.bal", + "https://play.ballerina.io/?gist=659025b0e296544682ec9e0c1205f99a&file=error_binding_pattern.bal", "_blank", ); }} diff --git a/swan-lake/by-example/error-cause/content.jsx b/swan-lake/by-example/error-cause/content.jsx index 1381ce5a8d0..e03dfe08847 100644 --- a/swan-lake/by-example/error-cause/content.jsx +++ b/swan-lake/by-example/error-cause/content.jsx @@ -60,7 +60,7 @@ export function ErrorCause({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=57bec05d46cb4438a2cda90dd129dbbb&file=error_cause.bal", + "https://play.ballerina.io/?gist=7d5ecef563ab246bbc2a98ccf3120a73&file=error_cause.bal", "_blank", ); }} diff --git a/swan-lake/by-example/error-detail/content.jsx b/swan-lake/by-example/error-detail/content.jsx index d40b8fb412a..e32643bb68a 100644 --- a/swan-lake/by-example/error-detail/content.jsx +++ b/swan-lake/by-example/error-detail/content.jsx @@ -60,7 +60,7 @@ export function ErrorDetail({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=09f70fbe421f98ff993a365c03d148b9&file=error_detail.bal", + "https://play.ballerina.io/?gist=6371bdbc08dbeb4de7f451153e9e0932&file=error_detail.bal", "_blank", ); }} diff --git a/swan-lake/by-example/error-handling/content.jsx b/swan-lake/by-example/error-handling/content.jsx index a3bc92d5211..69f1244cdbf 100644 --- a/swan-lake/by-example/error-handling/content.jsx +++ b/swan-lake/by-example/error-handling/content.jsx @@ -64,7 +64,7 @@ export function ErrorHandling({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=59f37b8ebd8c59edfd4f2655f895c48e&file=error_handling.bal", + "https://play.ballerina.io/?gist=0bc5b5b272322fce8954fa8f58f0522d&file=error_handling.bal", "_blank", ); }} diff --git a/swan-lake/by-example/error-reporting/content.jsx b/swan-lake/by-example/error-reporting/content.jsx index 80898d6c3c5..282b0eee4af 100644 --- a/swan-lake/by-example/error-reporting/content.jsx +++ b/swan-lake/by-example/error-reporting/content.jsx @@ -79,7 +79,7 @@ export function ErrorReporting({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=89096744280b6cca5568883def925741&file=error_reporting.bal", + "https://play.ballerina.io/?gist=8f3e652c3bd6d242782a7093b38289e9&file=error_reporting.bal", "_blank", ); }} diff --git a/swan-lake/by-example/error-subtyping/content.jsx b/swan-lake/by-example/error-subtyping/content.jsx index 3fbd57e622f..fb2d4a0666d 100644 --- a/swan-lake/by-example/error-subtyping/content.jsx +++ b/swan-lake/by-example/error-subtyping/content.jsx @@ -64,7 +64,7 @@ export function ErrorSubtyping({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=ed4fa1407c91b31b858abac048d54e65&file=error_subtyping.bal", + "https://play.ballerina.io/?gist=7a36968b5262bb6db3c2c0e8def0f1bc&file=error_subtyping.bal", "_blank", ); }} diff --git a/swan-lake/by-example/error-type-intersection/content.jsx b/swan-lake/by-example/error-type-intersection/content.jsx index f828b798ec5..50073154362 100644 --- a/swan-lake/by-example/error-type-intersection/content.jsx +++ b/swan-lake/by-example/error-type-intersection/content.jsx @@ -69,7 +69,7 @@ export function ErrorTypeIntersection({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a43267c8bd7ceb0f6b29425f29711374&file=error_type_intersection.bal", + "https://play.ballerina.io/?gist=b5b5e94dd0a503bf7dd1897a767ebefe&file=error_type_intersection.bal", "_blank", ); }} diff --git a/swan-lake/by-example/expression-oriented-style/content.jsx b/swan-lake/by-example/expression-oriented-style/content.jsx index 4e0cd8c8ec4..6da94ab8d25 100644 --- a/swan-lake/by-example/expression-oriented-style/content.jsx +++ b/swan-lake/by-example/expression-oriented-style/content.jsx @@ -72,7 +72,7 @@ export function ExpressionOrientedStyle({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d2ddd9eaea17f03259872a9b15d0071d&file=expression_oriented_style.bal", + "https://play.ballerina.io/?gist=1cefca823cfd18b6eb78e06a81a12f76&file=expression_oriented_style.bal", "_blank", ); }} diff --git a/swan-lake/by-example/filepaths/content.jsx b/swan-lake/by-example/filepaths/content.jsx index ee45366810a..21512db9f14 100644 --- a/swan-lake/by-example/filepaths/content.jsx +++ b/swan-lake/by-example/filepaths/content.jsx @@ -79,7 +79,7 @@ export function Filepaths({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=619369c8b05505a0ad7a1ef00328eea8&file=filepaths.bal", + "https://play.ballerina.io/?gist=39a8a4395bd1c78de01cd55f60d67142&file=filepaths.bal", "_blank", ); }} diff --git a/swan-lake/by-example/files/content.jsx b/swan-lake/by-example/files/content.jsx index 3bda0db0d16..3b9a6028d0f 100644 --- a/swan-lake/by-example/files/content.jsx +++ b/swan-lake/by-example/files/content.jsx @@ -83,7 +83,7 @@ export function Files({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=bab0b3dac87ebbac867587f921f6663b&file=files.bal", + "https://play.ballerina.io/?gist=031c5315e05357c9a808aed6431c1aa8&file=files.bal", "_blank", ); }} diff --git a/swan-lake/by-example/filler-values-of-a-list/content.jsx b/swan-lake/by-example/filler-values-of-a-list/content.jsx index 818f8f5f1a4..9178fc97412 100644 --- a/swan-lake/by-example/filler-values-of-a-list/content.jsx +++ b/swan-lake/by-example/filler-values-of-a-list/content.jsx @@ -60,7 +60,7 @@ export function FillerValuesOfAList({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8730d70fed5644cf97d21343153ca5a1&file=filler_values_of_a_list.bal", + "https://play.ballerina.io/?gist=6f177e5fbe3d6e9599756bf656ddd1d4&file=filler_values_of_a_list.bal", "_blank", ); }} diff --git a/swan-lake/by-example/floating-point-numbers/content.jsx b/swan-lake/by-example/floating-point-numbers/content.jsx index 817d436b752..d59dfdcf1e7 100644 --- a/swan-lake/by-example/floating-point-numbers/content.jsx +++ b/swan-lake/by-example/floating-point-numbers/content.jsx @@ -54,7 +54,7 @@ export function FloatingPointNumbers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=064136e04610a864ffc8820ba1916e5f&file=floating_point_numbers.bal", + "https://play.ballerina.io/?gist=47607b28f8a6ac63cadad6ea0fa5054e&file=floating_point_numbers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/flush/content.jsx b/swan-lake/by-example/flush/content.jsx index f003cdaa394..92fc704d8de 100644 --- a/swan-lake/by-example/flush/content.jsx +++ b/swan-lake/by-example/flush/content.jsx @@ -67,7 +67,7 @@ export function Flush({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c464f42204cb6b2b470a8574f8d16b73&file=flush.bal", + "https://play.ballerina.io/?gist=9339b41f61eaee766f0eb3be314c2814&file=flush.bal", "_blank", ); }} diff --git a/swan-lake/by-example/foreach-statement/content.jsx b/swan-lake/by-example/foreach-statement/content.jsx index f1ec3694f35..d23c087bb37 100644 --- a/swan-lake/by-example/foreach-statement/content.jsx +++ b/swan-lake/by-example/foreach-statement/content.jsx @@ -73,7 +73,7 @@ export function ForeachStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=64362e0f8a9a08ef94a3f6f973a51f50&file=foreach_statement.bal", + "https://play.ballerina.io/?gist=ee471c05fcc1e445d69001b581c3fc63&file=foreach_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/function-closure/content.jsx b/swan-lake/by-example/function-closure/content.jsx index a58aacd5af2..6e14d249d16 100644 --- a/swan-lake/by-example/function-closure/content.jsx +++ b/swan-lake/by-example/function-closure/content.jsx @@ -51,7 +51,7 @@ export function FunctionClosure({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=05e9383e70baa723b376a643c043cbee&file=function_closure.bal", + "https://play.ballerina.io/?gist=a0fed17140a254ccf02558a197a7a627&file=function_closure.bal", "_blank", ); }} diff --git a/swan-lake/by-example/function-pointers/content.jsx b/swan-lake/by-example/function-pointers/content.jsx index 12d9b4433fa..910d47aeb8f 100644 --- a/swan-lake/by-example/function-pointers/content.jsx +++ b/swan-lake/by-example/function-pointers/content.jsx @@ -64,7 +64,7 @@ export function FunctionPointers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e5dba8f2a0e9b30671f90b8d4f991e1d&file=function_pointers.bal", + "https://play.ballerina.io/?gist=c82b6908ca17f14e7c6bbea6c31d1b72&file=function_pointers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/function-types/content.jsx b/swan-lake/by-example/function-types/content.jsx index 1163b291406..4d4c5555b48 100644 --- a/swan-lake/by-example/function-types/content.jsx +++ b/swan-lake/by-example/function-types/content.jsx @@ -76,7 +76,7 @@ export function FunctionTypes({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1cdb39efa6ca72640b38176b90c0b070&file=function_types.bal", + "https://play.ballerina.io/?gist=2672c7ff52ad532afd6023106330e89e&file=function_types.bal", "_blank", ); }} diff --git a/swan-lake/by-example/function-values/content.jsx b/swan-lake/by-example/function-values/content.jsx index da00a660e27..c7fbb52de74 100644 --- a/swan-lake/by-example/function-values/content.jsx +++ b/swan-lake/by-example/function-values/content.jsx @@ -52,7 +52,7 @@ export function FunctionValues({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=ed68949758f411278ba38785271ac84b&file=function_values.bal", + "https://play.ballerina.io/?gist=a4b72667f7857271451eebd4a6e29c42&file=function_values.bal", "_blank", ); }} diff --git a/swan-lake/by-example/functions/content.jsx b/swan-lake/by-example/functions/content.jsx index 1be8af68844..b25ce65dd89 100644 --- a/swan-lake/by-example/functions/content.jsx +++ b/swan-lake/by-example/functions/content.jsx @@ -77,7 +77,7 @@ export function Functions({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0605a9c6a92374aeec3ca364c187c1e1&file=functions.bal", + "https://play.ballerina.io/?gist=86ad158f6fdab17112a1f6568d5d90d8&file=functions.bal", "_blank", ); }} diff --git a/swan-lake/by-example/graphql-context/content.jsx b/swan-lake/by-example/graphql-context/content.jsx index 24f93f87479..653e41af82a 100644 --- a/swan-lake/by-example/graphql-context/content.jsx +++ b/swan-lake/by-example/graphql-context/content.jsx @@ -18,20 +18,7 @@ type Profile record {| @graphql:ServiceConfig { // Initialization of the \`graphqlContext\` should be provided to the \`contextInit\` field. - contextInit: isolated function(http:RequestContext requestContext, http:Request request) - returns graphql:Context|error { - - // Initialize the \`graphql:Context\` object. - graphql:Context context = new; - - // Retrieves the header named \`scope\` from the \`http:request\` and set it to the context with - // the \`scope\` key. If the header does not exist, this will return an \`error\`, and thereby, - // the request will not be processed. - context.set("scope", check request.getHeader("scope")); - - // Finally, the context object should be returned. - return context; - } + contextInit } service /graphql on new graphql:Listener(9090) { // Defines a \`Profile\` field inside the service. @@ -57,6 +44,19 @@ service /graphql on new graphql:Listener(9090) { return error("Permission denied"); } } + +isolated function contextInit(http:RequestContext requestContext, http:Request request) returns graphql:Context|error { + // Initialize the \`graphql:Context\` object. + graphql:Context context = new; + + // Retrieves the header named \`scope\` from the \`http:request\` and set it to the context with + // the \`scope\` key. If the header does not exist, this will return an \`error\`, and thereby, + // the request will not be processed. + context.set("scope", check request.getHeader("scope")); + + // Finally, the context object should be returned. + return context; +} `, `{ profile { diff --git a/swan-lake/by-example/graphql-dataloader/content.jsx b/swan-lake/by-example/graphql-dataloader/content.jsx index 67f06c5952a..c1b3eb5aee5 100644 --- a/swan-lake/by-example/graphql-dataloader/content.jsx +++ b/swan-lake/by-example/graphql-dataloader/content.jsx @@ -55,14 +55,7 @@ isolated function bookLoaderFunction(readonly & anydata[] ids) returns BookRow[] } @graphql:ServiceConfig { - contextInit: isolated function(http:RequestContext requestContext, http:Request request) - returns graphql:Context { - graphql:Context ctx = new; - // Register the dataloader with the context using a unique name. - // A defult implementation of the dataloader is used here. - ctx.registerDataLoader("bookLoader", new dataloader:DefaultDataLoader(bookLoaderFunction)); - return ctx; - } + contextInit } service /graphql on new graphql:Listener(9090) { resource function get authors() returns Author[] { @@ -100,6 +93,14 @@ public isolated distinct service class Author { select {id: bookRow.id, title: bookRow.title}; } } + +isolated function contextInit(http:RequestContext requestContext, http:Request request) returns graphql:Context { + graphql:Context ctx = new; + // Register the dataloader with the context using a unique name. + // A defult implementation of the dataloader is used here. + ctx.registerDataLoader("bookLoader", new dataloader:DefaultDataLoader(bookLoaderFunction)); + return ctx; +} `, `{ authors { diff --git a/swan-lake/by-example/hello-world/content.jsx b/swan-lake/by-example/hello-world/content.jsx index bef91725153..1c6537d5099 100644 --- a/swan-lake/by-example/hello-world/content.jsx +++ b/swan-lake/by-example/hello-world/content.jsx @@ -39,7 +39,7 @@ export function HelloWorld({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=4578759fbde6016c40824de66d82acd9&file=hello_world.bal", + "https://play.ballerina.io/?gist=aa9dbb41a53ff2f36b6deae663d251e4&file=hello_world.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-100-continue/content.jsx b/swan-lake/by-example/http-100-continue/content.jsx index 2d51fa268ca..28dc7adf901 100644 --- a/swan-lake/by-example/http-100-continue/content.jsx +++ b/swan-lake/by-example/http-100-continue/content.jsx @@ -76,7 +76,7 @@ export function Http100Continue({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=f35f16f2f8950fe49a26a21d8d6c8d84&file=http_100_continue.bal", + "https://play.ballerina.io/?gist=0b9595d98a0ca6611803ca70de4d60e9&file=http_100_continue.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-2-0-client-server-push/content.jsx b/swan-lake/by-example/http-2-0-client-server-push/content.jsx index 2ead9bd5a36..c97a4163795 100644 --- a/swan-lake/by-example/http-2-0-client-server-push/content.jsx +++ b/swan-lake/by-example/http-2-0-client-server-push/content.jsx @@ -84,7 +84,7 @@ export function Http20ClientServerPush({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=28abe09fc93cc03e7399225e830bdf27&file=http_2_0_client_server_push.bal", + "https://play.ballerina.io/?gist=cc825b8d6175ab974f7f9ed51ea1a02e&file=http_2_0_client_server_push.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-2-0-server-push/content.jsx b/swan-lake/by-example/http-2-0-server-push/content.jsx index 1c3845264f8..35525532748 100644 --- a/swan-lake/by-example/http-2-0-server-push/content.jsx +++ b/swan-lake/by-example/http-2-0-server-push/content.jsx @@ -90,7 +90,7 @@ export function Http20ServerPush({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=253254d5430088a221587930d5f2cdfe&file=http_2_0_server_push.bal", + "https://play.ballerina.io/?gist=b6b4bd8ea32beae2d08daf68cae4a348&file=http_2_0_server_push.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-2-prior-knowledge-client/content.jsx b/swan-lake/by-example/http-2-prior-knowledge-client/content.jsx index cdbeaed5514..36617207a79 100644 --- a/swan-lake/by-example/http-2-prior-knowledge-client/content.jsx +++ b/swan-lake/by-example/http-2-prior-knowledge-client/content.jsx @@ -54,7 +54,7 @@ export function Http2PriorKnowledgeClient({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=41f7108277b47c9f4d250e591da2af7b&file=http_2_prior_knowledge_client.bal", + "https://play.ballerina.io/?gist=a6670882961e5bf97d13ce14a70594e4&file=http_2_prior_knowledge_client.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-2-to-1-1-downgrade-client/content.jsx b/swan-lake/by-example/http-2-to-1-1-downgrade-client/content.jsx index fee1bc90ddd..f015d3ba80f 100644 --- a/swan-lake/by-example/http-2-to-1-1-downgrade-client/content.jsx +++ b/swan-lake/by-example/http-2-to-1-1-downgrade-client/content.jsx @@ -54,7 +54,7 @@ export function Http2To11DowngradeClient({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=2ad1268785589e33550aa5bacb863879&file=http_2_to_1_1_downgrade_client.bal", + "https://play.ballerina.io/?gist=dc629a7f3ccd2817c4b43527150284ba&file=http_2_to_1_1_downgrade_client.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-2-to-1-1-downgrade-service/content.jsx b/swan-lake/by-example/http-2-to-1-1-downgrade-service/content.jsx index b97d9c4c39b..4ce6c6a31ac 100644 --- a/swan-lake/by-example/http-2-to-1-1-downgrade-service/content.jsx +++ b/swan-lake/by-example/http-2-to-1-1-downgrade-service/content.jsx @@ -67,7 +67,7 @@ export function Http2To11DowngradeService({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=dcab481e061f47f2d4a3b4003933cc64&file=http_2_to_1_1_downgrade_service.bal", + "https://play.ballerina.io/?gist=4e73bb5a946577e222cbbce9df0d9ace&file=http_2_to_1_1_downgrade_service.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-access-logs/content.jsx b/swan-lake/by-example/http-access-logs/content.jsx index 9a8bd075735..1136480d8cc 100644 --- a/swan-lake/by-example/http-access-logs/content.jsx +++ b/swan-lake/by-example/http-access-logs/content.jsx @@ -67,7 +67,7 @@ export function HttpAccessLogs({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=bdb569d9f1ead18b1313401946d3eeb0&file=http_access_logs.bal", + "https://play.ballerina.io/?gist=2827fea125718b0cfcc02551032f59c6&file=http_access_logs.bal", "_blank", ); }} @@ -188,7 +188,7 @@ export function HttpAccessLogs({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6c0d694baa2b78aacac521ed9fffee10&file=Config.toml", + "https://play.ballerina.io/?gist=08f5d6e17634818daa5cdf220397d34d&file=Config.toml", "_blank", ); }} diff --git a/swan-lake/by-example/http-basic-rest-service/content.jsx b/swan-lake/by-example/http-basic-rest-service/content.jsx index f3e18c72a65..f5d241f6a10 100644 --- a/swan-lake/by-example/http-basic-rest-service/content.jsx +++ b/swan-lake/by-example/http-basic-rest-service/content.jsx @@ -73,7 +73,7 @@ export function HttpBasicRestService({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a5e8c17aaf81d4b97a24d0920650000e&file=http_basic_rest_service.bal", + "https://play.ballerina.io/?gist=c577411d0febf13d68f4934f072d9d86&file=http_basic_rest_service.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-caching-client/content.jsx b/swan-lake/by-example/http-caching-client/content.jsx index f10cfd30a7a..0f3e6efb1bd 100644 --- a/swan-lake/by-example/http-caching-client/content.jsx +++ b/swan-lake/by-example/http-caching-client/content.jsx @@ -63,7 +63,7 @@ export function HttpCachingClient({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b2c2bcd3aa827cc77498d7e8e511971c&file=http_caching_client.bal", + "https://play.ballerina.io/?gist=2f801e4f8adcc212edf0f0574a709f0d&file=http_caching_client.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-caller/content.jsx b/swan-lake/by-example/http-caller/content.jsx index 1f728320c67..a20d2932064 100644 --- a/swan-lake/by-example/http-caller/content.jsx +++ b/swan-lake/by-example/http-caller/content.jsx @@ -69,7 +69,7 @@ export function HttpCaller({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=2c219ad152250998140fb32e008ae4ee&file=http_caller.bal", + "https://play.ballerina.io/?gist=5762ec107774ee25213d857e1823bc16&file=http_caller.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-circuit-breaker/content.jsx b/swan-lake/by-example/http-circuit-breaker/content.jsx index 1f61ee40629..7ddf668376f 100644 --- a/swan-lake/by-example/http-circuit-breaker/content.jsx +++ b/swan-lake/by-example/http-circuit-breaker/content.jsx @@ -81,7 +81,7 @@ export function HttpCircuitBreaker({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=f4d6a987dbe193c0d5e0f1e6a6a09fb0&file=http_circuit_breaker.bal", + "https://play.ballerina.io/?gist=ea141c4cc491eb4ab8df73456d0dfde6&file=http_circuit_breaker.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-basic-authentication/content.jsx b/swan-lake/by-example/http-client-basic-authentication/content.jsx index 5797e37ff07..aacf0015a54 100644 --- a/swan-lake/by-example/http-client-basic-authentication/content.jsx +++ b/swan-lake/by-example/http-client-basic-authentication/content.jsx @@ -60,7 +60,7 @@ export function HttpClientBasicAuthentication({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=26a4b5fa4bd0af93d21d25dc7f2f700d&file=http_client_basic_authentication.bal", + "https://play.ballerina.io/?gist=d8eb51eabf954927a55d5bf23c5d2105&file=http_client_basic_authentication.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-bearer-token-authentication/content.jsx b/swan-lake/by-example/http-client-bearer-token-authentication/content.jsx index f69f6a5a2b8..00033d8d4a4 100644 --- a/swan-lake/by-example/http-client-bearer-token-authentication/content.jsx +++ b/swan-lake/by-example/http-client-bearer-token-authentication/content.jsx @@ -59,7 +59,7 @@ export function HttpClientBearerTokenAuthentication({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=7058d91f64e378143a3a0d3181d12c4d&file=http_client_bearer_token_authentication.bal", + "https://play.ballerina.io/?gist=ae21fdebbc8e28d731b73bb9a00f41e3&file=http_client_bearer_token_authentication.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-chunking/content.jsx b/swan-lake/by-example/http-client-chunking/content.jsx index 6bde6ca120b..53e3028072d 100644 --- a/swan-lake/by-example/http-client-chunking/content.jsx +++ b/swan-lake/by-example/http-client-chunking/content.jsx @@ -63,7 +63,7 @@ export function HttpClientChunking({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5471c9c4c1fe75c491794475ebba376c&file=http_client_chunking.bal", + "https://play.ballerina.io/?gist=38d5c680a8913e34a06575e00bea508f&file=http_client_chunking.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-data-binding/content.jsx b/swan-lake/by-example/http-client-data-binding/content.jsx index e05aa840cc1..b38f5da8956 100644 --- a/swan-lake/by-example/http-client-data-binding/content.jsx +++ b/swan-lake/by-example/http-client-data-binding/content.jsx @@ -65,7 +65,7 @@ export function HttpClientDataBinding({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=f698e4bd07fe0cdcb6ac99aed8b0a921&file=http_client_data_binding.bal", + "https://play.ballerina.io/?gist=f9e022d24c6b0e6ef708f54df20d092b&file=http_client_data_binding.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-file-upload/content.jsx b/swan-lake/by-example/http-client-file-upload/content.jsx index 1626190c93e..a9805c8647c 100644 --- a/swan-lake/by-example/http-client-file-upload/content.jsx +++ b/swan-lake/by-example/http-client-file-upload/content.jsx @@ -56,7 +56,7 @@ export function HttpClientFileUpload({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=aa3c613c65c7241b57ccef1d175c23d4&file=http_client_file_upload.bal", + "https://play.ballerina.io/?gist=1d2503872a537c44b04b0c769f1d5516&file=http_client_file_upload.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-header-parameter/content.jsx b/swan-lake/by-example/http-client-header-parameter/content.jsx index 011dfa92a53..7c1ced8e2c6 100644 --- a/swan-lake/by-example/http-client-header-parameter/content.jsx +++ b/swan-lake/by-example/http-client-header-parameter/content.jsx @@ -71,7 +71,7 @@ export function HttpClientHeaderParameter({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a7bf6d80e9d1d2c66e0961efbbbc8359&file=http_client_header_parameter.bal", + "https://play.ballerina.io/?gist=6fac05e2da4ef917d03d4ec4efba3204&file=http_client_header_parameter.bal", "_blank", ); }} @@ -262,7 +262,7 @@ export function HttpClientHeaderParameter({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d5a75604625f59df4649891b7a973816&file=http_client_header_parameter_post.bal", + "https://play.ballerina.io/?gist=a0cb00cfcf5fc33e16d2fb05f055abca&file=http_client_header_parameter_post.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-mutual-ssl/content.jsx b/swan-lake/by-example/http-client-mutual-ssl/content.jsx index d2cff5899eb..544ef2af490 100644 --- a/swan-lake/by-example/http-client-mutual-ssl/content.jsx +++ b/swan-lake/by-example/http-client-mutual-ssl/content.jsx @@ -66,7 +66,7 @@ export function HttpClientMutualSsl({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=ff26fbf7bb1a941b4a0652334f57aaa7&file=http_client_mutual_ssl.bal", + "https://play.ballerina.io/?gist=52300ac5d9ee13562376e12689f6bf0c&file=http_client_mutual_ssl.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-oauth2-client-credentials-grant-type/content.jsx b/swan-lake/by-example/http-client-oauth2-client-credentials-grant-type/content.jsx index 346493d64b6..68a0cb1167a 100644 --- a/swan-lake/by-example/http-client-oauth2-client-credentials-grant-type/content.jsx +++ b/swan-lake/by-example/http-client-oauth2-client-credentials-grant-type/content.jsx @@ -67,7 +67,7 @@ export function HttpClientOauth2ClientCredentialsGrantType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5db0645f42106a75a90cb0984c7e567e&file=http_client_oauth2_client_credentials_grant_type.bal", + "https://play.ballerina.io/?gist=4c31557e4153fa2661d474510c18cf8d&file=http_client_oauth2_client_credentials_grant_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-oauth2-jwt-bearer-grant-type/content.jsx b/swan-lake/by-example/http-client-oauth2-jwt-bearer-grant-type/content.jsx index 9d656852b77..56e3571e54e 100644 --- a/swan-lake/by-example/http-client-oauth2-jwt-bearer-grant-type/content.jsx +++ b/swan-lake/by-example/http-client-oauth2-jwt-bearer-grant-type/content.jsx @@ -68,7 +68,7 @@ export function HttpClientOauth2JwtBearerGrantType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=796676ea6f60f39c70c6b636352b2eb3&file=http_client_oauth2_jwt_bearer_grant_type.bal", + "https://play.ballerina.io/?gist=8655f2d649043aac28ed26460283c67e&file=http_client_oauth2_jwt_bearer_grant_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-oauth2-password-grant-type/content.jsx b/swan-lake/by-example/http-client-oauth2-password-grant-type/content.jsx index ab8fb451dc7..6d17b6a9c37 100644 --- a/swan-lake/by-example/http-client-oauth2-password-grant-type/content.jsx +++ b/swan-lake/by-example/http-client-oauth2-password-grant-type/content.jsx @@ -72,7 +72,7 @@ export function HttpClientOauth2PasswordGrantType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=ce26807eed0490ae4b54c0e94b262af8&file=http_client_oauth2_password_grant_type.bal", + "https://play.ballerina.io/?gist=76ebf5e1613fdcef9e2424d00a2b3439&file=http_client_oauth2_password_grant_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-oauth2-refresh-token-grant-type/content.jsx b/swan-lake/by-example/http-client-oauth2-refresh-token-grant-type/content.jsx index 4d8ec7367f5..978ef7593cd 100644 --- a/swan-lake/by-example/http-client-oauth2-refresh-token-grant-type/content.jsx +++ b/swan-lake/by-example/http-client-oauth2-refresh-token-grant-type/content.jsx @@ -69,7 +69,7 @@ export function HttpClientOauth2RefreshTokenGrantType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=75dc8dd749c766bfc130b1815f6d6776&file=http_client_oauth2_refresh_token_grant_type.bal", + "https://play.ballerina.io/?gist=bf4e01d87b8e58fa8258456bf2df0a1f&file=http_client_oauth2_refresh_token_grant_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-path-parameter/content.jsx b/swan-lake/by-example/http-client-path-parameter/content.jsx index 06f1b05c791..76e35bc9713 100644 --- a/swan-lake/by-example/http-client-path-parameter/content.jsx +++ b/swan-lake/by-example/http-client-path-parameter/content.jsx @@ -56,7 +56,7 @@ export function HttpClientPathParameter({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=664b328d0b39592f1e71c48dc0e97c10&file=http_client_path_parameter.bal", + "https://play.ballerina.io/?gist=ae9e9aa6c5734f6cab78f9609e9ecb45&file=http_client_path_parameter.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-payload-constraint-validation/content.jsx b/swan-lake/by-example/http-client-payload-constraint-validation/content.jsx index 70953ba9e7a..fa9b3cbd0f6 100644 --- a/swan-lake/by-example/http-client-payload-constraint-validation/content.jsx +++ b/swan-lake/by-example/http-client-payload-constraint-validation/content.jsx @@ -70,7 +70,7 @@ export function HttpClientPayloadConstraintValidation({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=87e29b86209a629bff3671e4a0b5286b&file=http_client_payload_constraint_validation.bal", + "https://play.ballerina.io/?gist=b74fc004fb4f97818e8f574681fdb049&file=http_client_payload_constraint_validation.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-query-parameter/content.jsx b/swan-lake/by-example/http-client-query-parameter/content.jsx index 591987851e2..1fd89a759d4 100644 --- a/swan-lake/by-example/http-client-query-parameter/content.jsx +++ b/swan-lake/by-example/http-client-query-parameter/content.jsx @@ -68,7 +68,7 @@ export function HttpClientQueryParameter({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a562db5c8bdbab586c3dc1ddc079810e&file=http_client_query_parameter.bal", + "https://play.ballerina.io/?gist=3d3401ea8a1eb3ed3f81d49641813cb4&file=http_client_query_parameter.bal", "_blank", ); }} @@ -259,7 +259,7 @@ export function HttpClientQueryParameter({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=15a91f6b90f5d5e5b38f03b40e4010e4&file=http_client_query_parameter_post.bal", + "https://play.ballerina.io/?gist=b231bf666d799e7d024979af5b90eb66&file=http_client_query_parameter_post.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-redirects/content.jsx b/swan-lake/by-example/http-client-redirects/content.jsx index ef32ba7c271..4858890f7a6 100644 --- a/swan-lake/by-example/http-client-redirects/content.jsx +++ b/swan-lake/by-example/http-client-redirects/content.jsx @@ -58,7 +58,7 @@ export function HttpClientRedirects({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5e753a5f57693f5f40a49853beabc3ee&file=http_client_redirects.bal", + "https://play.ballerina.io/?gist=7485e8b49a3fef0b637dabbd3dd403e3&file=http_client_redirects.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-self-signed-jwt-authentication/content.jsx b/swan-lake/by-example/http-client-self-signed-jwt-authentication/content.jsx index a4079e0bca1..47921396c01 100644 --- a/swan-lake/by-example/http-client-self-signed-jwt-authentication/content.jsx +++ b/swan-lake/by-example/http-client-self-signed-jwt-authentication/content.jsx @@ -73,7 +73,7 @@ export function HttpClientSelfSignedJwtAuthentication({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=530ab64d39aac9c6908cf18a8ac280c8&file=http_client_self_signed_jwt_authentication.bal", + "https://play.ballerina.io/?gist=3b4322797ae2d7ef438002ca76d7e717&file=http_client_self_signed_jwt_authentication.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-send-request-receive-response/content.jsx b/swan-lake/by-example/http-client-send-request-receive-response/content.jsx index 2d25653f627..7abf8990907 100644 --- a/swan-lake/by-example/http-client-send-request-receive-response/content.jsx +++ b/swan-lake/by-example/http-client-send-request-receive-response/content.jsx @@ -68,7 +68,7 @@ export function HttpClientSendRequestReceiveResponse({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a4a62170becb30eb2248f1d811097862&file=http_client_send_request_receive_response.bal", + "https://play.ballerina.io/?gist=7491b7a0f9203cad8690aa8b38118796&file=http_client_send_request_receive_response.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-client-ssl-tls/content.jsx b/swan-lake/by-example/http-client-ssl-tls/content.jsx index 917faa528cd..e08c61f2786 100644 --- a/swan-lake/by-example/http-client-ssl-tls/content.jsx +++ b/swan-lake/by-example/http-client-ssl-tls/content.jsx @@ -54,7 +54,7 @@ export function HttpClientSslTls({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=371f99b4c21149302550ef04f101a36d&file=http_client_ssl_tls.bal", + "https://play.ballerina.io/?gist=639666519858c1aa25dd8b59bb4db7e9&file=http_client_ssl_tls.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-compression/content.jsx b/swan-lake/by-example/http-compression/content.jsx index 15a91ab9211..59d543068f2 100644 --- a/swan-lake/by-example/http-compression/content.jsx +++ b/swan-lake/by-example/http-compression/content.jsx @@ -66,7 +66,7 @@ export function HttpCompression({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=60ffdccd4bb06caec6839f70d582b4cb&file=http_compression.bal", + "https://play.ballerina.io/?gist=c85108a7082155c4448917e43b5623b3&file=http_compression.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-cookies-client/content.jsx b/swan-lake/by-example/http-cookies-client/content.jsx index e556c2cad72..be0aa94e896 100644 --- a/swan-lake/by-example/http-cookies-client/content.jsx +++ b/swan-lake/by-example/http-cookies-client/content.jsx @@ -65,7 +65,7 @@ export function HttpCookiesClient({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=407959e88f521db3c4eeffc703e85f6d&file=http_cookies_client.bal", + "https://play.ballerina.io/?gist=a610fb86b1742b7f28e3aaea9bd2fc3e&file=http_cookies_client.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-cookies-service/content.jsx b/swan-lake/by-example/http-cookies-service/content.jsx index 4beede5975d..f67d7152464 100644 --- a/swan-lake/by-example/http-cookies-service/content.jsx +++ b/swan-lake/by-example/http-cookies-service/content.jsx @@ -89,7 +89,7 @@ export function HttpCookiesService({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6acdead42c8594af5a55aba756c8f055&file=http_cookies_service.bal", + "https://play.ballerina.io/?gist=e803dc3a50fdec21f2bd63e1cd1a5c31&file=http_cookies_service.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-cors/content.jsx b/swan-lake/by-example/http-cors/content.jsx index 2a5cda17e03..854714b9ecf 100644 --- a/swan-lake/by-example/http-cors/content.jsx +++ b/swan-lake/by-example/http-cors/content.jsx @@ -75,7 +75,7 @@ export function HttpCors({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5388201d2be1899556805bce93542dc4&file=http_cors.bal", + "https://play.ballerina.io/?gist=17187bfa201b9e727fe7836131e5da28&file=http_cors.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-default-error-handling/content.jsx b/swan-lake/by-example/http-default-error-handling/content.jsx index ac690e4b811..9849f1de434 100644 --- a/swan-lake/by-example/http-default-error-handling/content.jsx +++ b/swan-lake/by-example/http-default-error-handling/content.jsx @@ -76,7 +76,7 @@ export function HttpDefaultErrorHandling({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=28e3f92420695c88ccc0ec348cb1ef40&file=http_default_error_handling.bal", + "https://play.ballerina.io/?gist=0d445b931b1262c54aebc264125b048b&file=http_default_error_handling.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-default-resource/content.jsx b/swan-lake/by-example/http-default-resource/content.jsx index 7f4d784603c..19517e8032e 100644 --- a/swan-lake/by-example/http-default-resource/content.jsx +++ b/swan-lake/by-example/http-default-resource/content.jsx @@ -56,7 +56,7 @@ export function HttpDefaultResource({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=960cc64b561c69d8c929c0279e2a7c0a&file=http_default_resource.bal", + "https://play.ballerina.io/?gist=203b8243285be67bc53ba7fa58141870&file=http_default_resource.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-error-handling/content.jsx b/swan-lake/by-example/http-error-handling/content.jsx index 56529904568..83109af61bd 100644 --- a/swan-lake/by-example/http-error-handling/content.jsx +++ b/swan-lake/by-example/http-error-handling/content.jsx @@ -98,7 +98,7 @@ export function HttpErrorHandling({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6f4da771c5631c86c5a219c06e2b3806&file=http_error_handling.bal", + "https://play.ballerina.io/?gist=45bb43bbd07489be86d9313b5f56b492&file=http_error_handling.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-failover/content.jsx b/swan-lake/by-example/http-failover/content.jsx index 48bd2b0e1b9..3c99eb96564 100644 --- a/swan-lake/by-example/http-failover/content.jsx +++ b/swan-lake/by-example/http-failover/content.jsx @@ -62,7 +62,7 @@ export function HttpFailover({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=56d807c433006d75453a2c63dba02a81&file=http_failover.bal", + "https://play.ballerina.io/?gist=57bc9958930cd93b63078e59234832c0&file=http_failover.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-header-param/content.jsx b/swan-lake/by-example/http-header-param/content.jsx index d76a13dcf22..72462d0650b 100644 --- a/swan-lake/by-example/http-header-param/content.jsx +++ b/swan-lake/by-example/http-header-param/content.jsx @@ -69,7 +69,7 @@ export function HttpHeaderParam({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=9388f5c242cb56c6f8db37f1a6529c75&file=http_header_param.bal", + "https://play.ballerina.io/?gist=5bcd1b4963209959cef1cb36b9ad11a8&file=http_header_param.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-interceptor-error-handling/content.jsx b/swan-lake/by-example/http-interceptor-error-handling/content.jsx index a6338e05078..e9aef56393a 100644 --- a/swan-lake/by-example/http-interceptor-error-handling/content.jsx +++ b/swan-lake/by-example/http-interceptor-error-handling/content.jsx @@ -107,7 +107,7 @@ export function HttpInterceptorErrorHandling({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a04cab5dfed899cdf4c5176af50237a8&file=http_interceptor_error_handling.bal", + "https://play.ballerina.io/?gist=8116d946e98ae12fa65d733eec0cf65e&file=http_interceptor_error_handling.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-load-balancer/content.jsx b/swan-lake/by-example/http-load-balancer/content.jsx index 4999537e32e..91ec5da153a 100644 --- a/swan-lake/by-example/http-load-balancer/content.jsx +++ b/swan-lake/by-example/http-load-balancer/content.jsx @@ -59,7 +59,7 @@ export function HttpLoadBalancer({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=06115a670797bee4fd16c2445c71c77d&file=http_load_balancer.bal", + "https://play.ballerina.io/?gist=cf19f748c6fff19853a7c047914fbd0d&file=http_load_balancer.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-matrix-param/content.jsx b/swan-lake/by-example/http-matrix-param/content.jsx index f75cc363ff3..96247bf1f8b 100644 --- a/swan-lake/by-example/http-matrix-param/content.jsx +++ b/swan-lake/by-example/http-matrix-param/content.jsx @@ -68,7 +68,7 @@ export function HttpMatrixParam({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=673538eb591a0074e28c68d95e77ff9a&file=http_matrix_param.bal", + "https://play.ballerina.io/?gist=0521f81d23d4b769804d698430e8c64b&file=http_matrix_param.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-passthrough/content.jsx b/swan-lake/by-example/http-passthrough/content.jsx index ac320eb4522..e6d402acb9d 100644 --- a/swan-lake/by-example/http-passthrough/content.jsx +++ b/swan-lake/by-example/http-passthrough/content.jsx @@ -62,7 +62,7 @@ export function HttpPassthrough({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=185d8ca491bc82c6884582b38407ad76&file=http_passthrough.bal", + "https://play.ballerina.io/?gist=d7d3656f6c8fc1ce5176b225231cb554&file=http_passthrough.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-path-param/content.jsx b/swan-lake/by-example/http-path-param/content.jsx index 1231e98bf6a..e7157fe0cf7 100644 --- a/swan-lake/by-example/http-path-param/content.jsx +++ b/swan-lake/by-example/http-path-param/content.jsx @@ -67,7 +67,7 @@ export function HttpPathParam({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=093aa12ebe2c3ca5b3adc651aaabc3cf&file=http_path_param.bal", + "https://play.ballerina.io/?gist=9102265113d77eaa7a577e95802ae541&file=http_path_param.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-query-parameter/content.jsx b/swan-lake/by-example/http-query-parameter/content.jsx index dc33c513221..9c717c4435d 100644 --- a/swan-lake/by-example/http-query-parameter/content.jsx +++ b/swan-lake/by-example/http-query-parameter/content.jsx @@ -69,7 +69,7 @@ export function HttpQueryParameter({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=26e2755e9135acfc307d9d29b0d97d04&file=http_query_parameter.bal", + "https://play.ballerina.io/?gist=8ad0943e3406c205ef0f17d098533929&file=http_query_parameter.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-request-interceptor/content.jsx b/swan-lake/by-example/http-request-interceptor/content.jsx index 650a07c4818..c7fe7ab8562 100644 --- a/swan-lake/by-example/http-request-interceptor/content.jsx +++ b/swan-lake/by-example/http-request-interceptor/content.jsx @@ -108,7 +108,7 @@ export function HttpRequestInterceptor({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=144344980bf9bbf2439770e23e5c19eb&file=http_request_interceptor.bal", + "https://play.ballerina.io/?gist=38291066d4622edf6c69a4c7a013c50b&file=http_request_interceptor.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-request-response/content.jsx b/swan-lake/by-example/http-request-response/content.jsx index 636c081dda8..7a3adcf8eb1 100644 --- a/swan-lake/by-example/http-request-response/content.jsx +++ b/swan-lake/by-example/http-request-response/content.jsx @@ -72,7 +72,7 @@ export function HttpRequestResponse({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b7b24a221f3329592d14a952ce31efcf&file=http_request_response.bal", + "https://play.ballerina.io/?gist=d8b8d2c911f5b1f849f3ea3b0fec0c90&file=http_request_response.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-request-with-multiparts/content.jsx b/swan-lake/by-example/http-request-with-multiparts/content.jsx index fdbb33c8c24..ed8d399c377 100644 --- a/swan-lake/by-example/http-request-with-multiparts/content.jsx +++ b/swan-lake/by-example/http-request-with-multiparts/content.jsx @@ -129,7 +129,7 @@ export function HttpRequestWithMultiparts({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=4f8c071a22e40d6c8410b0ee2a3f7b8a&file=http_request_with_multiparts.bal", + "https://play.ballerina.io/?gist=08569f4e45f3d6b45c8f33f5527d542f&file=http_request_with_multiparts.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-response-interceptor/content.jsx b/swan-lake/by-example/http-response-interceptor/content.jsx index d2e641e8184..e4ef0a177a0 100644 --- a/swan-lake/by-example/http-response-interceptor/content.jsx +++ b/swan-lake/by-example/http-response-interceptor/content.jsx @@ -103,7 +103,7 @@ export function HttpResponseInterceptor({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=f71f5c9e09161380cbd3010a8bb91889&file=http_response_interceptor.bal", + "https://play.ballerina.io/?gist=e9966f80397ba88441db038f3bc4167b&file=http_response_interceptor.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-response-with-multiparts/content.jsx b/swan-lake/by-example/http-response-with-multiparts/content.jsx index da2418deadc..e5d90e9943f 100644 --- a/swan-lake/by-example/http-response-with-multiparts/content.jsx +++ b/swan-lake/by-example/http-response-with-multiparts/content.jsx @@ -155,7 +155,7 @@ export function HttpResponseWithMultiparts({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=82bf986b4743a16a1d782939f52c2652&file=http_response_with_multiparts.bal", + "https://play.ballerina.io/?gist=f664ca5051e249d363ce8af968e42a36&file=http_response_with_multiparts.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-restrict-by-media-type/content.jsx b/swan-lake/by-example/http-restrict-by-media-type/content.jsx index 8445332c576..28483490d92 100644 --- a/swan-lake/by-example/http-restrict-by-media-type/content.jsx +++ b/swan-lake/by-example/http-restrict-by-media-type/content.jsx @@ -63,7 +63,7 @@ export function HttpRestrictByMediaType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=cb6d100da74b77823bf34ce031aec6f1&file=http_restrict_by_media_type.bal", + "https://play.ballerina.io/?gist=82a7b7b1b5c937419ebffae5dcc34199&file=http_restrict_by_media_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-retry/content.jsx b/swan-lake/by-example/http-retry/content.jsx index f2eec362ea5..16df20bd402 100644 --- a/swan-lake/by-example/http-retry/content.jsx +++ b/swan-lake/by-example/http-retry/content.jsx @@ -64,7 +64,7 @@ export function HttpRetry({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=411779c043d7860075b4413921c8f664&file=http_retry.bal", + "https://play.ballerina.io/?gist=ce9f8b8a4306da9cf5ee53e0b5f9f5e6&file=http_retry.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-send-different-status-codes-with-payload/content.jsx b/swan-lake/by-example/http-send-different-status-codes-with-payload/content.jsx index e887c3bd014..81974f946b4 100644 --- a/swan-lake/by-example/http-send-different-status-codes-with-payload/content.jsx +++ b/swan-lake/by-example/http-send-different-status-codes-with-payload/content.jsx @@ -79,7 +79,7 @@ export function HttpSendDifferentStatusCodesWithPayload({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0d084581cda02775e34b774d594ea568&file=http_send_different_status_codes_with_payload.bal", + "https://play.ballerina.io/?gist=3b5d21a22960d0c1fcc2948a995a0238&file=http_send_different_status_codes_with_payload.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-send-different-status-codes/content.jsx b/swan-lake/by-example/http-send-different-status-codes/content.jsx index 69404c13c80..3efcee58850 100644 --- a/swan-lake/by-example/http-send-different-status-codes/content.jsx +++ b/swan-lake/by-example/http-send-different-status-codes/content.jsx @@ -67,7 +67,7 @@ export function HttpSendDifferentStatusCodes({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=64c10c39e39a87f73fbc024ee8714f61&file=http_send_different_status_codes.bal", + "https://play.ballerina.io/?gist=b1e361cfae61fec4d7e4aefd19308df5&file=http_send_different_status_codes.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-send-header/content.jsx b/swan-lake/by-example/http-send-header/content.jsx index ce8c41c3454..a272a146c0d 100644 --- a/swan-lake/by-example/http-send-header/content.jsx +++ b/swan-lake/by-example/http-send-header/content.jsx @@ -74,7 +74,7 @@ export function HttpSendHeader({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=878e8ed0264bd0b3956a156312a22826&file=http_send_header.bal", + "https://play.ballerina.io/?gist=76b0d4cd04589fe6ac8769ac248bb850&file=http_send_header.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-send-response/content.jsx b/swan-lake/by-example/http-send-response/content.jsx index 9a08cce32ba..1b772e4bac6 100644 --- a/swan-lake/by-example/http-send-response/content.jsx +++ b/swan-lake/by-example/http-send-response/content.jsx @@ -67,7 +67,7 @@ export function HttpSendResponse({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0a7a433062202e5e8af9055cadd7b061&file=http_send_response.bal", + "https://play.ballerina.io/?gist=d36b92641c8f52a48aaf2c7ba71222e8&file=http_send_response.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-service-and-resource-paths/content.jsx b/swan-lake/by-example/http-service-and-resource-paths/content.jsx index 4729d169178..ef23451b635 100644 --- a/swan-lake/by-example/http-service-and-resource-paths/content.jsx +++ b/swan-lake/by-example/http-service-and-resource-paths/content.jsx @@ -65,7 +65,7 @@ export function HttpServiceAndResourcePaths({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=84739e66891868b2c9ac93b5bc41f65b&file=http_service_and_resource_paths.bal", + "https://play.ballerina.io/?gist=801e2bc1cd3b960d376e8cdf4b3edebf&file=http_service_and_resource_paths.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-service-cache-response/content.jsx b/swan-lake/by-example/http-service-cache-response/content.jsx index cd322ba058c..99d261f264f 100644 --- a/swan-lake/by-example/http-service-cache-response/content.jsx +++ b/swan-lake/by-example/http-service-cache-response/content.jsx @@ -65,7 +65,7 @@ export function HttpServiceCacheResponse({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d927a9b24b20c02dac04793a0011f2b5&file=http_service_cache_response.bal", + "https://play.ballerina.io/?gist=8e53218185574f04fa8186ee7c1f75e1&file=http_service_cache_response.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-service-chunking/content.jsx b/swan-lake/by-example/http-service-chunking/content.jsx index 65af4f591ac..e76da2d57c7 100644 --- a/swan-lake/by-example/http-service-chunking/content.jsx +++ b/swan-lake/by-example/http-service-chunking/content.jsx @@ -65,7 +65,7 @@ export function HttpServiceChunking({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=eeb50df07cd79a0ad3675980f755341f&file=http_service_chunking.bal", + "https://play.ballerina.io/?gist=2c8a8f2100819784f718cd5f5deb70d7&file=http_service_chunking.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-service-data-binding/content.jsx b/swan-lake/by-example/http-service-data-binding/content.jsx index 82644678153..6953d0cfae7 100644 --- a/swan-lake/by-example/http-service-data-binding/content.jsx +++ b/swan-lake/by-example/http-service-data-binding/content.jsx @@ -66,7 +66,7 @@ export function HttpServiceDataBinding({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6734a5ed42ac82b8cc3aefe8665788e2&file=http_service_data_binding.bal", + "https://play.ballerina.io/?gist=f258981aaa93f68954aa1fe8851e58b0&file=http_service_data_binding.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-service-file-upload/content.jsx b/swan-lake/by-example/http-service-file-upload/content.jsx index 122e2875e31..11c614c91c1 100644 --- a/swan-lake/by-example/http-service-file-upload/content.jsx +++ b/swan-lake/by-example/http-service-file-upload/content.jsx @@ -52,7 +52,7 @@ export function HttpServiceFileUpload({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=69e7986681655c486edac8f7481067f6&file=http_service_file_upload.bal", + "https://play.ballerina.io/?gist=c317950be0817e13d89317a229ff7cea&file=http_service_file_upload.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-service-payload-constraint-validation/content.jsx b/swan-lake/by-example/http-service-payload-constraint-validation/content.jsx index 2f875194891..c64045fff33 100644 --- a/swan-lake/by-example/http-service-payload-constraint-validation/content.jsx +++ b/swan-lake/by-example/http-service-payload-constraint-validation/content.jsx @@ -67,7 +67,7 @@ export function HttpServicePayloadConstraintValidation({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8001ea16f109ea1b83462875118c3210&file=http_service_payload_constraint_validation.bal", + "https://play.ballerina.io/?gist=069077d126f810a3e4b50583aa6bfedc&file=http_service_payload_constraint_validation.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-service-redirects/content.jsx b/swan-lake/by-example/http-service-redirects/content.jsx index 436bf03e114..6963ede4092 100644 --- a/swan-lake/by-example/http-service-redirects/content.jsx +++ b/swan-lake/by-example/http-service-redirects/content.jsx @@ -54,7 +54,7 @@ export function HttpServiceRedirects({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0c3bfbc2ec0004edb4501d4a49f564c6&file=http_service_redirects.bal", + "https://play.ballerina.io/?gist=b39136560e4dc885eff0594a07485892&file=http_service_redirects.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-timeout/content.jsx b/swan-lake/by-example/http-timeout/content.jsx index d176b5a716c..8559c166a4d 100644 --- a/swan-lake/by-example/http-timeout/content.jsx +++ b/swan-lake/by-example/http-timeout/content.jsx @@ -52,7 +52,7 @@ export function HttpTimeout({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=556c64ecf9e571af4401cb88c2bf20cb&file=http_timeout.bal", + "https://play.ballerina.io/?gist=0dd5345724702e3341a7b809119170ad&file=http_timeout.bal", "_blank", ); }} diff --git a/swan-lake/by-example/http-trace-logs/content.jsx b/swan-lake/by-example/http-trace-logs/content.jsx index 9a6b41f05d8..d410023fd54 100644 --- a/swan-lake/by-example/http-trace-logs/content.jsx +++ b/swan-lake/by-example/http-trace-logs/content.jsx @@ -65,7 +65,7 @@ export function HttpTraceLogs({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=acabe8a0dcf5b61935e5f7174d4f77a4&file=http_trace_logs.bal", + "https://play.ballerina.io/?gist=1a981edb50ed6f04b542d30dd7064321&file=http_trace_logs.bal", "_blank", ); }} @@ -388,7 +388,7 @@ export function HttpTraceLogs({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d2a2f3dda652e145048c6f160ed8ca0f&file=Config.toml", + "https://play.ballerina.io/?gist=b359968545d28e16ad0b95f50f828944&file=Config.toml", "_blank", ); }} diff --git a/swan-lake/by-example/identifiers/content.jsx b/swan-lake/by-example/identifiers/content.jsx index 6a6964f3ad2..c05cebcc712 100644 --- a/swan-lake/by-example/identifiers/content.jsx +++ b/swan-lake/by-example/identifiers/content.jsx @@ -48,7 +48,7 @@ export function Identifiers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a0798e630fdbeca5bf723dacf55db80e&file=identifiers.bal", + "https://play.ballerina.io/?gist=021190b825b0d4ece7b801beb2eb1318&file=identifiers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/identity/content.jsx b/swan-lake/by-example/identity/content.jsx index f48643b07dd..edd027f74c5 100644 --- a/swan-lake/by-example/identity/content.jsx +++ b/swan-lake/by-example/identity/content.jsx @@ -75,7 +75,7 @@ export function Identity({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=acf95f3d5ea3037ad5ed4f6267321afe&file=identity.bal", + "https://play.ballerina.io/?gist=2f5e22cbf5ece97fbf34d196ed0fe125&file=identity.bal", "_blank", ); }} diff --git a/swan-lake/by-example/if-statement/content.jsx b/swan-lake/by-example/if-statement/content.jsx index bc2427203ea..67f3344c807 100644 --- a/swan-lake/by-example/if-statement/content.jsx +++ b/swan-lake/by-example/if-statement/content.jsx @@ -73,7 +73,7 @@ export function IfStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=2a32e8ac1826938bd2249ae79739bf2f&file=if_statement.bal", + "https://play.ballerina.io/?gist=ca6f9f9c17d6b727a0e1d975b57fe7a5&file=if_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/ignoring-return-values-and-errors/content.jsx b/swan-lake/by-example/ignoring-return-values-and-errors/content.jsx index 089a0382160..02eae0bb2a0 100644 --- a/swan-lake/by-example/ignoring-return-values-and-errors/content.jsx +++ b/swan-lake/by-example/ignoring-return-values-and-errors/content.jsx @@ -74,7 +74,7 @@ export function IgnoringReturnValuesAndErrors({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=ccc1dec7fc9e6f726e430508b194a1b9&file=ignoring_return_values_and_errors.bal", + "https://play.ballerina.io/?gist=150f2b1c4b4fcce8c5aaee5ebd15daad&file=ignoring_return_values_and_errors.bal", "_blank", ); }} diff --git a/swan-lake/by-example/included-record-parameters/content.jsx b/swan-lake/by-example/included-record-parameters/content.jsx index cef11fb4e01..0a1848b8658 100644 --- a/swan-lake/by-example/included-record-parameters/content.jsx +++ b/swan-lake/by-example/included-record-parameters/content.jsx @@ -59,7 +59,7 @@ export function IncludedRecordParameters({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d52a19fdd045ec6aed09d49c0d80702c&file=included_record_parameters.bal", + "https://play.ballerina.io/?gist=acb81a2986a8374373d457a70044a7cc&file=included_record_parameters.bal", "_blank", ); }} diff --git a/swan-lake/by-example/inferring-isolated/content.jsx b/swan-lake/by-example/inferring-isolated/content.jsx index 1e4a48084a6..ac13d40b3ad 100644 --- a/swan-lake/by-example/inferring-isolated/content.jsx +++ b/swan-lake/by-example/inferring-isolated/content.jsx @@ -85,7 +85,7 @@ export function InferringIsolated({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a3f1dd72782116763439c882466ea7ce&file=inferring_isolated.bal", + "https://play.ballerina.io/?gist=84c8de9ec2e70f08a2782c93c6193fe4&file=inferring_isolated.bal", "_blank", ); }} diff --git a/swan-lake/by-example/init-function/content.jsx b/swan-lake/by-example/init-function/content.jsx index 5ee92d0fe0e..ec1a4b8cae0 100644 --- a/swan-lake/by-example/init-function/content.jsx +++ b/swan-lake/by-example/init-function/content.jsx @@ -67,7 +67,7 @@ export function InitFunction({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=3aad12dc13feeded57faf5cbd07decfa&file=init_function.bal", + "https://play.ballerina.io/?gist=4d5c06b61b9324267fb18e9169a066d8&file=init_function.bal", "_blank", ); }} diff --git a/swan-lake/by-example/init-return-type/content.jsx b/swan-lake/by-example/init-return-type/content.jsx index 1f650c6e0c9..206b77703d9 100644 --- a/swan-lake/by-example/init-return-type/content.jsx +++ b/swan-lake/by-example/init-return-type/content.jsx @@ -63,7 +63,7 @@ export function InitReturnType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6b9d26f271c357304c6c3c576a18d90b&file=init_return_type.bal", + "https://play.ballerina.io/?gist=b9f14c6ccdef0e7c81aecccf34d4fe56&file=init_return_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/int-range/content.jsx b/swan-lake/by-example/int-range/content.jsx index aed702f04db..d27e75a7c64 100644 --- a/swan-lake/by-example/int-range/content.jsx +++ b/swan-lake/by-example/int-range/content.jsx @@ -60,7 +60,7 @@ export function IntRange({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e774f31e55255a30493a7c4068ddb198&file=int_range.bal", + "https://play.ballerina.io/?gist=792e1abd0b76ef63308d9762f11e2ef2&file=int_range.bal", "_blank", ); }} diff --git a/swan-lake/by-example/integers/content.jsx b/swan-lake/by-example/integers/content.jsx index 9905bf61330..fced6a6eced 100644 --- a/swan-lake/by-example/integers/content.jsx +++ b/swan-lake/by-example/integers/content.jsx @@ -50,7 +50,7 @@ export function Integers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0b5c15bccb5856f731d4bc024fec616b&file=integers.bal", + "https://play.ballerina.io/?gist=a73067d6213d86124b599ce75672b21f&file=integers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/inter-worker-failure-propagation/content.jsx b/swan-lake/by-example/inter-worker-failure-propagation/content.jsx index f797b3cd83a..0853a6ef368 100644 --- a/swan-lake/by-example/inter-worker-failure-propagation/content.jsx +++ b/swan-lake/by-example/inter-worker-failure-propagation/content.jsx @@ -75,7 +75,7 @@ export function InterWorkerFailurePropagation({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=43f45ec86b32305db83dde2321b3e640&file=inter_worker_failure_propagation.bal", + "https://play.ballerina.io/?gist=beee9d7d09ef37001ed1171fe2d8a40c&file=inter_worker_failure_propagation.bal", "_blank", ); }} diff --git a/swan-lake/by-example/inter-worker-message-passing/content.jsx b/swan-lake/by-example/inter-worker-message-passing/content.jsx index 8c556edaac6..65be62335a3 100644 --- a/swan-lake/by-example/inter-worker-message-passing/content.jsx +++ b/swan-lake/by-example/inter-worker-message-passing/content.jsx @@ -72,7 +72,7 @@ export function InterWorkerMessagePassing({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=08a9bb68720498cffbdbb6696a5b4959&file=inter_worker_message_passing.bal", + "https://play.ballerina.io/?gist=406baa900a993113173448e818db6fb8&file=inter_worker_message_passing.bal", "_blank", ); }} diff --git a/swan-lake/by-example/interface-to-external-code/content.jsx b/swan-lake/by-example/interface-to-external-code/content.jsx index 82ee99f16f1..9d0507fee32 100644 --- a/swan-lake/by-example/interface-to-external-code/content.jsx +++ b/swan-lake/by-example/interface-to-external-code/content.jsx @@ -64,7 +64,7 @@ export function InterfaceToExternalCode({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=790c1a7a2fd6c028aafa53713e279e15&file=interface_to_external_code.bal", + "https://play.ballerina.io/?gist=730a735c1a502d318845aee6efda2fb0&file=interface_to_external_code.bal", "_blank", ); }} diff --git a/swan-lake/by-example/io-csv-datamapping/content.jsx b/swan-lake/by-example/io-csv-datamapping/content.jsx index 9bbb56033f2..205f6f33c3c 100644 --- a/swan-lake/by-example/io-csv-datamapping/content.jsx +++ b/swan-lake/by-example/io-csv-datamapping/content.jsx @@ -82,7 +82,7 @@ export function IoCsvDatamapping({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=ee4b5c6cd0ba3dca78b46069ca95ac36&file=io_csv_datamapping.bal", + "https://play.ballerina.io/?gist=f0db16dd8ba1373c9911fc546851e921&file=io_csv_datamapping.bal", "_blank", ); }} diff --git a/swan-lake/by-example/io-csv/content.jsx b/swan-lake/by-example/io-csv/content.jsx index de0aa0d9151..d232142d20e 100644 --- a/swan-lake/by-example/io-csv/content.jsx +++ b/swan-lake/by-example/io-csv/content.jsx @@ -68,7 +68,7 @@ export function IoCsv({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=927365c1591b49791f5f205b9128d0d4&file=io_csv.bal", + "https://play.ballerina.io/?gist=64eeb75fdf9b1cf73e4c0fee3c7169fc&file=io_csv.bal", "_blank", ); }} diff --git a/swan-lake/by-example/io-json/content.jsx b/swan-lake/by-example/io-json/content.jsx index 2e76b58d33e..a6df1e5f7a5 100644 --- a/swan-lake/by-example/io-json/content.jsx +++ b/swan-lake/by-example/io-json/content.jsx @@ -65,7 +65,7 @@ export function IoJson({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=584f3849932596108508887bb6be88ac&file=io_json.bal", + "https://play.ballerina.io/?gist=5452cb1db46d2bb666a80c4e70f1bfbe&file=io_json.bal", "_blank", ); }} diff --git a/swan-lake/by-example/io-strings/content.jsx b/swan-lake/by-example/io-strings/content.jsx index 4c9b35011f6..d71c2ccbd1b 100644 --- a/swan-lake/by-example/io-strings/content.jsx +++ b/swan-lake/by-example/io-strings/content.jsx @@ -78,7 +78,7 @@ export function IoStrings({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=4266379e7e19c3ba7a7c9cff612a1718&file=io_strings.bal", + "https://play.ballerina.io/?gist=87c272e90050860ae8a5499351251998&file=io_strings.bal", "_blank", ); }} diff --git a/swan-lake/by-example/io-xml/content.jsx b/swan-lake/by-example/io-xml/content.jsx index e82603f15c3..911a4ca5597 100644 --- a/swan-lake/by-example/io-xml/content.jsx +++ b/swan-lake/by-example/io-xml/content.jsx @@ -57,7 +57,7 @@ export function IoXml({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a850c24586155fbe8c570551b4517cb2&file=io_xml.bal", + "https://play.ballerina.io/?gist=27496ca5e7d4c77ab8f742dca4ac5648&file=io_xml.bal", "_blank", ); }} diff --git a/swan-lake/by-example/isolated-functions/content.jsx b/swan-lake/by-example/isolated-functions/content.jsx index b27b1ea2f50..2d9a56f2cc9 100644 --- a/swan-lake/by-example/isolated-functions/content.jsx +++ b/swan-lake/by-example/isolated-functions/content.jsx @@ -98,7 +98,7 @@ export function IsolatedFunctions({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=90fea5d9de99bd9ffbe276ae9100a23a&file=isolated_functions.bal", + "https://play.ballerina.io/?gist=711861fb5378b851338e17fcdaabeedb&file=isolated_functions.bal", "_blank", ); }} diff --git a/swan-lake/by-example/isolated-methods/content.jsx b/swan-lake/by-example/isolated-methods/content.jsx index ab47d2f9ade..d5717c7679b 100644 --- a/swan-lake/by-example/isolated-methods/content.jsx +++ b/swan-lake/by-example/isolated-methods/content.jsx @@ -76,7 +76,7 @@ export function IsolatedMethods({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a1c3abf4a6753e8a7de275fd8f403f5e&file=isolated_methods.bal", + "https://play.ballerina.io/?gist=11173e819c02bcc632ef6766236c7509&file=isolated_methods.bal", "_blank", ); }} diff --git a/swan-lake/by-example/isolated-objects/content.jsx b/swan-lake/by-example/isolated-objects/content.jsx index dd4ca1cca84..83248e2dbfa 100644 --- a/swan-lake/by-example/isolated-objects/content.jsx +++ b/swan-lake/by-example/isolated-objects/content.jsx @@ -116,7 +116,7 @@ export function IsolatedObjects({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=7ecaf804cda825320325180b44c55480&file=isolated_objects.bal", + "https://play.ballerina.io/?gist=8e1e48c0be00eae64f54b19a35d73201&file=isolated_objects.bal", "_blank", ); }} diff --git a/swan-lake/by-example/isolated-variables/content.jsx b/swan-lake/by-example/isolated-variables/content.jsx index da7f4bafb74..fe0e3d56491 100644 --- a/swan-lake/by-example/isolated-variables/content.jsx +++ b/swan-lake/by-example/isolated-variables/content.jsx @@ -97,7 +97,7 @@ export function IsolatedVariables({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d866457501012d5a1b476f589a3c0b5f&file=isolated_variables.bal", + "https://play.ballerina.io/?gist=7d5abd3b3cbfa691ad5ca2edbed0d382&file=isolated_variables.bal", "_blank", ); }} diff --git a/swan-lake/by-example/iterating-over-xml-with-query/content.jsx b/swan-lake/by-example/iterating-over-xml-with-query/content.jsx index 8e8caef68c1..cdf86cdb099 100644 --- a/swan-lake/by-example/iterating-over-xml-with-query/content.jsx +++ b/swan-lake/by-example/iterating-over-xml-with-query/content.jsx @@ -68,7 +68,7 @@ export function IteratingOverXmlWithQuery({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=255185282961552b788eaa915efb4e52&file=iterating_over_xml_with_query.bal", + "https://play.ballerina.io/?gist=c184d617b5043a3044f3e505532b5780&file=iterating_over_xml_with_query.bal", "_blank", ); }} diff --git a/swan-lake/by-example/iterative-use-of-typed-binding/content.jsx b/swan-lake/by-example/iterative-use-of-typed-binding/content.jsx index d554b0f59f4..33625ff0401 100644 --- a/swan-lake/by-example/iterative-use-of-typed-binding/content.jsx +++ b/swan-lake/by-example/iterative-use-of-typed-binding/content.jsx @@ -78,7 +78,7 @@ export function IterativeUseOfTypedBinding({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5dcfc58dc974ef52e89ce8dec4fa6523&file=iterative_use_of_typed_binding.bal", + "https://play.ballerina.io/?gist=a5c868de7d35f5392f4ee549dd4608ff&file=iterative_use_of_typed_binding.bal", "_blank", ); }} diff --git a/swan-lake/by-example/joining-iterable-objects/content.jsx b/swan-lake/by-example/joining-iterable-objects/content.jsx index 8209b03b06e..70f7a6fea13 100644 --- a/swan-lake/by-example/joining-iterable-objects/content.jsx +++ b/swan-lake/by-example/joining-iterable-objects/content.jsx @@ -84,7 +84,7 @@ export function JoiningIterableObjects({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b4f06a5cc80c8377310892a5cfdc66bf&file=joining_iterable_objects.bal", + "https://play.ballerina.io/?gist=6ca7f614c3b1bc522bda58fc5f42bc0d&file=joining_iterable_objects.bal", "_blank", ); }} diff --git a/swan-lake/by-example/json-numbers/content.jsx b/swan-lake/by-example/json-numbers/content.jsx index bbd2f831fde..9ba605bd4f5 100644 --- a/swan-lake/by-example/json-numbers/content.jsx +++ b/swan-lake/by-example/json-numbers/content.jsx @@ -81,7 +81,7 @@ export function JsonNumbers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=add9482d22800ef28679d43c1f5c3617&file=json_numbers.bal", + "https://play.ballerina.io/?gist=22adcf05583c968fd558c10e1a1a6a84&file=json_numbers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/json-type/content.jsx b/swan-lake/by-example/json-type/content.jsx index 27d3afac22c..3b28afd21e4 100644 --- a/swan-lake/by-example/json-type/content.jsx +++ b/swan-lake/by-example/json-type/content.jsx @@ -88,7 +88,7 @@ export function JsonType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e019ea5d99df480a50570dc025ef2a7d&file=json_type.bal", + "https://play.ballerina.io/?gist=2c16c6f7a72279a800b68554dbd438d9&file=json_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/langlib-functions/content.jsx b/swan-lake/by-example/langlib-functions/content.jsx index 2e2ad5890f0..aac6faf5ebe 100644 --- a/swan-lake/by-example/langlib-functions/content.jsx +++ b/swan-lake/by-example/langlib-functions/content.jsx @@ -89,7 +89,7 @@ export function LanglibFunctions({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8a1618350ad47bc43d1e9f8380e9589b&file=langlib_functions.bal", + "https://play.ballerina.io/?gist=c2dd51ea65f6abf5d219a2ed6d2f85fd&file=langlib_functions.bal", "_blank", ); }} diff --git a/swan-lake/by-example/let-clause/content.jsx b/swan-lake/by-example/let-clause/content.jsx index f9cb8c4f50e..570a45d8484 100644 --- a/swan-lake/by-example/let-clause/content.jsx +++ b/swan-lake/by-example/let-clause/content.jsx @@ -71,7 +71,7 @@ export function LetClause({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e4065deefc4aca8b55d35fb4925f48d0&file=let_clause.bal", + "https://play.ballerina.io/?gist=8d73a8eb8a893bb3aa46dd03846822b9&file=let_clause.bal", "_blank", ); }} diff --git a/swan-lake/by-example/limit-clause/content.jsx b/swan-lake/by-example/limit-clause/content.jsx index 87576dbf26d..603daa4db11 100644 --- a/swan-lake/by-example/limit-clause/content.jsx +++ b/swan-lake/by-example/limit-clause/content.jsx @@ -63,7 +63,7 @@ export function LimitClause({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=44296c195a64c9be0ea44b464dc6425f&file=limit_clause.bal", + "https://play.ballerina.io/?gist=cfb610eccbac26d2956c9c67683b172c&file=limit_clause.bal", "_blank", ); }} diff --git a/swan-lake/by-example/list-binding-pattern-in-match-statement/content.jsx b/swan-lake/by-example/list-binding-pattern-in-match-statement/content.jsx index 2240e678b31..b4801fe1e35 100644 --- a/swan-lake/by-example/list-binding-pattern-in-match-statement/content.jsx +++ b/swan-lake/by-example/list-binding-pattern-in-match-statement/content.jsx @@ -65,7 +65,7 @@ export function ListBindingPatternInMatchStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=4198410cc07fd22ab9898fc454a146dc&file=list_binding_pattern_in_match_statement.bal", + "https://play.ballerina.io/?gist=ea61b3e625b7c4d120742f9071ff28a6&file=list_binding_pattern_in_match_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/list-binding-pattern/content.jsx b/swan-lake/by-example/list-binding-pattern/content.jsx index 289f8b30bb2..ecb5fbd2d7f 100644 --- a/swan-lake/by-example/list-binding-pattern/content.jsx +++ b/swan-lake/by-example/list-binding-pattern/content.jsx @@ -52,7 +52,7 @@ export function ListBindingPattern({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=2e853bedaf2a05a6e4bd0db5fbc5d237&file=list_binding_pattern.bal", + "https://play.ballerina.io/?gist=d8fc225b3c2bbabf6de574fcca3d38e2&file=list_binding_pattern.bal", "_blank", ); }} diff --git a/swan-lake/by-example/list-equality/content.jsx b/swan-lake/by-example/list-equality/content.jsx index 65c4f26d5c1..4e4dc59c6d6 100644 --- a/swan-lake/by-example/list-equality/content.jsx +++ b/swan-lake/by-example/list-equality/content.jsx @@ -72,7 +72,7 @@ export function ListEquality({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a9eb26093424748e466cd761c081715b&file=list_equality.bal", + "https://play.ballerina.io/?gist=0ba8f18cf880a815210ef32ff8941e27&file=list_equality.bal", "_blank", ); }} diff --git a/swan-lake/by-example/list-subtyping/content.jsx b/swan-lake/by-example/list-subtyping/content.jsx index bc4b1257c58..cc4c557ddc1 100644 --- a/swan-lake/by-example/list-subtyping/content.jsx +++ b/swan-lake/by-example/list-subtyping/content.jsx @@ -65,7 +65,7 @@ export function ListSubtyping({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=82a224ca7c1b66016353dbc4609bb5bd&file=list_subtyping.bal", + "https://play.ballerina.io/?gist=e5011d5dbfe9485ce2e7923cc65c66fd&file=list_subtyping.bal", "_blank", ); }} diff --git a/swan-lake/by-example/lock-statement/content.jsx b/swan-lake/by-example/lock-statement/content.jsx index 2573b42fe5a..c6851a5ce01 100644 --- a/swan-lake/by-example/lock-statement/content.jsx +++ b/swan-lake/by-example/lock-statement/content.jsx @@ -55,7 +55,7 @@ export function LockStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=044b709299c51a5de27e51303bf55c20&file=lock_statement.bal", + "https://play.ballerina.io/?gist=6745c95bdcd086b3106e04818b1cc35e&file=lock_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/logging-with-context/content.jsx b/swan-lake/by-example/logging-with-context/content.jsx index dd9c9ae0307..9c054c7ff26 100644 --- a/swan-lake/by-example/logging-with-context/content.jsx +++ b/swan-lake/by-example/logging-with-context/content.jsx @@ -59,7 +59,7 @@ export function LoggingWithContext({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0594f42191391bbdda6d5b5e2c1f9e50&file=logging_with_context.bal", + "https://play.ballerina.io/?gist=0267507a7f1fd916506e520955277f2c&file=logging_with_context.bal", "_blank", ); }} diff --git a/swan-lake/by-example/logging/content.jsx b/swan-lake/by-example/logging/content.jsx index ac46a906bb5..3f8a7b3d864 100644 --- a/swan-lake/by-example/logging/content.jsx +++ b/swan-lake/by-example/logging/content.jsx @@ -61,7 +61,7 @@ export function Logging({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=9e7538c5ffe6625b9d45ea03a265055a&file=logging.bal", + "https://play.ballerina.io/?gist=60f87da05c6b5240beb0a6351fd27eb6&file=logging.bal", "_blank", ); }} diff --git a/swan-lake/by-example/manage-scheduled-jobs/content.jsx b/swan-lake/by-example/manage-scheduled-jobs/content.jsx index 6bd68434311..fa05152ed34 100644 --- a/swan-lake/by-example/manage-scheduled-jobs/content.jsx +++ b/swan-lake/by-example/manage-scheduled-jobs/content.jsx @@ -112,7 +112,7 @@ export function ManageScheduledJobs({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c53b870ae7514358d0dbe9dbc86e2af9&file=manage_scheduled_jobs.bal", + "https://play.ballerina.io/?gist=2f6f66ac499e66a5d1d8a0c6d3624f42&file=manage_scheduled_jobs.bal", "_blank", ); }} diff --git a/swan-lake/by-example/mapping-binding-pattern-in-match-statement/content.jsx b/swan-lake/by-example/mapping-binding-pattern-in-match-statement/content.jsx index dee229c7ebe..b5890cfe3aa 100644 --- a/swan-lake/by-example/mapping-binding-pattern-in-match-statement/content.jsx +++ b/swan-lake/by-example/mapping-binding-pattern-in-match-statement/content.jsx @@ -91,7 +91,7 @@ export function MappingBindingPatternInMatchStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b95517545839ec52a45491f2328c8ddc&file=mapping_binding_pattern_in_match_statement.bal", + "https://play.ballerina.io/?gist=745d4bf2d2e3d94bc9c8415cbed4e97e&file=mapping_binding_pattern_in_match_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/mapping-binding-pattern/content.jsx b/swan-lake/by-example/mapping-binding-pattern/content.jsx index 5909e7c0188..75205a2ce51 100644 --- a/swan-lake/by-example/mapping-binding-pattern/content.jsx +++ b/swan-lake/by-example/mapping-binding-pattern/content.jsx @@ -79,7 +79,7 @@ export function MappingBindingPattern({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=fef7e73afa29f3902712927c9a8e4a2c&file=mapping_binding_pattern.bal", + "https://play.ballerina.io/?gist=76ec2403c1a01eff912161664edc7a77&file=mapping_binding_pattern.bal", "_blank", ); }} diff --git a/swan-lake/by-example/maps/content.jsx b/swan-lake/by-example/maps/content.jsx index a3fe9dcde33..7e50f16b2df 100644 --- a/swan-lake/by-example/maps/content.jsx +++ b/swan-lake/by-example/maps/content.jsx @@ -74,7 +74,7 @@ export function Maps({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0480122ce0a726124ace625243d9828b&file=maps.bal", + "https://play.ballerina.io/?gist=9eba79e9665360730fff4b5eb600173a&file=maps.bal", "_blank", ); }} diff --git a/swan-lake/by-example/match-guard-in-match-statement/content.jsx b/swan-lake/by-example/match-guard-in-match-statement/content.jsx index 14bf6e1b7ac..130b9d3d728 100644 --- a/swan-lake/by-example/match-guard-in-match-statement/content.jsx +++ b/swan-lake/by-example/match-guard-in-match-statement/content.jsx @@ -82,7 +82,7 @@ export function MatchGuardInMatchStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d1c2fbc8b5bf9ce6a57deae8a2aa559f&file=match_guard_in_match_statement.bal", + "https://play.ballerina.io/?gist=7b0803ee5b83ae7168013e7a42f454f7&file=match_guard_in_match_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/match-statement-with-maps/content.jsx b/swan-lake/by-example/match-statement-with-maps/content.jsx index ff7f5c7a515..5f23b0338f8 100644 --- a/swan-lake/by-example/match-statement-with-maps/content.jsx +++ b/swan-lake/by-example/match-statement-with-maps/content.jsx @@ -61,7 +61,7 @@ export function MatchStatementWithMaps({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=650e1be424864d8e68df675e8dc6fc5b&file=match_statement_with_maps.bal", + "https://play.ballerina.io/?gist=8da08ce9a9bafe429162f3809f3eb285&file=match_statement_with_maps.bal", "_blank", ); }} diff --git a/swan-lake/by-example/match-statement/content.jsx b/swan-lake/by-example/match-statement/content.jsx index 3104cf553eb..d7f415f7936 100644 --- a/swan-lake/by-example/match-statement/content.jsx +++ b/swan-lake/by-example/match-statement/content.jsx @@ -81,7 +81,7 @@ export function MatchStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b2b58bf2f730a81231ab913c4f033f7f&file=match_statement.bal", + "https://play.ballerina.io/?gist=dc5ab863ea24e8432c74afb969b83d12&file=match_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/module-lifecycle/content.jsx b/swan-lake/by-example/module-lifecycle/content.jsx index 4bf73ef1493..40f2b0ef913 100644 --- a/swan-lake/by-example/module-lifecycle/content.jsx +++ b/swan-lake/by-example/module-lifecycle/content.jsx @@ -60,7 +60,7 @@ export function ModuleLifecycle({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=08c495a0fc6017a82a785a691098c06d&file=module_lifecycle.bal", + "https://play.ballerina.io/?gist=24e3c2f625d2c045787c32f16a60d256&file=module_lifecycle.bal", "_blank", ); }} diff --git a/swan-lake/by-example/multiple-key-fields/content.jsx b/swan-lake/by-example/multiple-key-fields/content.jsx index bcd0d53eeb7..85eeb88c165 100644 --- a/swan-lake/by-example/multiple-key-fields/content.jsx +++ b/swan-lake/by-example/multiple-key-fields/content.jsx @@ -65,7 +65,7 @@ export function MultipleKeyFields({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a54fd2853e99332f1e2857c972fca4f8&file=multiple_key_fields.bal", + "https://play.ballerina.io/?gist=36655c867387ee750beb6b4254ccb72f&file=multiple_key_fields.bal", "_blank", ); }} diff --git a/swan-lake/by-example/multiple-wait/content.jsx b/swan-lake/by-example/multiple-wait/content.jsx index 932f7ab7725..35372c0d06c 100644 --- a/swan-lake/by-example/multiple-wait/content.jsx +++ b/swan-lake/by-example/multiple-wait/content.jsx @@ -67,7 +67,7 @@ export function MultipleWait({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=65014a22c7e946bac1e8c696f849e67a&file=multiple_wait.bal", + "https://play.ballerina.io/?gist=8531f4f4a11686e51f9aebca810b105e&file=multiple_wait.bal", "_blank", ); }} diff --git a/swan-lake/by-example/named-worker-return-values/content.jsx b/swan-lake/by-example/named-worker-return-values/content.jsx index 44f242da087..3656727df3d 100644 --- a/swan-lake/by-example/named-worker-return-values/content.jsx +++ b/swan-lake/by-example/named-worker-return-values/content.jsx @@ -70,7 +70,7 @@ export function NamedWorkerReturnValues({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=f3928d0b074d6b8dc7e5bf6c2ae92c66&file=named_worker_return_values.bal", + "https://play.ballerina.io/?gist=982659c108f3430f5a58c4520c4e0b5a&file=named_worker_return_values.bal", "_blank", ); }} diff --git a/swan-lake/by-example/named-workers-and-futures/content.jsx b/swan-lake/by-example/named-workers-and-futures/content.jsx index 6b14e68e036..02f3c193dfa 100644 --- a/swan-lake/by-example/named-workers-and-futures/content.jsx +++ b/swan-lake/by-example/named-workers-and-futures/content.jsx @@ -66,7 +66,7 @@ export function NamedWorkersAndFutures({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5c4665e7b1cd62ec16913724c245901f&file=named_workers_and_futures.bal", + "https://play.ballerina.io/?gist=299ba36dccf5b926ce8ea6e3d721d5dc&file=named_workers_and_futures.bal", "_blank", ); }} diff --git a/swan-lake/by-example/named-workers/content.jsx b/swan-lake/by-example/named-workers/content.jsx index a3855bc735e..4ea974e68f7 100644 --- a/swan-lake/by-example/named-workers/content.jsx +++ b/swan-lake/by-example/named-workers/content.jsx @@ -64,7 +64,7 @@ export function NamedWorkers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=cb304023aeb5e72b1a1e7e53a26350c0&file=named_workers.bal", + "https://play.ballerina.io/?gist=f3069eeecbf8d0d8635e4a94aee50af9&file=named_workers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/nested-arrays/content.jsx b/swan-lake/by-example/nested-arrays/content.jsx index a6311f3406e..7c5ca6780d0 100644 --- a/swan-lake/by-example/nested-arrays/content.jsx +++ b/swan-lake/by-example/nested-arrays/content.jsx @@ -66,7 +66,7 @@ export function NestedArrays({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=836af433c4d15acb3e7202325a2d2c10&file=nested_arrays.bal", + "https://play.ballerina.io/?gist=d6c0caa59bd7b2234b30127c3c9e73c6&file=nested_arrays.bal", "_blank", ); }} diff --git a/swan-lake/by-example/nested-query-expressions/content.jsx b/swan-lake/by-example/nested-query-expressions/content.jsx index 910dfdf2601..b0f72baa687 100644 --- a/swan-lake/by-example/nested-query-expressions/content.jsx +++ b/swan-lake/by-example/nested-query-expressions/content.jsx @@ -54,7 +54,7 @@ export function NestedQueryExpressions({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c67f508b3c5bdf11df732adb7e423e1e&file=nested_query_expressions.bal", + "https://play.ballerina.io/?gist=36909db6b9d78db7b353d1edc93b58c9&file=nested_query_expressions.bal", "_blank", ); }} diff --git a/swan-lake/by-example/never-type/content.jsx b/swan-lake/by-example/never-type/content.jsx index 8f5b2102a52..2ceea7cbb2e 100644 --- a/swan-lake/by-example/never-type/content.jsx +++ b/swan-lake/by-example/never-type/content.jsx @@ -75,7 +75,7 @@ export function NeverType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=313505cccd3c724bdea6e80a2de8aaa7&file=never_type.bal", + "https://play.ballerina.io/?gist=9f0ab5c88056b959cef8a79daef8e2bc&file=never_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/nil/content.jsx b/swan-lake/by-example/nil/content.jsx index ddc52120b96..85b731a91fd 100644 --- a/swan-lake/by-example/nil/content.jsx +++ b/swan-lake/by-example/nil/content.jsx @@ -58,7 +58,7 @@ export function Nil({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=4c52f560d8212b27a15390be251ecb35&file=nil.bal", + "https://play.ballerina.io/?gist=2e51bdd3f4f92e2d0b22bf795c4b0c27&file=nil.bal", "_blank", ); }} diff --git a/swan-lake/by-example/object-closure/content.jsx b/swan-lake/by-example/object-closure/content.jsx index f72f0db8ea6..cd03cdeeb50 100644 --- a/swan-lake/by-example/object-closure/content.jsx +++ b/swan-lake/by-example/object-closure/content.jsx @@ -55,7 +55,7 @@ export function ObjectClosure({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e6bccf78c9d234aa85a00a3d6cbbab11&file=object_closure.bal", + "https://play.ballerina.io/?gist=3a97f423076f5ab73474daea7468c915&file=object_closure.bal", "_blank", ); }} diff --git a/swan-lake/by-example/object-constructor/content.jsx b/swan-lake/by-example/object-constructor/content.jsx index bebc7288376..363add38d5e 100644 --- a/swan-lake/by-example/object-constructor/content.jsx +++ b/swan-lake/by-example/object-constructor/content.jsx @@ -62,7 +62,7 @@ export function ObjectConstructor({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=33352ceab929e1d4a8a85e0bffcf079f&file=object_constructor.bal", + "https://play.ballerina.io/?gist=d961e0fe01df8a855e2ead8e5a18e6f2&file=object_constructor.bal", "_blank", ); }} diff --git a/swan-lake/by-example/object-type-inclusion/content.jsx b/swan-lake/by-example/object-type-inclusion/content.jsx index ccfa70048ae..addcfc89226 100644 --- a/swan-lake/by-example/object-type-inclusion/content.jsx +++ b/swan-lake/by-example/object-type-inclusion/content.jsx @@ -91,7 +91,7 @@ export function ObjectTypeInclusion({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c4a7cad492ea64ed330db9158bf39f35&file=object_type_inclusion.bal", + "https://play.ballerina.io/?gist=b7810a070ba439e2f6ce701b52d090f2&file=object_type_inclusion.bal", "_blank", ); }} diff --git a/swan-lake/by-example/object-types/content.jsx b/swan-lake/by-example/object-types/content.jsx index f9dec60df97..5e28f018bd9 100644 --- a/swan-lake/by-example/object-types/content.jsx +++ b/swan-lake/by-example/object-types/content.jsx @@ -64,7 +64,7 @@ export function ObjectTypes({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=00d80684b3efc03fafb5db67c7141882&file=object_types.bal", + "https://play.ballerina.io/?gist=2fd750d8f2452f57bd3061165541d564&file=object_types.bal", "_blank", ); }} diff --git a/swan-lake/by-example/object-value-from-class-definition/content.jsx b/swan-lake/by-example/object-value-from-class-definition/content.jsx index a37ba5ade63..40e7103e779 100644 --- a/swan-lake/by-example/object-value-from-class-definition/content.jsx +++ b/swan-lake/by-example/object-value-from-class-definition/content.jsx @@ -82,7 +82,7 @@ export function ObjectValueFromClassDefinition({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0089c52edad477eb852598b6f0cfc818&file=object_value_from_class_definition.bal", + "https://play.ballerina.io/?gist=eb4cacfb6c257d7a58581d5f7f69c851&file=object_value_from_class_definition.bal", "_blank", ); }} diff --git a/swan-lake/by-example/object/content.jsx b/swan-lake/by-example/object/content.jsx index cd88263a5c6..3d13abcee44 100644 --- a/swan-lake/by-example/object/content.jsx +++ b/swan-lake/by-example/object/content.jsx @@ -69,7 +69,7 @@ export function Object({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=74dcae0da27406993b26c81992e96150&file=object.bal", + "https://play.ballerina.io/?gist=ce9ff7c483983d0ca586298a3be961dc&file=object.bal", "_blank", ); }} diff --git a/swan-lake/by-example/on-conflict-clause/content.jsx b/swan-lake/by-example/on-conflict-clause/content.jsx index ffb357d0381..c540ce3ea63 100644 --- a/swan-lake/by-example/on-conflict-clause/content.jsx +++ b/swan-lake/by-example/on-conflict-clause/content.jsx @@ -85,7 +85,7 @@ export function OnConflictClause({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=2e0dcdf01d0a567c7f338fa8818b7c3a&file=on_conflict_clause.bal", + "https://play.ballerina.io/?gist=d6e4c5bd9b27640694c724bcced2c3e3&file=on_conflict_clause.bal", "_blank", ); }} diff --git a/swan-lake/by-example/open-records/content.jsx b/swan-lake/by-example/open-records/content.jsx index 0e64345365e..1f42528f130 100644 --- a/swan-lake/by-example/open-records/content.jsx +++ b/swan-lake/by-example/open-records/content.jsx @@ -96,7 +96,7 @@ export function OpenRecords({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=588e9a11e26ad2dad92a40585b7ce876&file=open_records.bal", + "https://play.ballerina.io/?gist=51956b84903cfb91719b197b4125505b&file=open_records.bal", "_blank", ); }} diff --git a/swan-lake/by-example/optional-fields/content.jsx b/swan-lake/by-example/optional-fields/content.jsx index 9cf5923a638..d66828b57ea 100644 --- a/swan-lake/by-example/optional-fields/content.jsx +++ b/swan-lake/by-example/optional-fields/content.jsx @@ -81,7 +81,7 @@ export function OptionalFields({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8896eed5029cc29fbacbd996a86aa136&file=optional_fields.bal", + "https://play.ballerina.io/?gist=b5a6b711a284fb76c9c53699ed3ed655&file=optional_fields.bal", "_blank", ); }} diff --git a/swan-lake/by-example/outer-join-clause/content.jsx b/swan-lake/by-example/outer-join-clause/content.jsx index 7a045b0d8cd..9b2245c54b8 100644 --- a/swan-lake/by-example/outer-join-clause/content.jsx +++ b/swan-lake/by-example/outer-join-clause/content.jsx @@ -81,7 +81,7 @@ export function OuterJoinClause({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=89648a5cdbc4b62b9a5eafb779b09c80&file=outer_join_clause.bal", + "https://play.ballerina.io/?gist=2ddb135ef3ac5ba78c15dba2822d5d99&file=outer_join_clause.bal", "_blank", ); }} diff --git a/swan-lake/by-example/panics/content.jsx b/swan-lake/by-example/panics/content.jsx index a793df8e37d..47cf7c8513c 100644 --- a/swan-lake/by-example/panics/content.jsx +++ b/swan-lake/by-example/panics/content.jsx @@ -71,7 +71,7 @@ export function Panics({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=863bdb46a724b681c2bb026553a33bbc&file=panics.bal", + "https://play.ballerina.io/?gist=d362b55716fdd620dde9e7977367b146&file=panics.bal", "_blank", ); }} diff --git a/swan-lake/by-example/programs-and-modules/content.jsx b/swan-lake/by-example/programs-and-modules/content.jsx index e916214c28d..13702d1df2f 100644 --- a/swan-lake/by-example/programs-and-modules/content.jsx +++ b/swan-lake/by-example/programs-and-modules/content.jsx @@ -47,7 +47,7 @@ export function ProgramsAndModules({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=edb01c7f9f78428a2861f86369321171&file=programs_and_modules.bal", + "https://play.ballerina.io/?gist=0ddb2220ed392755f60513114ed0e9cf&file=programs_and_modules.bal", "_blank", ); }} diff --git a/swan-lake/by-example/provide-function-arguments-by-name/content.jsx b/swan-lake/by-example/provide-function-arguments-by-name/content.jsx index 3aa1c755d96..e8a27931f30 100644 --- a/swan-lake/by-example/provide-function-arguments-by-name/content.jsx +++ b/swan-lake/by-example/provide-function-arguments-by-name/content.jsx @@ -54,7 +54,7 @@ export function ProvideFunctionArgumentsByName({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5c340bf17332726112d4d030cc8038f4&file=provide_function_arguments_by_name.bal", + "https://play.ballerina.io/?gist=4fd6dd710739b18b4be8724a5da244c8&file=provide_function_arguments_by_name.bal", "_blank", ); }} diff --git a/swan-lake/by-example/query-actions/content.jsx b/swan-lake/by-example/query-actions/content.jsx index d1542962b0f..515e3e18923 100644 --- a/swan-lake/by-example/query-actions/content.jsx +++ b/swan-lake/by-example/query-actions/content.jsx @@ -69,7 +69,7 @@ export function QueryActions({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0e53b83fc0369945030360c4a12cfdb8&file=query_actions.bal", + "https://play.ballerina.io/?gist=e65fb47afdf73cdc6f4918ae1add4e45&file=query_actions.bal", "_blank", ); }} diff --git a/swan-lake/by-example/query-expressions/content.jsx b/swan-lake/by-example/query-expressions/content.jsx index 0ee2c3f07a8..77d89afa34c 100644 --- a/swan-lake/by-example/query-expressions/content.jsx +++ b/swan-lake/by-example/query-expressions/content.jsx @@ -74,7 +74,7 @@ export function QueryExpressions({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=18896a3fea1999c71053534dbe60c422&file=query_expressions.bal", + "https://play.ballerina.io/?gist=771d6a62cee9a8701ec1bb8cf93c0d8d&file=query_expressions.bal", "_blank", ); }} diff --git a/swan-lake/by-example/querying-tables/content.jsx b/swan-lake/by-example/querying-tables/content.jsx index 984c31d87ff..8b703f0cfc4 100644 --- a/swan-lake/by-example/querying-tables/content.jsx +++ b/swan-lake/by-example/querying-tables/content.jsx @@ -70,7 +70,7 @@ export function QueryingTables({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c63c571ecbbeb4323faa0a0c2b9fb8b0&file=querying_tables.bal", + "https://play.ballerina.io/?gist=0607971d0895fa80125612c85a9ae1ef&file=querying_tables.bal", "_blank", ); }} diff --git a/swan-lake/by-example/querying-with-streams/content.jsx b/swan-lake/by-example/querying-with-streams/content.jsx index 913a3685449..9fae2f8d084 100644 --- a/swan-lake/by-example/querying-with-streams/content.jsx +++ b/swan-lake/by-example/querying-with-streams/content.jsx @@ -65,7 +65,7 @@ export function QueryingWithStreams({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6f5f98bfd66a7ca247e7673b3094e486&file=querying_with_streams.bal", + "https://play.ballerina.io/?gist=63f76ece995378a45a9990b7cffd2677&file=querying_with_streams.bal", "_blank", ); }} diff --git a/swan-lake/by-example/random-numbers/content.jsx b/swan-lake/by-example/random-numbers/content.jsx index ebf3fc9137b..c373f16621c 100644 --- a/swan-lake/by-example/random-numbers/content.jsx +++ b/swan-lake/by-example/random-numbers/content.jsx @@ -55,7 +55,7 @@ export function RandomNumbers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=695afbc7bdaa8698b56e2406a1032134&file=random_numbers.bal", + "https://play.ballerina.io/?gist=dbbe96737b77aa22329b9536a4aa5222&file=random_numbers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/readonly-and-isolated/content.jsx b/swan-lake/by-example/readonly-and-isolated/content.jsx index 94e3978977d..3c3fd5c5290 100644 --- a/swan-lake/by-example/readonly-and-isolated/content.jsx +++ b/swan-lake/by-example/readonly-and-isolated/content.jsx @@ -66,7 +66,7 @@ export function ReadonlyAndIsolated({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=bfe6493f0a0990946010f728de6d7463&file=readonly_and_isolated.bal", + "https://play.ballerina.io/?gist=c36f56861557e523bda2698f53697b0c&file=readonly_and_isolated.bal", "_blank", ); }} diff --git a/swan-lake/by-example/readonly-objects-and-classes/content.jsx b/swan-lake/by-example/readonly-objects-and-classes/content.jsx index c7bd6ec2002..fb632f1bec3 100644 --- a/swan-lake/by-example/readonly-objects-and-classes/content.jsx +++ b/swan-lake/by-example/readonly-objects-and-classes/content.jsx @@ -73,7 +73,7 @@ export function ReadonlyObjectsAndClasses({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1587dfcaca6e4cd23a0387cf56ff650d&file=readonly_objects_and_classes.bal", + "https://play.ballerina.io/?gist=183dd62094c041d6eef2079e57eb7373&file=readonly_objects_and_classes.bal", "_blank", ); }} diff --git a/swan-lake/by-example/readonly-type/content.jsx b/swan-lake/by-example/readonly-type/content.jsx index 33b9e56c212..e440fea2663 100644 --- a/swan-lake/by-example/readonly-type/content.jsx +++ b/swan-lake/by-example/readonly-type/content.jsx @@ -63,7 +63,7 @@ export function ReadonlyType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=01c6e50839c68ceb1c1b488b9069a9e2&file=readonly_type.bal", + "https://play.ballerina.io/?gist=b53fbf8f9b80758c686ffa4c4da5e0d5&file=readonly_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/record-to-edi/content.jsx b/swan-lake/by-example/record-to-edi/content.jsx index 6191cf02c5e..c478e57fb8b 100644 --- a/swan-lake/by-example/record-to-edi/content.jsx +++ b/swan-lake/by-example/record-to-edi/content.jsx @@ -79,7 +79,7 @@ export function RecordToEdi({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=45c08afbcacd1260152bd56f04f4ab95&file=schema.json", + "https://play.ballerina.io/?gist=f174fe3945af00a60faf1a9f8ddabafc&file=schema.json", "_blank", ); }} @@ -194,7 +194,7 @@ export function RecordToEdi({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=45c08afbcacd1260152bd56f04f4ab95&file=schema.json", + "https://play.ballerina.io/?gist=f174fe3945af00a60faf1a9f8ddabafc&file=schema.json", "_blank", ); }} @@ -519,7 +519,7 @@ export function RecordToEdi({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e19485f20df0c40eaeedbce5016b1a90&file=record_to_edi.bal", + "https://play.ballerina.io/?gist=e550a9a1fc00bbf20224b7c0cd63db51&file=record_to_edi.bal", "_blank", ); }} diff --git a/swan-lake/by-example/records/content.jsx b/swan-lake/by-example/records/content.jsx index bcf453086d1..f4ef3aa9379 100644 --- a/swan-lake/by-example/records/content.jsx +++ b/swan-lake/by-example/records/content.jsx @@ -91,7 +91,7 @@ export function Records({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=49d910d5ddd642505487fa2e56c6914c&file=records.bal", + "https://play.ballerina.io/?gist=dbaa96c65154ee3c7cb030842efea362&file=records.bal", "_blank", ); }} diff --git a/swan-lake/by-example/regexp-operations/content.jsx b/swan-lake/by-example/regexp-operations/content.jsx index 8152a1cff10..3ab43752fb6 100644 --- a/swan-lake/by-example/regexp-operations/content.jsx +++ b/swan-lake/by-example/regexp-operations/content.jsx @@ -68,7 +68,7 @@ export function RegexpOperations({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c1c1cf00aab0374e6968c230daa239d8&file=regexp_operations.bal", + "https://play.ballerina.io/?gist=76ea0e33efb4c881993a2d73ddce7f8f&file=regexp_operations.bal", "_blank", ); }} diff --git a/swan-lake/by-example/regexp-type/content.jsx b/swan-lake/by-example/regexp-type/content.jsx index 13a40fcf3ea..cfef358fc5c 100644 --- a/swan-lake/by-example/regexp-type/content.jsx +++ b/swan-lake/by-example/regexp-type/content.jsx @@ -96,7 +96,7 @@ export function RegexpType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e18625cef3f0eaad46a76c3c61fe2571&file=regexp_type.bal", + "https://play.ballerina.io/?gist=824bfd899a62afc7b7b61b3b6305d0cb&file=regexp_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/rest-binding-pattern-in-error-binding-pattern/content.jsx b/swan-lake/by-example/rest-binding-pattern-in-error-binding-pattern/content.jsx index 7ed071f7c44..c8dd55c5dd2 100644 --- a/swan-lake/by-example/rest-binding-pattern-in-error-binding-pattern/content.jsx +++ b/swan-lake/by-example/rest-binding-pattern-in-error-binding-pattern/content.jsx @@ -73,7 +73,7 @@ export function RestBindingPatternInErrorBindingPattern({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=43ffb2009b21e0678d6ba6a9e4b38a78&file=rest_binding_pattern_in_error_binding_pattern.bal", + "https://play.ballerina.io/?gist=8935d60ef7d701466fc385471c89fee8&file=rest_binding_pattern_in_error_binding_pattern.bal", "_blank", ); }} diff --git a/swan-lake/by-example/rest-binding-pattern-in-list-binding-pattern/content.jsx b/swan-lake/by-example/rest-binding-pattern-in-list-binding-pattern/content.jsx index 4c984f1df3c..4f6a3ef8030 100644 --- a/swan-lake/by-example/rest-binding-pattern-in-list-binding-pattern/content.jsx +++ b/swan-lake/by-example/rest-binding-pattern-in-list-binding-pattern/content.jsx @@ -54,7 +54,7 @@ export function RestBindingPatternInListBindingPattern({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=42f48a6a3b0e4f15c08b836433ee2118&file=rest_binding_pattern_in_list_binding_pattern.bal", + "https://play.ballerina.io/?gist=63042bfcc165e643cb117dc1fd363216&file=rest_binding_pattern_in_list_binding_pattern.bal", "_blank", ); }} diff --git a/swan-lake/by-example/rest-binding-pattern-in-mapping-binding-pattern/content.jsx b/swan-lake/by-example/rest-binding-pattern-in-mapping-binding-pattern/content.jsx index 0dd1e45c675..d5d0cb5918d 100644 --- a/swan-lake/by-example/rest-binding-pattern-in-mapping-binding-pattern/content.jsx +++ b/swan-lake/by-example/rest-binding-pattern-in-mapping-binding-pattern/content.jsx @@ -72,7 +72,7 @@ export function RestBindingPatternInMappingBindingPattern({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8e58c85fe41b520873f026d6b5b61bc2&file=rest_binding_pattern_in_mapping_binding_pattern.bal", + "https://play.ballerina.io/?gist=05f429c61f06b283e9aaace976751239&file=rest_binding_pattern_in_mapping_binding_pattern.bal", "_blank", ); }} diff --git a/swan-lake/by-example/rest-parameters/content.jsx b/swan-lake/by-example/rest-parameters/content.jsx index a8ab8fee08c..cd6ea90bf67 100644 --- a/swan-lake/by-example/rest-parameters/content.jsx +++ b/swan-lake/by-example/rest-parameters/content.jsx @@ -60,7 +60,7 @@ export function RestParameters({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1c936c8277241e94a312c38b1a8c0eaf&file=rest_parameters.bal", + "https://play.ballerina.io/?gist=a414449b5aa33ce1c5cb1b750d4a5602&file=rest_parameters.bal", "_blank", ); }} diff --git a/swan-lake/by-example/rest-type-in-tuples/content.jsx b/swan-lake/by-example/rest-type-in-tuples/content.jsx index 194fdba8caa..dfa059707f8 100644 --- a/swan-lake/by-example/rest-type-in-tuples/content.jsx +++ b/swan-lake/by-example/rest-type-in-tuples/content.jsx @@ -60,7 +60,7 @@ export function RestTypeInTuples({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=15b2e9bb281bdec6e85272b9bb144ba4&file=rest_type_in_tuples.bal", + "https://play.ballerina.io/?gist=03018bb8d0a560b3691443abd1f1d22f&file=rest_type_in_tuples.bal", "_blank", ); }} diff --git a/swan-lake/by-example/retry-transaction-statement/content.jsx b/swan-lake/by-example/retry-transaction-statement/content.jsx index 7e1c13a80e1..64d7114da11 100644 --- a/swan-lake/by-example/retry-transaction-statement/content.jsx +++ b/swan-lake/by-example/retry-transaction-statement/content.jsx @@ -71,7 +71,7 @@ export function RetryTransactionStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=385d20955cce9bf3b41b44e466201f30&file=retry_transaction_statement.bal", + "https://play.ballerina.io/?gist=5a279e1215602a3193c7883247083d07&file=retry_transaction_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/rollback/content.jsx b/swan-lake/by-example/rollback/content.jsx index 54fa707d6fc..818560a6604 100644 --- a/swan-lake/by-example/rollback/content.jsx +++ b/swan-lake/by-example/rollback/content.jsx @@ -117,7 +117,7 @@ export function Rollback({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1131f143e13f9ddaefc47fad2b70a3e5&file=rollback.bal", + "https://play.ballerina.io/?gist=a7820382266c2f484e308b54dd743a0c&file=rollback.bal", "_blank", ); }} diff --git a/swan-lake/by-example/run-strands-safely-on-separate-threads/content.jsx b/swan-lake/by-example/run-strands-safely-on-separate-threads/content.jsx index 39f0f54bff8..f6857e2acf3 100644 --- a/swan-lake/by-example/run-strands-safely-on-separate-threads/content.jsx +++ b/swan-lake/by-example/run-strands-safely-on-separate-threads/content.jsx @@ -97,7 +97,7 @@ export function RunStrandsSafelyOnSeparateThreads({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=79a0810049b578b4a756d529172519b8&file=run_strands_safely_on_separate_threads.bal", + "https://play.ballerina.io/?gist=d1ca97b80ce71377722704e7ff828d10&file=run_strands_safely_on_separate_threads.bal", "_blank", ); }} diff --git a/swan-lake/by-example/sequence-diagrams/content.jsx b/swan-lake/by-example/sequence-diagrams/content.jsx index 6b0e9ca9269..b188e4e9942 100644 --- a/swan-lake/by-example/sequence-diagrams/content.jsx +++ b/swan-lake/by-example/sequence-diagrams/content.jsx @@ -67,7 +67,7 @@ export function SequenceDiagrams({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=73f38b59c09d643b3210fe34da8a354e&file=sequence_diagrams.bal", + "https://play.ballerina.io/?gist=55dca5ea17d5bf2be51f533e1b514b63&file=sequence_diagrams.bal", "_blank", ); }} diff --git a/swan-lake/by-example/single-use-of-typed-binding/content.jsx b/swan-lake/by-example/single-use-of-typed-binding/content.jsx index 8a9520b6753..e9337c8f008 100644 --- a/swan-lake/by-example/single-use-of-typed-binding/content.jsx +++ b/swan-lake/by-example/single-use-of-typed-binding/content.jsx @@ -67,7 +67,7 @@ export function SingleUseOfTypedBinding({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=4e0a817133011a2b8c1413f23a4f97a2&file=single_use_of_typed_binding.bal", + "https://play.ballerina.io/?gist=de000513d715eaffef1920198c02612f&file=single_use_of_typed_binding.bal", "_blank", ); }} diff --git a/swan-lake/by-example/single-use-with-on-fail-clause/content.jsx b/swan-lake/by-example/single-use-with-on-fail-clause/content.jsx index 18d9c63f87f..79b4818a4cf 100644 --- a/swan-lake/by-example/single-use-with-on-fail-clause/content.jsx +++ b/swan-lake/by-example/single-use-with-on-fail-clause/content.jsx @@ -50,7 +50,7 @@ export function SingleUseWithOnFailClause({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1f42aced8e3af4818e51e91a69f64173&file=single_use_with_on_fail_clause.bal", + "https://play.ballerina.io/?gist=556ad282e467ae3a58be38641fe52bb9&file=single_use_with_on_fail_clause.bal", "_blank", ); }} diff --git a/swan-lake/by-example/sort-iterable-objects/content.jsx b/swan-lake/by-example/sort-iterable-objects/content.jsx index 12bc7ae5b4a..c7ec47fb93c 100644 --- a/swan-lake/by-example/sort-iterable-objects/content.jsx +++ b/swan-lake/by-example/sort-iterable-objects/content.jsx @@ -77,7 +77,7 @@ export function SortIterableObjects({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=6d9a98973294d290d2c84b5380c37610&file=sort_iterable_objects.bal", + "https://play.ballerina.io/?gist=4a284fccfa79bb00515442baa87d2285&file=sort_iterable_objects.bal", "_blank", ); }} diff --git a/swan-lake/by-example/strands/content.jsx b/swan-lake/by-example/strands/content.jsx index 00876c0184a..81fda6e1b6e 100644 --- a/swan-lake/by-example/strands/content.jsx +++ b/swan-lake/by-example/strands/content.jsx @@ -71,7 +71,7 @@ export function Strands({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=4b91def19c87dcfa357236ccc144b96a&file=strands.bal", + "https://play.ballerina.io/?gist=bf34c6369ae64d4c7487a271911835fe&file=strands.bal", "_blank", ); }} diff --git a/swan-lake/by-example/stream-type/content.jsx b/swan-lake/by-example/stream-type/content.jsx index 01b2c91bf32..fb0d0b5db1f 100644 --- a/swan-lake/by-example/stream-type/content.jsx +++ b/swan-lake/by-example/stream-type/content.jsx @@ -72,7 +72,7 @@ export function StreamType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1ddc52b1866ea39603e53e2a01ed21c4&file=stream_type.bal", + "https://play.ballerina.io/?gist=bc569a0848cc26fa4aac51f4d8bf2adb&file=stream_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/strings/content.jsx b/swan-lake/by-example/strings/content.jsx index 28e3621c840..54566374206 100644 --- a/swan-lake/by-example/strings/content.jsx +++ b/swan-lake/by-example/strings/content.jsx @@ -58,7 +58,7 @@ export function Strings({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=950c6edd226ac59762303ea3e70f0ee3&file=strings.bal", + "https://play.ballerina.io/?gist=9d6197645ce93594de781dec8667aa5d&file=strings.bal", "_blank", ); }} diff --git a/swan-lake/by-example/structured-keys/content.jsx b/swan-lake/by-example/structured-keys/content.jsx index c86acadbb4a..39aeeba7294 100644 --- a/swan-lake/by-example/structured-keys/content.jsx +++ b/swan-lake/by-example/structured-keys/content.jsx @@ -64,7 +64,7 @@ export function StructuredKeys({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=7fa2d908d14d0916b18954aa41292118&file=structured_keys.bal", + "https://play.ballerina.io/?gist=d3c86989bb0a489c8bcb77b69adf7e90&file=structured_keys.bal", "_blank", ); }} diff --git a/swan-lake/by-example/synchronize-message-passing/content.jsx b/swan-lake/by-example/synchronize-message-passing/content.jsx index bde967ba5d6..03d6cbdf117 100644 --- a/swan-lake/by-example/synchronize-message-passing/content.jsx +++ b/swan-lake/by-example/synchronize-message-passing/content.jsx @@ -70,7 +70,7 @@ export function SynchronizeMessagePassing({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=32ffd5ebdfc007ec79ab17986ec98204&file=synchronize_message_passing.bal", + "https://play.ballerina.io/?gist=e66ba6d3ca72e1abe7a18066329a92d8&file=synchronize_message_passing.bal", "_blank", ); }} diff --git a/swan-lake/by-example/table-types/content.jsx b/swan-lake/by-example/table-types/content.jsx index 826e9b202c3..8423d46b022 100644 --- a/swan-lake/by-example/table-types/content.jsx +++ b/swan-lake/by-example/table-types/content.jsx @@ -88,7 +88,7 @@ export function TableTypes({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=fc32a86a253ab5a9f865009beba0b0f1&file=table_types.bal", + "https://play.ballerina.io/?gist=053da80e4d3372352f2394f05caae7d0&file=table_types.bal", "_blank", ); }} diff --git a/swan-lake/by-example/table/content.jsx b/swan-lake/by-example/table/content.jsx index 0c681f228d1..2e75e45cbc4 100644 --- a/swan-lake/by-example/table/content.jsx +++ b/swan-lake/by-example/table/content.jsx @@ -79,7 +79,7 @@ export function Table({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b783334fb847419603bd1f8b70a4e339&file=table.bal", + "https://play.ballerina.io/?gist=1e9a7a0ccd38ebfbccd9492c68819bd9&file=table.bal", "_blank", ); }} diff --git a/swan-lake/by-example/task-frequency-job-execution/content.jsx b/swan-lake/by-example/task-frequency-job-execution/content.jsx index d717b22cf25..043ccf8074d 100644 --- a/swan-lake/by-example/task-frequency-job-execution/content.jsx +++ b/swan-lake/by-example/task-frequency-job-execution/content.jsx @@ -75,7 +75,7 @@ export function TaskFrequencyJobExecution({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b533998ba886d5f8965c8c6d1eafd908&file=task_frequency_job_execution.bal", + "https://play.ballerina.io/?gist=0512a7bdf1a8de027f4585c7eb1a24ec&file=task_frequency_job_execution.bal", "_blank", ); }} diff --git a/swan-lake/by-example/task-one-time-job-execution/content.jsx b/swan-lake/by-example/task-one-time-job-execution/content.jsx index 61c8dec85ef..9710db51425 100644 --- a/swan-lake/by-example/task-one-time-job-execution/content.jsx +++ b/swan-lake/by-example/task-one-time-job-execution/content.jsx @@ -79,7 +79,7 @@ export function TaskOneTimeJobExecution({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0255d099a52f5e5b2c9ccfd4ff824981&file=task_one_time_job_execution.bal", + "https://play.ballerina.io/?gist=88ee1787ebed8bcd32501b4b225a31b9&file=task_one_time_job_execution.bal", "_blank", ); }} diff --git a/swan-lake/by-example/temp-files-directories/content.jsx b/swan-lake/by-example/temp-files-directories/content.jsx index d5065d3961d..b4974d5f55a 100644 --- a/swan-lake/by-example/temp-files-directories/content.jsx +++ b/swan-lake/by-example/temp-files-directories/content.jsx @@ -60,7 +60,7 @@ export function TempFilesDirectories({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8c8117c45b07c5e82cb46966aca7b7c5&file=temp_files_directories.bal", + "https://play.ballerina.io/?gist=9b27ada7983afaf6abae888cfc6ce8ae&file=temp_files_directories.bal", "_blank", ); }} diff --git a/swan-lake/by-example/time-formatting-and-parsing/content.jsx b/swan-lake/by-example/time-formatting-and-parsing/content.jsx index 1374e8a643a..8886817cb67 100644 --- a/swan-lake/by-example/time-formatting-and-parsing/content.jsx +++ b/swan-lake/by-example/time-formatting-and-parsing/content.jsx @@ -86,7 +86,7 @@ export function TimeFormattingAndParsing({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e3e564cbe7318131659aceb1fd7359b2&file=time_formatting_and_parsing.bal", + "https://play.ballerina.io/?gist=944a8ada932030de3b433d3a93391889&file=time_formatting_and_parsing.bal", "_blank", ); }} diff --git a/swan-lake/by-example/time-utc-and-civil/content.jsx b/swan-lake/by-example/time-utc-and-civil/content.jsx index 6277fc8e57e..0f97b4ef52c 100644 --- a/swan-lake/by-example/time-utc-and-civil/content.jsx +++ b/swan-lake/by-example/time-utc-and-civil/content.jsx @@ -72,7 +72,7 @@ export function TimeUtcAndCivil({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e2ebe4f5a70f2ae6a17da8399598b375&file=time_utc_and_civil.bal", + "https://play.ballerina.io/?gist=77bc45cff506d8fc54f006e6a473c03b&file=time_utc_and_civil.bal", "_blank", ); }} diff --git a/swan-lake/by-example/time-utc/content.jsx b/swan-lake/by-example/time-utc/content.jsx index 40155f2caf1..88e9e73e28f 100644 --- a/swan-lake/by-example/time-utc/content.jsx +++ b/swan-lake/by-example/time-utc/content.jsx @@ -58,7 +58,7 @@ export function TimeUtc({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c574e98b7317309bbe24cc99e8f5459f&file=time_utc.bal", + "https://play.ballerina.io/?gist=57fb1e7d4a1427a7787d1b44a3169dfc&file=time_utc.bal", "_blank", ); }} diff --git a/swan-lake/by-example/transaction-statement/content.jsx b/swan-lake/by-example/transaction-statement/content.jsx index fbd2c7407ac..acd7d300b5f 100644 --- a/swan-lake/by-example/transaction-statement/content.jsx +++ b/swan-lake/by-example/transaction-statement/content.jsx @@ -66,7 +66,7 @@ export function TransactionStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5d1b5456554c163a998d14dc206ad0d5&file=transaction_statement.bal", + "https://play.ballerina.io/?gist=bb1e93091b863cd207505b2b333751f1&file=transaction_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/transactional-named-workers/content.jsx b/swan-lake/by-example/transactional-named-workers/content.jsx index f5b1d99bc25..e30ad2803d4 100644 --- a/swan-lake/by-example/transactional-named-workers/content.jsx +++ b/swan-lake/by-example/transactional-named-workers/content.jsx @@ -65,7 +65,7 @@ export function TransactionalNamedWorkers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d290871d68b9296270941f688fbe1827&file=transactional_named_workers.bal", + "https://play.ballerina.io/?gist=8993d16a2407af586233c018aa82d0ec&file=transactional_named_workers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/transactional-qualifier/content.jsx b/swan-lake/by-example/transactional-qualifier/content.jsx index c3a5a790778..bc91422eb24 100644 --- a/swan-lake/by-example/transactional-qualifier/content.jsx +++ b/swan-lake/by-example/transactional-qualifier/content.jsx @@ -79,7 +79,7 @@ export function TransactionalQualifier({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=44e87102bf0c8f5d124b938dd3e0efd0&file=transactional_qualifier.bal", + "https://play.ballerina.io/?gist=ead8d281b2d046f49559bde3d9f2fc01&file=transactional_qualifier.bal", "_blank", ); }} diff --git a/swan-lake/by-example/tuples/content.jsx b/swan-lake/by-example/tuples/content.jsx index 659af362017..02aa424e276 100644 --- a/swan-lake/by-example/tuples/content.jsx +++ b/swan-lake/by-example/tuples/content.jsx @@ -76,7 +76,7 @@ export function Tuples({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=0ba43f1e7082c62b58d270c8dbec2cbd&file=tuples.bal", + "https://play.ballerina.io/?gist=8020e90900cbfdd333e2052d5cf47d28&file=tuples.bal", "_blank", ); }} diff --git a/swan-lake/by-example/type-definitions/content.jsx b/swan-lake/by-example/type-definitions/content.jsx index 2b06cb6e155..71eacb6b176 100644 --- a/swan-lake/by-example/type-definitions/content.jsx +++ b/swan-lake/by-example/type-definitions/content.jsx @@ -50,7 +50,7 @@ export function TypeDefinitions({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1757bb92a44844c357f2dec59dd981d9&file=type_definitions.bal", + "https://play.ballerina.io/?gist=e3fa62699168a4b28f3017618f6e77e8&file=type_definitions.bal", "_blank", ); }} diff --git a/swan-lake/by-example/type-inclusion-for-records/content.jsx b/swan-lake/by-example/type-inclusion-for-records/content.jsx index 7ec64b25b17..62b999c670a 100644 --- a/swan-lake/by-example/type-inclusion-for-records/content.jsx +++ b/swan-lake/by-example/type-inclusion-for-records/content.jsx @@ -67,7 +67,7 @@ export function TypeInclusionForRecords({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a4b6df01fd39a6fa85c530562e889e3b&file=type_inclusion_for_records.bal", + "https://play.ballerina.io/?gist=c8b953f63ce0ec3a7279c0f91bbaf438&file=type_inclusion_for_records.bal", "_blank", ); }} diff --git a/swan-lake/by-example/type-inference/content.jsx b/swan-lake/by-example/type-inference/content.jsx index a92c586dbbb..d4f08f9f778 100644 --- a/swan-lake/by-example/type-inference/content.jsx +++ b/swan-lake/by-example/type-inference/content.jsx @@ -66,7 +66,7 @@ export function TypeInference({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b720d8dd04c24d79812b9420eed92dc1&file=type_inference.bal", + "https://play.ballerina.io/?gist=31a10b50dfcd5d1c8651729dfb900717&file=type_inference.bal", "_blank", ); }} diff --git a/swan-lake/by-example/typed-binding-pattern/content.jsx b/swan-lake/by-example/typed-binding-pattern/content.jsx index 15e84395a38..64dcb62d567 100644 --- a/swan-lake/by-example/typed-binding-pattern/content.jsx +++ b/swan-lake/by-example/typed-binding-pattern/content.jsx @@ -65,7 +65,7 @@ export function TypedBindingPattern({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=922185816337db1c2488260f096d55aa&file=typed_binding_pattern.bal", + "https://play.ballerina.io/?gist=eb96fba16b83401caaf31f54c512f160&file=typed_binding_pattern.bal", "_blank", ); }} diff --git a/swan-lake/by-example/typedesc-type/content.jsx b/swan-lake/by-example/typedesc-type/content.jsx index da4331713a4..8f51a8dc92b 100644 --- a/swan-lake/by-example/typedesc-type/content.jsx +++ b/swan-lake/by-example/typedesc-type/content.jsx @@ -61,7 +61,7 @@ export function TypedescType({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d29ec7b8ff6e0f84e2aa2b145c1472c3&file=typedesc_type.bal", + "https://play.ballerina.io/?gist=ee3f8892ee472fcdf90080542fdfab20&file=typedesc_type.bal", "_blank", ); }} diff --git a/swan-lake/by-example/unions/content.jsx b/swan-lake/by-example/unions/content.jsx index 3f129c5e32b..2b71d56dec4 100644 --- a/swan-lake/by-example/unions/content.jsx +++ b/swan-lake/by-example/unions/content.jsx @@ -74,7 +74,7 @@ export function Unions({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=1a31719d22f7bf9665651841d8f29eac&file=unions.bal", + "https://play.ballerina.io/?gist=f9580142e2169f8192b5765e65aa2ef3&file=unions.bal", "_blank", ); }} diff --git a/swan-lake/by-example/url-encode-decode/content.jsx b/swan-lake/by-example/url-encode-decode/content.jsx index 4b751d10dfc..bab9c2bea7e 100644 --- a/swan-lake/by-example/url-encode-decode/content.jsx +++ b/swan-lake/by-example/url-encode-decode/content.jsx @@ -56,7 +56,7 @@ export function UrlEncodeDecode({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=4484b631e79756057ce1f3d840f2f298&file=url_encode_decode.bal", + "https://play.ballerina.io/?gist=3d40be164a0fd030e059d4902cb31868&file=url_encode_decode.bal", "_blank", ); }} diff --git a/swan-lake/by-example/uuid-generation/content.jsx b/swan-lake/by-example/uuid-generation/content.jsx index b77b6dee0da..285ce1372fb 100644 --- a/swan-lake/by-example/uuid-generation/content.jsx +++ b/swan-lake/by-example/uuid-generation/content.jsx @@ -91,7 +91,7 @@ export function UuidGeneration({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8d0a00b4cd53ace19457c69930ef78aa&file=uuid_generation.bal", + "https://play.ballerina.io/?gist=e90ffad405ac88b53072888c94bf0750&file=uuid_generation.bal", "_blank", ); }} diff --git a/swan-lake/by-example/uuid-operations/content.jsx b/swan-lake/by-example/uuid-operations/content.jsx index 85d451ef0a0..d747ec81480 100644 --- a/swan-lake/by-example/uuid-operations/content.jsx +++ b/swan-lake/by-example/uuid-operations/content.jsx @@ -92,7 +92,7 @@ export function UuidOperations({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=7b3af2a670b2851536c8434653f3b634&file=uuid_operations.bal", + "https://play.ballerina.io/?gist=c1f9f2cff33618b7f3ffdfff9922293b&file=uuid_operations.bal", "_blank", ); }} diff --git a/swan-lake/by-example/variables-and-types/content.jsx b/swan-lake/by-example/variables-and-types/content.jsx index 25ed7b843d2..1f0f50c15fe 100644 --- a/swan-lake/by-example/variables-and-types/content.jsx +++ b/swan-lake/by-example/variables-and-types/content.jsx @@ -48,7 +48,7 @@ export function VariablesAndTypes({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=ed6d656c4617137e8d71d41536d31a1d&file=variables_and_types.bal", + "https://play.ballerina.io/?gist=00400e08adcb7add03a4816a563a18fc&file=variables_and_types.bal", "_blank", ); }} diff --git a/swan-lake/by-example/visibility-of-object-fields-and-methods/content.jsx b/swan-lake/by-example/visibility-of-object-fields-and-methods/content.jsx index d206bfb9497..f6183a05ab2 100644 --- a/swan-lake/by-example/visibility-of-object-fields-and-methods/content.jsx +++ b/swan-lake/by-example/visibility-of-object-fields-and-methods/content.jsx @@ -113,7 +113,7 @@ export function VisibilityOfObjectFieldsAndMethods({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8d7b8ddf0bfdf6da672f246e5e6dfb0f&file=visibility_of_object_fields_and_methods.bal", + "https://play.ballerina.io/?gist=741129280550f238a7ac456340c58897&file=visibility_of_object_fields_and_methods.bal", "_blank", ); }} diff --git a/swan-lake/by-example/waiting-for-workers/content.jsx b/swan-lake/by-example/waiting-for-workers/content.jsx index 5afa1436d49..be05b0791b7 100644 --- a/swan-lake/by-example/waiting-for-workers/content.jsx +++ b/swan-lake/by-example/waiting-for-workers/content.jsx @@ -56,7 +56,7 @@ export function WaitingForWorkers({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8b295b942fb7bab8382a2932cc625344&file=waiting_for_workers.bal", + "https://play.ballerina.io/?gist=05aabb88164e8b00e5991c4d52a57f33&file=waiting_for_workers.bal", "_blank", ); }} diff --git a/swan-lake/by-example/while-statement/content.jsx b/swan-lake/by-example/while-statement/content.jsx index 820e05543eb..ba4af93b2fb 100644 --- a/swan-lake/by-example/while-statement/content.jsx +++ b/swan-lake/by-example/while-statement/content.jsx @@ -50,7 +50,7 @@ export function WhileStatement({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d069ca270f590bcf5dbd69011f9f58a0&file=while_statement.bal", + "https://play.ballerina.io/?gist=127050f89c4a8c226df1da9a608decab&file=while_statement.bal", "_blank", ); }} diff --git a/swan-lake/by-example/wildcard-binding-pattern/content.jsx b/swan-lake/by-example/wildcard-binding-pattern/content.jsx index 515476f8bb0..c6a8d0f711b 100644 --- a/swan-lake/by-example/wildcard-binding-pattern/content.jsx +++ b/swan-lake/by-example/wildcard-binding-pattern/content.jsx @@ -53,7 +53,7 @@ export function WildcardBindingPattern({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=47d778624d3a215535204e2e78bd8260&file=wildcard_binding_pattern.bal", + "https://play.ballerina.io/?gist=44aa6aa468e7ee7729d570fd705afab4&file=wildcard_binding_pattern.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-access/content.jsx b/swan-lake/by-example/xml-access/content.jsx index b3e95ab4a6d..70b003668c8 100644 --- a/swan-lake/by-example/xml-access/content.jsx +++ b/swan-lake/by-example/xml-access/content.jsx @@ -91,7 +91,7 @@ export function XmlAccess({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=b5f20f20ca414fbcfbba60ac97336b98&file=xml_access.bal", + "https://play.ballerina.io/?gist=228f539bcf6fe6ae2262db19e2e68a42&file=xml_access.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-data-model/content.jsx b/swan-lake/by-example/xml-data-model/content.jsx index 5d740df9684..bfa4723a560 100644 --- a/swan-lake/by-example/xml-data-model/content.jsx +++ b/swan-lake/by-example/xml-data-model/content.jsx @@ -172,7 +172,7 @@ export function XmlDataModel({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=d0d0b268d9161304485a204ee1f373dc&file=xml_data_model.bal", + "https://play.ballerina.io/?gist=19e98fd3d3a68aab39eb3c66ba9d0b58&file=xml_data_model.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-from-json-conversion/content.jsx b/swan-lake/by-example/xml-from-json-conversion/content.jsx index 4bfc4114c9a..665e7f33c1b 100644 --- a/swan-lake/by-example/xml-from-json-conversion/content.jsx +++ b/swan-lake/by-example/xml-from-json-conversion/content.jsx @@ -62,7 +62,7 @@ export function XmlFromJsonConversion({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=422a2a530e9fad3895ae9f9fd76cb9e0&file=xml_from_json_conversion.bal", + "https://play.ballerina.io/?gist=a2df2ceb777483bc85c1bc9a8a6cfc9f&file=xml_from_json_conversion.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-from-record-conversion/content.jsx b/swan-lake/by-example/xml-from-record-conversion/content.jsx index 532eb233be1..6d3eea8f573 100644 --- a/swan-lake/by-example/xml-from-record-conversion/content.jsx +++ b/swan-lake/by-example/xml-from-record-conversion/content.jsx @@ -84,7 +84,7 @@ export function XmlFromRecordConversion({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=aa0bfa5b66132f2f261a73341782ae50&file=xml_from_record_conversion.bal", + "https://play.ballerina.io/?gist=358a01c41a5409460c72a4c1500470f0&file=xml_from_record_conversion.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-iteration/content.jsx b/swan-lake/by-example/xml-iteration/content.jsx index ae4ba4ba236..fc51622aed3 100644 --- a/swan-lake/by-example/xml-iteration/content.jsx +++ b/swan-lake/by-example/xml-iteration/content.jsx @@ -53,7 +53,7 @@ export function XmlIteration({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=8e5db94892e4392b44d5a402785b7eab&file=xml_iteration.bal", + "https://play.ballerina.io/?gist=bee39eed100e6b6bf98c78354532750e&file=xml_iteration.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-mutation/content.jsx b/swan-lake/by-example/xml-mutation/content.jsx index 005145a0a5c..713b39eb635 100644 --- a/swan-lake/by-example/xml-mutation/content.jsx +++ b/swan-lake/by-example/xml-mutation/content.jsx @@ -52,7 +52,7 @@ export function XmlMutation({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=cd35f6c295238c2b0abe488c0ace2bbc&file=xml_mutation.bal", + "https://play.ballerina.io/?gist=de6477892b4e5808b81670c5efe19c54&file=xml_mutation.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-namespaces/content.jsx b/swan-lake/by-example/xml-namespaces/content.jsx index 4bf85e5382a..d77b1f0dad8 100644 --- a/swan-lake/by-example/xml-namespaces/content.jsx +++ b/swan-lake/by-example/xml-namespaces/content.jsx @@ -51,7 +51,7 @@ export function XmlNamespaces({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=565bf1d74d13c86f05eda24af12378e2&file=xml_namespaces.bal", + "https://play.ballerina.io/?gist=4d125f43450842a1807704a9173cc622&file=xml_namespaces.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-navigation/content.jsx b/swan-lake/by-example/xml-navigation/content.jsx index a591ee010e6..dc0ae519a80 100644 --- a/swan-lake/by-example/xml-navigation/content.jsx +++ b/swan-lake/by-example/xml-navigation/content.jsx @@ -85,7 +85,7 @@ export function XmlNavigation({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=af23165a718a776e6f83228cfb2fbdb3&file=xml_navigation.bal", + "https://play.ballerina.io/?gist=38779a1a6a9fb5e3290dccc74af03029&file=xml_navigation.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-operations/content.jsx b/swan-lake/by-example/xml-operations/content.jsx index 45a444011b3..b30bdf3d939 100644 --- a/swan-lake/by-example/xml-operations/content.jsx +++ b/swan-lake/by-example/xml-operations/content.jsx @@ -59,7 +59,7 @@ export function XmlOperations({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=c0cd42a2ec6f78ea04078d214ca873c8&file=xml_operations.bal", + "https://play.ballerina.io/?gist=20f3ed52b3da70f9979ed6b1187a57b5&file=xml_operations.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-subtyping/content.jsx b/swan-lake/by-example/xml-subtyping/content.jsx index 5aca0cfa726..ff13e1b1d8f 100644 --- a/swan-lake/by-example/xml-subtyping/content.jsx +++ b/swan-lake/by-example/xml-subtyping/content.jsx @@ -128,7 +128,7 @@ export function XmlSubtyping({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=f512cd784ced9ebafa2c0979c2d19aae&file=xml_subtyping.bal", + "https://play.ballerina.io/?gist=869bed2f9e69d1325826f4f1fdc70a7c&file=xml_subtyping.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-templates-and-query/content.jsx b/swan-lake/by-example/xml-templates-and-query/content.jsx index 97e7766d5ff..3c621daaa71 100644 --- a/swan-lake/by-example/xml-templates-and-query/content.jsx +++ b/swan-lake/by-example/xml-templates-and-query/content.jsx @@ -55,7 +55,7 @@ export function XmlTemplatesAndQuery({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=e3a7de6dd86626c7aba0ea897475a395&file=xml_templates_and_query.bal", + "https://play.ballerina.io/?gist=bfcb4b1cf46093d6cb0fe5ea7e5ef9c5&file=xml_templates_and_query.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-templates/content.jsx b/swan-lake/by-example/xml-templates/content.jsx index a9a7119b726..a9c968e5bdb 100644 --- a/swan-lake/by-example/xml-templates/content.jsx +++ b/swan-lake/by-example/xml-templates/content.jsx @@ -58,7 +58,7 @@ export function XmlTemplates({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=5f06301a0aeac3bc0d2b0e8524544e49&file=xml_templates.bal", + "https://play.ballerina.io/?gist=06874549c766132b9835c5ca0031b25b&file=xml_templates.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-to-json-conversion/content.jsx b/swan-lake/by-example/xml-to-json-conversion/content.jsx index bf929ee0171..ef0a2cf4f42 100644 --- a/swan-lake/by-example/xml-to-json-conversion/content.jsx +++ b/swan-lake/by-example/xml-to-json-conversion/content.jsx @@ -62,7 +62,7 @@ export function XmlToJsonConversion({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=685d691f9106dc0a69648dc2c859bec5&file=xml_to_json_conversion.bal", + "https://play.ballerina.io/?gist=dbe71f960c6dac6b0c8094301f09a839&file=xml_to_json_conversion.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xml-to-record-conversion/content.jsx b/swan-lake/by-example/xml-to-record-conversion/content.jsx index 227d539641d..eeef0af57a7 100644 --- a/swan-lake/by-example/xml-to-record-conversion/content.jsx +++ b/swan-lake/by-example/xml-to-record-conversion/content.jsx @@ -86,7 +86,7 @@ export function XmlToRecordConversion({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=796c7cfee8fd49d4236f83a113667210&file=xml_to_record_conversion.bal", + "https://play.ballerina.io/?gist=d9130a6f09a815884882d3619b200bed&file=xml_to_record_conversion.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xmlns-declarations/content.jsx b/swan-lake/by-example/xmlns-declarations/content.jsx index eff486e7504..0c9cc6fd941 100644 --- a/swan-lake/by-example/xmlns-declarations/content.jsx +++ b/swan-lake/by-example/xmlns-declarations/content.jsx @@ -69,7 +69,7 @@ export function XmlnsDeclarations({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=a8fcdbae963b65a560c910b94b065a6e&file=xmlns_declarations.bal", + "https://play.ballerina.io/?gist=be43d80ce14b41d49c8e83e95b6ad7a1&file=xmlns_declarations.bal", "_blank", ); }} diff --git a/swan-lake/by-example/xslt-transformation/content.jsx b/swan-lake/by-example/xslt-transformation/content.jsx index 943f4ebde75..3542fdcdaaf 100644 --- a/swan-lake/by-example/xslt-transformation/content.jsx +++ b/swan-lake/by-example/xslt-transformation/content.jsx @@ -106,7 +106,7 @@ export function XsltTransformation({ codeSnippets }) { className="bg-transparent border-0 m-0 p-2 ms-auto" onClick={() => { window.open( - "https://play.ballerina.io/?gist=9969bfddbb473080ff3cfc9bb0f932dc&file=xslt_transformation.bal", + "https://play.ballerina.io/?gist=5bd6dedfa0732991e4fda7bf21c3839c&file=xslt_transformation.bal", "_blank", ); }}