Skip to content

Commit

Permalink
Reworking generator ids (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel authored Aug 10, 2024
1 parent c890f38 commit afd8859
Show file tree
Hide file tree
Showing 23 changed files with 1,891 additions and 2,026 deletions.
574 changes: 287 additions & 287 deletions providers/pulumi_wasm_provider_docker/wit/world.wit

Large diffs are not rendered by default.

574 changes: 287 additions & 287 deletions providers/pulumi_wasm_provider_docker_rust/wit/world.wit

Large diffs are not rendered by default.

238 changes: 119 additions & 119 deletions providers/pulumi_wasm_provider_random/wit/world.wit
Original file line number Diff line number Diff line change
@@ -1,229 +1,229 @@
package pulumi:%random@4.15.0-ZERO.ZERO.ZERO-DEV;
package pulumi:random@4.15.0-ZERO.ZERO.ZERO-DEV;

world %random-pulumi {
world random-pulumi {
import component:pulumi-wasm/register-interface@0.0.0-DEV;
export %random-bytes;
export %random-id;
export %random-integer;
export %random-password;
export %random-pet;
export %random-shuffle;
export %random-string;
export %random-uuid;
export random-bytes;
export random-id;
export random-integer;
export random-password;
export random-pet;
export random-shuffle;
export random-string;
export random-uuid;
}

world %random-pulumi-client {
import %random-bytes;
import %random-id;
import %random-integer;
import %random-password;
import %random-pet;
import %random-shuffle;
import %random-string;
import %random-uuid;
world random-pulumi-client {
import random-bytes;
import random-id;
import random-integer;
import random-password;
import random-pet;
import random-shuffle;
import random-string;
import random-uuid;
}

interface %random-bytes {
interface random-bytes {

use component:pulumi-wasm/output-interface@0.0.0-DEV.{output};

record args {
%keepers: borrow<output>,
%length: borrow<output>,
keepers: borrow<output>,
length: borrow<output>,
}

record res {
%base64: output,
%hex: output,
%keepers: output,
%length: output,
base64: output,
hex: output,
keepers: output,
length: output,
}

invoke: func(name: string, args: args) -> res;

}

interface %random-id {
interface random-id {

use component:pulumi-wasm/output-interface@0.0.0-DEV.{output};

record args {
%byte-length: borrow<output>,
%keepers: borrow<output>,
%prefix: borrow<output>,
byte-length: borrow<output>,
keepers: borrow<output>,
prefix: borrow<output>,
}

record res {
%b64-std: output,
%b64-url: output,
%byte-length: output,
%dec: output,
%hex: output,
%keepers: output,
%prefix: output,
b64-std: output,
b64-url: output,
byte-length: output,
dec: output,
hex: output,
keepers: output,
prefix: output,
}

invoke: func(name: string, args: args) -> res;

}

interface %random-integer {
interface random-integer {

use component:pulumi-wasm/output-interface@0.0.0-DEV.{output};

record args {
%keepers: borrow<output>,
%max: borrow<output>,
%min: borrow<output>,
%seed: borrow<output>,
keepers: borrow<output>,
max: borrow<output>,
min: borrow<output>,
seed: borrow<output>,
}

record res {
%keepers: output,
%max: output,
%min: output,
keepers: output,
max: output,
min: output,
%result: output,
%seed: output,
seed: output,
}

invoke: func(name: string, args: args) -> res;

}

interface %random-password {
interface random-password {

use component:pulumi-wasm/output-interface@0.0.0-DEV.{output};

record args {
%keepers: borrow<output>,
%length: borrow<output>,
%lower: borrow<output>,
%min-lower: borrow<output>,
%min-numeric: borrow<output>,
%min-special: borrow<output>,
%min-upper: borrow<output>,
%number: borrow<output>,
%numeric: borrow<output>,
%override-special: borrow<output>,
%special: borrow<output>,
%upper: borrow<output>,
keepers: borrow<output>,
length: borrow<output>,
lower: borrow<output>,
min-lower: borrow<output>,
min-numeric: borrow<output>,
min-special: borrow<output>,
min-upper: borrow<output>,
number: borrow<output>,
numeric: borrow<output>,
override-special: borrow<output>,
special: borrow<output>,
upper: borrow<output>,
}

record res {
%bcrypt-hash: output,
%keepers: output,
%length: output,
%lower: output,
%min-lower: output,
%min-numeric: output,
%min-special: output,
%min-upper: output,
%number: output,
%numeric: output,
%override-special: output,
bcrypt-hash: output,
keepers: output,
length: output,
lower: output,
min-lower: output,
min-numeric: output,
min-special: output,
min-upper: output,
number: output,
numeric: output,
override-special: output,
%result: output,
%special: output,
%upper: output,
special: output,
upper: output,
}

invoke: func(name: string, args: args) -> res;

}

interface %random-pet {
interface random-pet {

use component:pulumi-wasm/output-interface@0.0.0-DEV.{output};

record args {
%keepers: borrow<output>,
%length: borrow<output>,
%prefix: borrow<output>,
%separator: borrow<output>,
keepers: borrow<output>,
length: borrow<output>,
prefix: borrow<output>,
separator: borrow<output>,
}

record res {
%keepers: output,
%length: output,
%prefix: output,
%separator: output,
keepers: output,
length: output,
prefix: output,
separator: output,
}

invoke: func(name: string, args: args) -> res;

}

interface %random-shuffle {
interface random-shuffle {

use component:pulumi-wasm/output-interface@0.0.0-DEV.{output};

record args {
%inputs: borrow<output>,
%keepers: borrow<output>,
%result-count: borrow<output>,
%seed: borrow<output>,
inputs: borrow<output>,
keepers: borrow<output>,
result-count: borrow<output>,
seed: borrow<output>,
}

record res {
%inputs: output,
%keepers: output,
%result-count: output,
%results: output,
%seed: output,
inputs: output,
keepers: output,
result-count: output,
results: output,
seed: output,
}

invoke: func(name: string, args: args) -> res;

}

interface %random-string {
interface random-string {

use component:pulumi-wasm/output-interface@0.0.0-DEV.{output};

record args {
%keepers: borrow<output>,
%length: borrow<output>,
%lower: borrow<output>,
%min-lower: borrow<output>,
%min-numeric: borrow<output>,
%min-special: borrow<output>,
%min-upper: borrow<output>,
%number: borrow<output>,
%numeric: borrow<output>,
%override-special: borrow<output>,
%special: borrow<output>,
%upper: borrow<output>,
keepers: borrow<output>,
length: borrow<output>,
lower: borrow<output>,
min-lower: borrow<output>,
min-numeric: borrow<output>,
min-special: borrow<output>,
min-upper: borrow<output>,
number: borrow<output>,
numeric: borrow<output>,
override-special: borrow<output>,
special: borrow<output>,
upper: borrow<output>,
}

record res {
%keepers: output,
%length: output,
%lower: output,
%min-lower: output,
%min-numeric: output,
%min-special: output,
%min-upper: output,
%number: output,
%numeric: output,
%override-special: output,
keepers: output,
length: output,
lower: output,
min-lower: output,
min-numeric: output,
min-special: output,
min-upper: output,
number: output,
numeric: output,
override-special: output,
%result: output,
%special: output,
%upper: output,
special: output,
upper: output,
}

invoke: func(name: string, args: args) -> res;

}

interface %random-uuid {
interface random-uuid {

use component:pulumi-wasm/output-interface@0.0.0-DEV.{output};

record args {
%keepers: borrow<output>,
keepers: borrow<output>,
}

record res {
%keepers: output,
keepers: output,
%result: output,
}

Expand Down
Loading

0 comments on commit afd8859

Please sign in to comment.